Highlighted

Adobe Analytics s.clearVars() Not working in Link Tracking Extension

Rookie Contributor

Hi All,

I've set Run ClearVars to Yes in Tag - Adobe analytics.
When I'm using Link Tracking Extensiion, I can still see page variables being sent. If I use custom section and add s.clearVars() again, It is ineffective. I'm unable to set custom variables on custom link calls. 

Does anyone else has ran into similar situaltion.? Kindly respond.
Thanks in advance!

Best,
AP

3 REPLIES 3
Highlighted

Adobe Analytics s.clearVars() Not working in Link Tracking Extension

Tealium Expert
Tealium Expert

Hi @puriabhi - do you see any errors in the browser inspector console?  Are you able run your use case through the debugger?  

 

One last question idea....  use the Tag Status Checker tool to be sure you're on the latest templates for the utag loader (and review the Adobe tag template as well if possible).  

 

I've had similar issues when my templates were drastically outdated.  And after updating old templates, suddenly things started working better!

 

Let us know how it goes...

Highlighted

Adobe Analytics s.clearVars() Not working in Link Tracking Extension

Rookie Contributor

@mitchellt - Thank you for response, however I reviewd console and there are no JS errors. Also looking into Tag Status - I can see all the templates are latest.

I reviewed documentation and found Link Tracking extension is depreceated. (Is it correct?).

In my case Run ClearVars() in Adobe Tag is ineffective, How do you suggest we clearVars() and updated additional variables (s.linkTrackVars) uing Link Tracking extensions? [We don't want to use clearVars() in doPlugins].

I also tested Jquery event handlers Extension - I encountered same issue if I set tracking = "link", also tested utag.link() but cannot clearVars() and set s.linkTrackVars.

Thanks in advance - 
Best,
AP

Highlighted

Adobe Analytics s.clearVars() Not working in Link Tracking Extension

Bronze Contributor
Bronze Contributor

Hi there! I have the same exact isue.

It seems that s.tl() when is beign called for the second time, it adds in the s.events the latest s call. Lets say that we send an s call with s.events = "event35", in the next s.tl() call we still have s.events = "event35" even if we execute s.clearVars() mannualy before sending the second request. We need a quick solution because we send events that we are not supposed to...

 

Thank you!

Alexandru Robert Comanescu