SOLVED

Re: Malformed Link Creation using Velocity Script

Go to solution
Jay00031987
Level 4

Re: Malformed Link Creation using Velocity Script

thanks for the details but I am still facing the same issue. In email editor preview the correct value is displayed but as soon as I open the link from my inbox it is not working. 

Jay00031987_0-1647763044998.png

Jay00031987_0-1647763288109.png

 

 

Jay
Jo_Pitts1
Level 10 - Community Advisor

Re: Malformed Link Creation using Velocity Script

@Jay00031987,

what does the current code look like?

What is the link that you get in your inbox look like (just to confirm the problem hasn't changed along the way)

Cheers

Jo

Jay00031987
Level 4

Re: Malformed Link Creation using Velocity Script

#set( $UTM = $lead.encryptedID )
#set( $encryptedValue = $esc.url($UTM))
${encryptedValue}

above is the velocity code and inbox URL start with Domain Name/dcn/Marketo encrypted code

and the preview URL in email editor with specific person(jay00031987@xyz.com) based is http://www.google.com?UTM=niuwtv%2FX6QbChEVV46iplJEmx02eOtwqJzG%2Fnm9fmYouZwADkHr%2BMg%3D%3D 

and mktNoTok is being used in the hyperlink. 

Jay
Darshil_Shah1
Level 10 - Community Advisor

Re: Malformed Link Creation using Velocity Script

I'm still getting the correct UTM parameter value in both the email preview and the actual email sent from Marketo.

 

E-mail preview tab

Darshil_Shah1_0-1647858133799.png

 

E-mail in the inbox of a test record

Darshil_Shah1_1-1647858158979.png

 

On clicking the CTA from E-mail

Darshil_Shah1_2-1647858178085.png

 

Are you adding the "?UTM=" directly in the URL editor in Marketo?

Jay00031987
Level 4

Re: Malformed Link Creation using Velocity Script

Yup! please refer below image

Jay00031987_0-1647869238100.png

Also, I see the given example for your URL is not converting + sign in %20 but when we use the velocity token it does. it look like you are not using velocity token in the URL. are you using lead token only in UTM?  

Jay
Darshil_Shah1
Level 10 - Community Advisor

Re: Malformed Link Creation using Velocity Script

Thanks for sharing that! I’m not referencing any lead token in the link - just the velocity token.

Darshil_Shah1_0-1647871457570.png

 

Jay00031987
Level 4

Re: Malformed Link Creation using Velocity Script

It look like same approach is working at your system but in my system I am facing issue. does Adobe support can help to sort this issue?

Jay
SanfordWhiteman
Level 10 - Community Moderator

Re: Malformed Link Creation using Velocity Script


It look like same approach is working at your system but in my system I am facing issue. does Adobe support can help to sort this issue?

Doubtful (though not impossible) that your system is behaving differently.

 

Earlier you said you’d added class mktNoTok to the link. You want mktNoTrack.