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

Tracking Whether User Logged in or not

Level 2
Level 2

I want to track whether pages are accessed while a user is logged in or not. Is Digital Data the best option for this? How do I access digital data values in Adobe Analytics for reporting purposes?


I saw several older posts with solutions using eVars? Is this still the best option?

2 Replies
Community Advisor
Community Advisor

By "Digital Data", I assume that you're referring to digitalData, a data layer that has traditionally been used with Adobe Analytics tracking.

If so, then digitalData doesn't really send data to AA. Rather, it's an intermediate (JavaScript) object between your website and the Adobe Analytics tracking code, AppMeasurement.js. Data are set in digitalData by the website and read by the implementation of AA's tracking code.

You'll need to speak with whoever implemented AA for you to figure out the best way to set a user's logged in state in digitalData, such that it can be tracked to AA. That is a custom implementation specific to your website.


I think, capturing the login state in an evar is still the best way to track users' login status.