Get it for $79

Install guide

Install OfferProof AI on Shopify

Add the tracking script to your Shopify theme, so product and landing pages are measured.

Page builders rename their menus often, so we describe what to look for rather than promise exact clicks. If a name below doesn't match your screen, search your builder's help pages for the goal in bold.

Copy your snippet

In OfferProof AI, open Tracked sites, add your site, and copy the snippet from its setup page. It looks like this, with your own site ID and key:

<script>window.offerproof=window.offerproof||function(){(offerproof.q=offerproof.q||[]).push(arguments)}</script>
<script async src="https://cdn.offerproof.net/op.js" data-site="YOUR_SITE_ID" data-key="YOUR_SITE_KEY"></script>

Keep both tags together, and copy yours from the app: YOUR_SITE_ID and YOUR_SITE_KEY are placeholders and won't work. In Domains that may send events, enter the domain your visitors see in the address bar. Subdomains are included, and events from anywhere else are refused.

Add it to Shopify

On Shopify the goal is the head of your theme's main layout, which covers every storefront page. You'll be editing theme code, so make a copy of the theme first.

  1. In your Shopify admin, go to your online store's themes and duplicate the live theme as a backup.
  2. On the live theme, open the code editor.
  3. Open the main layout file, usually layout/theme.liquid.
  4. Paste the snippet just before </head>, and save.

What this doesn't cover

  • Theme code doesn't run on Shopify's checkout. Set the add-to-cart click as your goal, and read it as interest, not sales.
  • If you change theme, add the snippet to the new theme too.

Check it works

  1. Publish the page, then open it with ?op_test=1 on the end of its address. The setup page has this test link ready for your first domain. It proves the script runs, and isn't counted in your numbers or your allowance.
  2. Back in the app, press Check installation.
  3. Open the page normally, without the test link. New visits appear within a minute.

If nothing arrives

  • Check the snippet is inside <head> on the page you opened, and that the page was republished after you added it.
  • Check the page's address is on one of this site's allowed domains. Subdomains of an allowed domain work; a different domain does not.
  • Turn off ad blockers and privacy extensions for the test, then reload the page.
  • If your page uses data-consent="required", accept the cookie banner: nothing is sent until the visitor agrees.
  • If your site sets a Content-Security-Policy, allow script-src https://cdn.offerproof.net and connect-src https://e.offerproof.net https://cfg.offerproof.net.
  • Page builders can cache old pages. Clear the cache, then open the test link again.

Before you send traffic

The script never reads what visitors type. You are responsible for your own visitor notices. If visitors must agree to analytics first, add data-consent="required" to the second tag and call offerproof('consent','granted') from your cookie banner: nothing is stored or sent before that.

Stuck? Open a support ticket and tell us your builder and page address. Other builders are in the install guides.