Link tracking Extension is not working as expected

aditya_united
Rookie Contributor
aditya_united

How the Tealium's link tracking extension work, i have visited https://community.tealiumiq.com/t5/iQ-Tag-Management/Link-Tracking-Extension/ta-p/13729, but it wasn't of much help.

Please suggest the steps to publish a simple extension for such tracking and also let me know about the sample call structure for such event.

Thanks

1 REPLY 1
Highlighted

Link tracking Extension is not working as expected

Tealium Employee

HI @aditya_united 

The extension outputs the following 4 variables:

  • event_name - This is the value you specify in the Event Name field.
  • link_url - This is the web address that links to a webpage or file (eg "www.example.com")
  • link_text - This is the text string displayed for the URL. (eg "click here")
  • link_type - "link" or "download" depending on the type
You can then use these to send a tracking call in the Custom Handling section by referencing the "data" object
utag.link({
"event_name": data.event_name
"link_url": data.link_url,
"link_text": data.link_text,
"link_type": data.link_type
});