Tracking Logged In or Off and User Membership Level Status, When to Set
Hello all.
Logged in/off Status Question
eVar expires at hit, so it doesn't matter the allocation (first, linear, last) and has to be set on each hit page load or web action.
Wondering of the implications to set either logged off or logged on every hit, comparing e.g. not having the value even present or populated in the data layer prior login, whats best for segmenting and overall usage?
I'm trying to visualize how it would be:
- Visitor arrives to site, set to 'logged off' default status in the data layer when landing on the page.
- Visitor authenticates, value changes to 'logged in'
- Visitor x's out and comes back after 40 mins or the next day, will it be set to logged in or off?
- Would devs read the ECID and automatically log the user in and keep the value for an arbitrary amount of time?
- How does the authentication status remains or changes?
User Membership Level Question
eVar expires at visit, most recent allocation, values: gold, silver, bronze.
As of now on the first page load is set as null in the data layer leading to Unspecified (I believe) or what value does null populates?
I'm thinking setting a value such as 'prospect' on first page load when the membership level is unknown, and then upon login set gold, silver or bronze accordingly.
Same as with login I'm trying to understand pros and cons between not setting/getting a value in/from the data layer until known, or set it as null versus requiring a value since the first hit such as 'prospect', what are the implications when analyzing such vars, values and creating segments, is it better to have all the hits 'required' for such use cases?
Thanks,
R