Highlighted

Is there a way to call extensions after each utag.view/link, like a reset function?

Silver Contributor
Silver Contributor

Hi there,

 

we sometimes come across issues where a tag deployed via Tealium still contains "old" information from previous utag.link calls when a manualy utag.view call is being made.

 

E.g. we use SiteCatalyst for tracking and clicks on some UI elements do not lead away from the page and only open overlays. Interaction with these is tracked using utag.link which sets some additional properties in the SiteCatalyst library.

 

However, there are other UI elements which being clicked on rather call utag.view which in the case of SiteCatalyst sends all information that's being stored in the library at that point which may now contain clicktracking data.

 

Is there a way (e.g. a callback I can define) to call a custom clean up code after each utag.link/view call has been made? Like a utag.reset function that can be filled with meaningful code by every tag? As far as I can see the extension scopes all only cover the time before the utag call but not afterwards. 

 

Thanks for any input.

 

2 REPLIES 2
Highlighted

Is there a way to call extensions after each utag.view/link, like a reset function?

Employee Emeritus

@bjoern_koth,

 

Regarding SiteCatalyst, there is a "Run clearVars" or "Clear Vars" setting in your Tag Configurations.  When set to "Yes", it will clear your eVars/props each time there was a track call made.

 

SiteCatalyst basic configurations

 

If you are running on version 4.38 and up, you can take advantage of the "Execution" feature for "All Tags" scoped extensions.  You can change extensions to run "After Tags" (e.g. you may reset or blank out variables after a specific track call is made)

 

4.38 release notes

 

Hope this helps!

Highlighted

Is there a way to call extensions after each utag.view/link, like a reset function?

Silver Contributor
Silver Contributor
Awesome! Exactly what I was looking for. Thx a lot!