08-08-2016 02:16 AM - edited 08-08-2016 05:32 AM
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.
Solved! Go to Solution.
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.
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)
Hope this helps!