Track Logged In Status using Adobe Launch | Community
Skip to main content
Level 2
Jun 2, 2021 4:06 PM UTC
Solved

Track Logged In Status using Adobe Launch

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.
isinhaAccepted solution
Employee
Jun 3, 2021 8:21 AM UTC

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

cpahwa11Author
Level 2
Jun 3, 2021 8:24 AM UTC

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

 

Translate
isinhaAccepted solution
Employee
Jun 3, 2021 8:21 AM UTC

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!

Translate
atulsingh17
Level 2
Jun 2, 2021 5:21 PM UTC

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.

 

Translate