Here is my URL(removed identifying stuff): https://www.************.com/landing/wellbeing-adoption?utm_source=***-Wellness_1&utm_medium=Email&u...
This is the URL that is be displayed when I click on the CTA button: https://www.************.com/landing/wellbeing-adoption?utm_source=***-Wellness_1&utm_medium=Email&u...&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.
Solved! Go to Solution.
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>
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?
Yes, I'm using the email editor and a Marketo template; I added a screen grab bellow.
I had to create another boolean variable field to change the "mktNoTok" value to True
I'm guessing you had to edit the code to add that?
Yes - it's a template-level requirement
Yeah, I have not idea how to edit these templates without screwing everything up. Thank you for all your help!
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?
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.
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>