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.
Solved! Go to Solution.
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.
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).
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}
There's no anchor (as in HTML <a> tag) being output here that I can see.
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.
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.
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.
I got the link for emit URL but mkt_tok related article I am not able to find. can you please share the link?
I have included as ?mkt_tok=##MKT_TOK## but still I can not see visited web page link details report in Marketo.