SOLVED

Marketo report on velocity token

Go to solution
Jay00031987
Level 4

Marketo report on velocity token

Business pain point is to track click link on email and link is generated from velocity token. but in Marketo email performance report click details are null for velocity token URL. I was wondering what would be main reason for that.

Jay
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo report on velocity token

If you make the decision to use Velocity in the way you've shown, it's well-documented that Click Link doesn't happen (nor does the subsequent Visit Web Page get registered as a known session).

 

You can re-attach the mkt_tok to the link to get the Visit Web Page (I've written a lot about this if you search) but you can only get Click Link if you emit the entire anchor tag, from <a> through </a>, from Velocity.

View solution in original post

18 REPLIES 18
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo report on velocity token

You'll need to provide the code you're using to generate the link, and an example of the rewritten link (rewritten to go via the tracking server).

Jay00031987
Level 4

Re: Marketo report on velocity token

Hi @SanfordWhiteman 

In the given VTL four fields are used 


1. countryCode
2.productURL
3. date
4. productType

Please find the VTL code. 

 

#set( $defaultName = "#" )
#set( $counter = 0 )
#if( $CO_cList.isEmpty() )
#set( $DEFAULT_CTA = $defaultName )
#else
#foreach( $CO_c in $sorter.sort($CO_cList, "date:desc") )
#if( !$display.alt($CO_c["productURL"],"").isEmpty() && $CO_c["productType"]=="Product" && $CO_c["countryCode"]=="US")
#set( $outputName = $CO_c["productURL"] )
#set( $reference = $counter )
#break
#end
#set( $counter = $counter + 1)
#end
#set( $outputName = $display.alt($outputName, $DEFAULT_CTA) )
#end
${outputName}

 

 

Jay
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo report on velocity token

There's no anchor (as in HTML <a> tag) being output here that I can see.

Jay00031987
Level 4

Re: Marketo report on velocity token

Hi @SanfordWhiteman 

 

This is because, we used VTL token directly  in email template as below format

 

 

<a href="{{my.VTL}}" style="text-decoration: none; ">Click</a>

 

 

 In CO, there are N number of link. hence  evaluate is not used here.

Jay
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo report on velocity token

So you made the deliberate choice to not track the links... that's why they're not tracked.
Jay00031987
Level 4

Re: Marketo report on velocity token

Initially, it was tested with sample link and link was tracked as visited web page but now nothing is being tracked so looking for suggestion on same.

Jay
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo report on velocity token

If you make the decision to use Velocity in the way you've shown, it's well-documented that Click Link doesn't happen (nor does the subsequent Visit Web Page get registered as a known session).

 

You can re-attach the mkt_tok to the link to get the Visit Web Page (I've written a lot about this if you search) but you can only get Click Link if you emit the entire anchor tag, from <a> through </a>, from Velocity.

Jay00031987
Level 4

Re: Marketo report on velocity token

I got the link for emit URL but mkt_tok related article I am not able to find. can you please share the link? 

Jay
Jay00031987
Level 4

Re: Marketo report on velocity token

Hi @SanfordWhiteman 

 

I have included as ?mkt_tok=##MKT_TOK## but still I can not see visited web page link details report in Marketo.

Jay