Highlighted

Sitecatalyst page load events persiting

Rookie Contributor

Why do page load events persists in sitecatalyst during a utag.track('link'). 

 

I.e

 

i have a UDO variable which sets a sitecatalyst event called event1. However on the same page after the page loads,

 

i click a button which triggers another event 'let's say event2', but in the sitecatalyst this is represented as event2,event1.

 

How do i stop this from happening?

3 REPLIES 3
Highlighted

Sitecatalyst page load events persiting

Rookie Contributor
Without knowing much about your current solution, if it's AJAX etc. you will experience that the events, props and evars can stay consistent through the pages and set each and every single time. You could use the "Run clearVars" or the s.abort function for sitecatalyst after the event is fired off. That will ideally delete all parameters before event2 is called and send a brand new tracking request. But please do check that you are receiving the correct values in the second call after setting s.abort/clearVars. There is a better explanation here: https://webanalyticsfordevelopers.com/2013/09/03/the-s-abort-flag/
Highlighted

Sitecatalyst page load events persiting

Employee Emeritus

Hello @marius_shehati@waqas_rafiq is correct. Let us know if you have any other questions. 

 

Thank you @waqas_rafiq for the answer!

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Highlighted

Sitecatalyst page load events persiting

Silver Contributor
Silver Contributor

It is standard behaviour. But clearVars() helps. There is a checkbox in the Adobe Analytics tag configuration in Tealium, just tick it. In my case it works.