Page Load Rule and s.clearvars Question
I have a rule that sets variables for adobe analytics on my global page load rule on page top. then I set the s.t() beacon on windows loaded because I have Dun and Bradstreet firing data API collection in between. What would happen if I remove the s.clearvars after the s.t() beacon fires on windows loaded?
The reason I ask is because another extension (Qualitrics) needs access to the global variables here: s_c_il[1].eVar1 but since I clearvars they are undefined after windows loaded.
Questions:
- Do I even need clearvars after I send a beacon for page load collection? wont the values get overwritten on the next page with the new values anyway? I dont have SPA pages so that is not a concern.
- Can I set clearvars at the beginning of the next page instead of clearing vars after the beacon?
I just want to better understand the potential impacts before making changes.
