Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

ClearVar not clearing s.pageType

Avatar

Level 4

Hi Team,

 

 For an Single Page Application , we are using clearvar function to clear all variables after s.t call

 

https://experienceleague.adobe.com/docs/analytics/implementation/vars/functions/clearvars.html

 

But, what we found is , it is not clearing s.pageType. Is it the expected behaviour? my understanding was it should clear all variables.

1 Reply

Avatar

Community Advisor

There are a few variables that clearVars doesn't seem to clear 😞  I don't have a full list of them.

 

You could raise this as a ticket, but in the meantime, you could add a custom code block next to your clearVars that manually sets s.pageType="";