Seeing eVars applied to wrong pages when using WebSDK | Community
Skip to main content
July 27, 2023
Question

Seeing eVars applied to wrong pages when using WebSDK

  • July 27, 2023
  • 1 reply
  • 477 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 2
July 28, 2023

UseThe s.clearVars('eVar12') Function

 

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