What is the recommended approach to clear variables after a send event action, similar to the Adobe Analytics extension "Clear Variables"?
I am not using xdm model, but using the data object in the web sdk extension to send data. I'm understanding something incorrectly or just not finding the answer I am looking for.
Views
Replies
Total Likes
After doing some testing with the 'clear existing value' within the action 'Adobe Experience Platform Web SDK - Update variable', this seems to be clearing the object as expected.
Can anyone confirm if this option is precisely what I was initially describing and looking for relating to the AA "clear variables" action?
Views
Replies
Total Likes
Hi @mmasonWD
as described above, this should be the way to solve your issue / answer your question.
Yes, there is no dedicated clear vars action anymore, and the key is finding the right rule / spot where you want to empty the data object.
Views
Replies
Total Likes
Hi @mmasonWD
in the Update Variable action, you can check the checkbox that resets the complete variable before you apply the variable there changes in that same action.
Where and how to use this depends a little on your implementation.
i typically use the Adobe Client Data Layer as data layer and define a rule that listens to any event that is being pushed as entry point to reset my Web SDK variable and initialize it with analytics props and eVars that are used in every tracking call.
Then, my other rules listen to specific ACDL events e.g., a page view and update the variable with contextual information that shall only be applied to this specific use case like a page name.
So, for me the reset is fired at the beginning of any named event that is pushed into the ACDL.
Views
Likes
Replies
Views
Likes
Replies