Cordial allows you to add a "friendly name" to your links so they will be easy to read in link performance reports.
Adding the data-crdl-key
attribute to your anchor tags allows you to name tracked links. The custom name will be displayed in the Link Performance UI and exported link performance reports. This is useful when you are tracking long URLs that are hard to differentiate from one another.
data-crdl-key
is not explicitly added, the href
value of your links is automatically used as the key and tracked under Link Performance.data-crdl-key
attribute. Links exceeding the 500 limit will not be tracked and sending will not be interrupted.Example link with data-crdl-key:
<a href="http://example.com/shoes/womens_promo" data-crdl-key="Women's Promotion Link">Link 1</a>
Example link without data-crdl-key:
<a href="http://example.com/shoes/mens_promo">Link 2</a>
The first example link will be tracked using the data-crdl-key
value and the second link will be tracked using the href
value:

Grouping similar links together:
You can track similar links together using the same data-crdl-key
value. This is helpful when using variables to generate unique links for every contact and you prefer to track the overall link category rather than individual unique links for every contact.
In the next article learn about link appends.
Comments
0 comments
Please sign in to leave a comment.