SOLVED

Re: Remove mkt_tok from URLs in velocity script

Go to solution
AW001
Level 1

Remove mkt_tok from URLs in velocity script

Hello!

I am using velocity script to show recipients of emails a different meeting booking URL based on their sale owner. Everything works fine in preview - they see the correct links and can get through to the booking page. But as you soon as you send an actual test email - the booking links no longer work as Marketo adds the mkt_tok parameters to the URL which seems to break them. Seems like the links can't handle any parameters being added - they are Microsoft Booking tool links...

 

Any idea how I can stop the mkt_tok being added to the links...? 

 

Thanks!

 

A very shortened version of the v script I have...

 

#if ($lead.Lead_Owner_Email_Address.equals("email1"))
<a href="https://outlook.office365.com/owa/calendar/bookingperson1.onmicrosoft.com/bookings/">Jetzt Termin vereinbaren</a>

 

#else
##Output for everyone else
<a href="https://outlook.office365.com/owa/calendar/bookingperson2.onmicrosoft.com/bookings/">Jetzt Termin vereinbaren</a>
#end

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Remove mkt_tok from URLs in velocity script

Add

class="mktNoTok"

just as you would outside of Velocity.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Remove mkt_tok from URLs in velocity script

Add

class="mktNoTok"

just as you would outside of Velocity.

AW001
Level 1

Re: Remove mkt_tok from URLs in velocity script

Thank you!!