How to remove the mkt_tok query parameter added to the end of my CTA Button URL? | Community
Skip to main content
January 23, 2018
Solved

How to remove the mkt_tok query parameter added to the end of my CTA Button URL?

  • January 23, 2018
  • 2 replies
  • 9571 views

Here is my URL(removed identifying stuff): www.************.com/landing/wellbeing-adoption?utm_source=***-Wellness_1&utm_medium=Email&utm_campaign=Wellbeing_Adoption_2

This is the URL that is be displayed when I click on the CTA button: www.************.com/landing/wellbeing-adoption?utm_source=***-Wellness_1&utm_medium=Email&utm_campaign=Wellbeing_Adoption_2&mkt_tok=eyJpIjoiTm1Oa05XRXdabUkxTUdVdyIsInQiOiJIQzUyVVpnY3JPN1NWYlNBR2x6Y1VSSkhyZDlrc1pDQmlTNm10TDJ3Y1FqbngyVUZTZEE1b3RQOGxMYkQ2TUZtWkZzKzg0OFJCXC9MMGI1UEo4QlN5TEE9PSJ9

I can remove this when using the link editor while in a text box but I can't figure out how to drop it in the CTA button.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JDNelson1

Just for reference of anyone else finding this thread -- the correct syntax to use is:

In the header:

<meta class="mktoBoolean" id="mktNoTok" mktoName="Disable Marketo Token?" default="false" false_value="" true_value="mktNoTok" false_value_name="NO" true_value_name="YES" mktoModuleScope="true">

In the body:

<a class="${mktNoTok}" href="xyz.com">Link</a>

2 replies

SanfordWhiteman
New Participant
January 23, 2018

The mkt_tok is critical for tracking. Without it, a person clicking a Marketo email will not have a Munchkin session associated with their lead -- they will remain anonymous.

Why exactly are you trying to remove this parameter?

Community Manager
January 23, 2018

I've had to add mktNoTok="true" class to some of my links, but that's only been when sending to a third party that doesn't support it (and it really isn't needed at that point anyway) -- but agreed, if this is all on the same domain seems peculiar to remove.

JDNelson1Accepted solution
Community Manager
January 23, 2018

Just for reference of anyone else finding this thread -- the correct syntax to use is:

In the header:

<meta class="mktoBoolean" id="mktNoTok" mktoName="Disable Marketo Token?" default="false" false_value="" true_value="mktNoTok" false_value_name="NO" true_value_name="YES" mktoModuleScope="true">

In the body:

<a class="${mktNoTok}" href="xyz.com">Link</a>

Community Manager
January 23, 2018

There's a few different ways you could have coded this, and each will have a different solution. Can you provide some context to your 'CTA button'? Is it a module in Email Editor 2.0?

January 23, 2018

Yes, I'm using the email editor and a Marketo template; I added a screen grab bellow.

Community Manager
January 23, 2018

I had to create another boolean variable field to change the "mktNoTok" value to True