Add the snippet to the theme
- Copy the snippet from the console (Websites → your site → Install).
- Online Store → Themes → **Edit code** →
layout/theme.liquid. Paste it just before</head>. Save. - 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, whencustomeris set, callidentify({ email: '{{ customer.email }}' })afterPryntReveal.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
- 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, CSPconnect-src, consent manager, script position and www redirect. - Open your site with
?prynt_debug=1to see the live panel from the browser's point of view (consent, CMP, storage,cspBlocked, last send). - 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.
Last updated 2026-11-03 · Limits · Visitor opt-out