Skip to main content
Level 1
September 1, 2023
Répondu

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="outlook.office365.com/owa/calendar/bookingperson1.onmicrosoft.com/bookings/">Jetzt Termin vereinbaren</a>

 

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

Ce sujet a été fermé aux réponses.
Meilleure réponse par SanfordWhiteman

Add

class="mktNoTok"

just as you would outside of Velocity.

2 commentaires

SanfordWhiteman
Level 10
September 1, 2023

Add

class="mktNoTok"

just as you would outside of Velocity.

AmyWa5Auteur
Level 1
September 4, 2023

Thank you!!