Expand my Community achievements bar.

Seeing eVars applied to wrong pages when using WebSDK

Avatar

Level 1

Hi not sure if this is the right place or not but I've implemented a page scroll event using Adobe Launch only on my article templates which sets the scroll depth value to eVar12 and sends it to Analytics using the webSDK XDM Schema. But when I change to another page which uses a different template (no scroll depth events) I am seeing the same eVar being set for that page (and every page afterwards) in my Analytics Data. Is there something I should be doing to clear the webSDK after an event has fired?

1 Reply

Avatar

Level 3

UseThe s.clearVars('eVar12') Function

 

Note: clearVars() is included in AppMeasurement for JavaScript but is not available in H code and previous versions