Track Logged In Status using Adobe Launch | Community
Skip to main content
Level 2
June 2, 2021
Solved

Track Logged In Status using Adobe Launch

  • June 2, 2021
  • 3 replies
  • 1432 views

Hi,

 

I want to know the Steps in Adobe Launch to track the logged in or Logged out status of User

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 isinha

Adding to Atul's comment, you can use Data Element to retrieve the value of the logged in status and store it any Analytics variable during a Page Load rule.

Let me know if that helps!

3 replies

atulsingh17
Level 2
June 2, 2021

Hi @cpahwa11 ,

I would first check the current state of the user using a JavaScript function to get value of username field. If it's guest (default value), I'll set value in datalayer as "not logged in", anything other than guest, that means, users is logged in, hence setting "logged in" as value in data layer (depending upon how username is set).

May be you can create a JS function that retrieves value of username everytime page loads and call that function your pageload call.

 

isinhaAdobe EmployeeAccepted solution
Adobe Employee
June 3, 2021

Adding to Atul's comment, you can use Data Element to retrieve the value of the logged in status and store it any Analytics variable during a Page Load rule.

Let me know if that helps!

cpahwa11Author
Level 2
June 3, 2021

Hi Atul,

 

I am new to the Adobe Analytics, I need step by step of it, like what code to be added for data layer and the what data element and rules to be added.

 

Would be great if you can provide that.

 

Thanks