Basically I want to show a banner to users letting them know the app has been updated. I want to add a link action to perform a hard refresh of the current page. So I’d like to use something like {current_page}?app=refresh.
Answered
Is there a way to capture a visitor's current page as an attribute?
Best answer by Daniel M15
Hey
We don’t surface the user’s current page URL as a dynamic variable, however, you should be able to achieve this by:
- Setting up a custom attribute “current URL”.
- Populating this attribute with the current page URL in your login snippet, for each page that the Messenger is installed on.
That way, each time the user ‘ping’s us (i.e., when they log in or are updated), you’ll know the most recent URL they visited. You can use this new custom attribute then as a dynamic variable in your messaging 🙌
Hope this helps!
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.