Getting started
Install Pop the Lead on Shopify
The exact steps to add the embed script to your Shopify theme — works on every Shopify plan.
Adding Pop the Lead to a Shopify store takes about 2 minutes. You don't need a custom app or any Shopify development experience.
Step-by-step
- From your Shopify admin, go to Online Store → Themes.
- Find your live theme, click the three-dot menu, and choose Edit code.
- In the Layout folder, open theme.liquid.
- Paste the embed snippet directly before the closing </body> tag.
- Click Save in the top right.
Cart-value targeting (optional)
If you want to target popups by cart total, make sure window.__cartTotal is exposed. Most modern themes do this automatically. If yours doesn't, add this snippet to the same theme.liquid:
<script>window.__cartTotal = {{ cart.total_price | divided_by: 100.0 }};</script>If you use a checkout extension or a headless setup, talk to support — installation steps differ.
