theme.liquid layout file so it loads on every page of your store.
Installation steps
Paste the Cool Popup snippet
Find the closing
</head> tag and paste the snippet on the line just before it.Finding your Site ID
ReplaceYOUR_SITE_ID with the value from Dashboard → Settings → Installation in your Cool Popup dashboard.
Popular use cases on Shopify
- Cart abandonment popups — recover visitors who are about to leave without purchasing
- Discount code offers — show a timed popup with an exclusive discount to drive conversions
- Email list building — capture emails with a newsletter signup popup
- Free shipping announcements — notify shoppers when they’re close to the free shipping threshold
If you’re using a Shopify 2.0 theme, you can also add the snippet as a custom liquid section through the theme customizer. This lets you manage the script without touching code files directly.