Highlighted

Channels Extension doesn't work on utag.link event calls?

nicolas_kaufman
Bronze Contributor
Bronze Contributor nicolas_kaufman

Hi all

 

I have a very specific problem: I configured the channels extension to get a basic version of campaign touchpoint tracking in Webtrends. However, as soon as the load rule for publishing the values is set to an utag.link event instead of "All Pages", the values are not published to the data layer any more. Looking inside utag.data via console brings "undefined" for the extension's variables after the repective utag.link call was fired.

 

Could it be that the Channels Extension only works with utag.view events? If so: Is there a way to change this? The application I want to measure is ajax based so I have no other choice...

 

Thank you for your input!

 

Best Regards,

Nicolas

2 REPLIES 2

Channels Extension doesn't work on utag.link event calls?

brian_kranson
Employee Emeritus
brian_kranson

@nicolas_kaufman You are correct, the channels extension only works with utag.view calls and currently there is no way to change this.  

Channels Extension doesn't work on utag.link event calls?

Tealium Employee

@nicolas_kaufman

 

So there is away that you can do this, if you really need it to be done. I would recommend that you speak to your Account Manager about it first. But in essence what you can do is:

 

 

 

//JS Extension

if ("link" == a /*&& Some other condition*/) {
  b.was_view = !0;
  a = "view";
}

 

 

//Channels Extension

 

 

//JS Extension
if (b.was_view) {
  b.was_view = !1;
  a = "link";
}

 

 

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.