Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all,
Got a bit of a strange one. We have an age verification popup on our website and there is talk of testing a marketing popup to launch after the age verification one to promote email signups and boost our conversion rate a bit.
We haven't been able to get them both working at the same time. We are using an age verification app and then mailchimp for the popup and there seems to be a bit of a clash and we can't get it to work. I know its not best practice to have multiple popups but it is something we are looking to test and wondering if anyone knows a way to resolve this.
Thank ya!
Hi @AMcc
Not a strange question at all. But it does depend on which age verificatin pop-up you're using.
If you're using one of the many app options out there, then what you'll need to know is if they offer Javascript Events.
The only way to prevent collisions and instruct the marketing pop up to appear _after_ age confirmation is to programmatically listen for when the customer enters in a valid age into the verification pop-up.
If you're not using an app and instead are writing liquid directly, then you have more flexibility and can essentially chain the marketing pop up to appear _after_ the customers age has been accepted.
This also assumes that the marketing pop up solution you're looking at as a Javascript SDK so you can control when it appears.
Want to see it in action? Check out our demo store.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025