Skip to main content
Solved

PX for Guest / Anonymous Users

  • February 6, 2025
  • 1 reply
  • 22 views

Alistair FIeld
Forum|alt.badge.img+2

I am looking for guidance on creating PX engagements for guest users.

I would like to use a dialogue to prompt users to Log In when they arrive on the events page and are NOT logged in.

 

Any ideas Gainsight Team.

 

Thanks 

Alistair

Best answer by link_black

Thanks for posting to PX Community ​@Alistair FIeld !

 

Only identified users can be shown an in-app Engagement using PX, not anonymous users.

Our PX customers use the PX Identify JavaScript code in their application to identify their users with a minimum of a unique user id (identifyId).

 

For your use case, you could ask your development team to assign a generic user id (identifyId) to these anonymous users and call the required PX Identify JavaScript code when the land on the events page and have not logged in.  Doing this will enable the now identified user to see in-app Engagements.

 

Then, you can create a PX Engagement to target the users that land on the events page AND have that  generic user id (identifyId) in the Engagement Audience Logic.  You would also need to set up the Engagement Qualification Scope to play once per visit/session so it is available for any other anonymous user that qualifies.

 

Most importantly, once the user logs in, you need to ensure that your development team calls the PX Identify JavaScript code again with the correct user id (identifyId) and other PX User/Account attributes.  This will ensure that these now properly identified users are tracked separately from the “generic user” in PX Analytics.

 

I hope this helped.

 

Happy PX-ing!!!!

 

 

 

View original
Did you find this topic helpful?

1 reply

link_black
Forum|alt.badge.img+2
  • Gainsight Employee ⭐️⭐️
  • 316 replies
  • Answer
  • February 6, 2025

Thanks for posting to PX Community ​@Alistair FIeld !

 

Only identified users can be shown an in-app Engagement using PX, not anonymous users.

Our PX customers use the PX Identify JavaScript code in their application to identify their users with a minimum of a unique user id (identifyId).

 

For your use case, you could ask your development team to assign a generic user id (identifyId) to these anonymous users and call the required PX Identify JavaScript code when the land on the events page and have not logged in.  Doing this will enable the now identified user to see in-app Engagements.

 

Then, you can create a PX Engagement to target the users that land on the events page AND have that  generic user id (identifyId) in the Engagement Audience Logic.  You would also need to set up the Engagement Qualification Scope to play once per visit/session so it is available for any other anonymous user that qualifies.

 

Most importantly, once the user logs in, you need to ensure that your development team calls the PX Identify JavaScript code again with the correct user id (identifyId) and other PX User/Account attributes.  This will ensure that these now properly identified users are tracked separately from the “generic user” in PX Analytics.

 

I hope this helped.

 

Happy PX-ing!!!!

 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings