I would like to welcome new visitors with a specific pop-up. Knowing that they don’t have a logged in user yet, how may I identify them through their session/IP, so that they’re only displayed the pop-up once?
Thanks,
Patrick
I would like to welcome new visitors with a specific pop-up. Knowing that they don’t have a logged in user yet, how may I identify them through their session/IP, so that they’re only displayed the pop-up once?
Thanks,
Patrick
Hey, @pprasquier,
You can add a field on the User Data Type
onboarding
type yes/no
.
And have no
as default and when User’s onboarding is no
, show the popup. And when the user closes the popup, chance it to yes
, and the popup won’t show again
I use a similar method as the legendary @hacker, but I use a field called “Last Logged In” that gets updated when the user logs in again. This allows me to do a whole lot more stuff, but for your use case, when a user is created I leave this field empty so that the onboarding stuff only shows when the last logged-in field is empty. For that first update, I also do not give them a last logged-in date unless they either dismiss the onboarding protocol or complete the optional walkthrough steps. That way if someone does want to do the onboarding but they need to end their session, next time they log in they’ll be able to return to the onboarding.
Thanks, @hacker and @collinsbuckner1 But will those work for logged out users? I can’t see any record for new users (before they register). So how may I access their user’s attributes?
Using the conditional “if user isn’t logged in” is not an option, here, because I don’t want the onboarding the occur multiple times.
I’ve never used this plugin but I think this is when it would be useful:
I think it’s to store values as cookies in the users browser. So on site load it would check the locally stored value if the “onboarding” was done.
Thanks, @tylerboodman, it works like a charm