Documentation · Prynt Reveal · Install

Shopify

Add the snippet to the theme layout. Storefront pages are covered; the checkout is a separate surface with its own rules.

Add the snippet to the theme

  1. Copy the snippet from the console (Websites → your site → Install).
  2. Online Store → Themes → **Edit code** → layout/theme.liquid. Paste it just before </head>. Save.
  3. Repeat in any other published theme (e.g. a seasonal one) — code lives per theme.
{%- comment -%} layout/theme.liquid, just before </head> {%- endcomment -%}
<script src="https://api.pryntid.com/cdn/prynt-reveal.umd.js" async
  onload="PryntReveal.reveal({publicKey:'pk_live_YOUR_PUBLIC_KEY',website:'example.com'})"></script>

Notes

  • Checkout and the thank-you page do not run theme code. Shopify's *Customer events* (custom pixels) sandbox can load the script, but it runs in an isolated frame with a different hostname; identification of the checkout is not supported today. B2B intent is on product, collection and content pages anyway.
  • Logged-in B2B customers: in theme.liquid, when customer is set, call identify({ email: '{{ customer.email }}' }) after PryntReveal.reveal() — first-party identity from your own login.
  • Shopify's cookie banner (Customer Privacy API) is not auto-detected: pass consent: () => window.Shopify.customerPrivacy.analyticsProcessingAllowed() once the API is loaded, or a boolean from your own banner.

Run the Test Script

  1. In the console go to Websites → your site → **Test Script**. It fetches your page from our side and runs the seven checks: snippet present, public key, website match, CSP script-src, CSP connect-src, consent manager, script position and www redirect.
  2. Open your site with ?prynt_debug=1 to see the live panel from the browser's point of view (consent, CMP, storage, cspBlocked, last send).
  3. Visit two or three pages. The pulse in the console shows the last event within seconds; the first companies appear as soon as a business network visits.

A cspBlocked: true or a failed CSP check means your Content-Security-Policy needs the two lines from CSP and storage. Running a consent manager? Consent explains what is detected and what is sent before the visitor decides.

Next: Squarespace

Last updated 2026-11-03 · Limits · Visitor opt-out