Expand my Community achievements bar.

ClearVars to clear context data variables

Avatar

Employee

8/5/20

Currently, clearVars does not clear variable values of a context data variable.

We are assigning some context data variables to send in a beacon. But we have multiple beacons fired on the same page, and we are seeing the same context data variables are being sent every time and not being cleared.

I know, the recommended way would be to use ManageVars plugin to clean up the value of multiple variables including context data variables.

However, it would be great to simplify the task and add context data variables in clearVars function too.

 

To add on the above enhancement, I would like to clarify if there is any recommended and safe way to clear the context data without interfering with how Adobe Analytics uses context data for activity map.