Shopify Forms trigger condition to support url query param

I’d like to be able to not trigger Shopify Forms when a url param is detected. Here’s the user case:

  • We use Shopify forms to pop up a sign-up for 10% off.
  • We also use Meta Ads, which includes a similar pop up provided by Facebook & Instagram sales channel.
  • currently, a user from meta ads link will see both pop up forms
  • Shopify forms should be able to read url, e.g. if promo=yes is included then not trigger sign-up form.

Thanks,

James

1 Like

You can write few lines of js that checks the url and choose which one to show and not show. If the popup’s only open on home page you can only run the script for the home page.

Best