Forum Discussion
How to limit a modal from appearing on specific pages?
We have a modal on the website and currently it appears across all pages. I would like to limit the modal to only fire on the homepage and not the product pages or any other page. But I cannot figure out an option within the filters to make this happen? Any thoughts? We are on Shopify.
2 Replies
- LiorPelegMentor
What trigger are you using to display the in-app message?
If you’re sending an event (for example, “pageview”), make sure it includes properties with the URL or page name. For instance:
pagename: “homepage”
This will allow you to restrict the in-app display to events containing, for example: “homepage.”
- DavidOVisionary
Similar to LiorPeleg's reply, we have accessing our key pages linked to custom events. For example our home page is linked to a custom event called 'Project Page - Home' and our video editor page, 'Usage - Create Video' if they enter that page. This way we can use the pages as triggers and avoid website session start as the main trigger.
Related Content
- 7 months ago
- 2 months ago
- 2 years ago