Tracking Whether User Logged in or not | Community
Skip to main content
bobc76334831
Level 2
December 1, 2021
Solved

Tracking Whether User Logged in or not

  • December 1, 2021
  • 3 replies
  • 3221 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

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.

3 replies

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
December 1, 2021

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.

khurshid
Adobe Employee
Adobe Employee
December 16, 2021

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

Level 4
February 4, 2022

Hey @bobc76334831 You can ask your developers to pass the values as loggedin or not logged in to the object  digitialdata.loginstatus. Then within Adobe Launch copy the value to an evar/prop as loggedin or notloggedin and then you can view the reports within Adobe Analytics.