Install on Shopify
Plan needed: any Shopify plan. It does not work while you are trialling a paid theme (theme code is locked until you buy it).
Where to paste
- Online Store > Themes > ... > Edit code.
- Open
layout/theme.liquidand paste just before</head>. - Save. No app is needed.
<script src="https://{ASSET_HOST}/s/v1/pr.js" data-project="{projectPublicId}" async></script>Cache
Shopify serves fresh theme code within a minute. If the checker still says the snippet is missing, wait a minute and check again. If you use Cloudflare in front of a custom domain, purge it.
If the site has a Content-Security-Policy
Add our hosts (the install checker prints the exact ones for your project):
script-src https://{ASSET_HOST}
connect-src https://{API_HOST}
img-src https://{ASSET_HOST} data: blob:Ad blockers
Our file names and host are neutral and the script sends no analytics, so most blockers leave it alone. If a client still sees "The review tools could not load", ask them to pause their ad blocker for this site, or send them the screenshot review link instead.
Check it
Paste the live URL into Check install in TweakTick. Normal visitors are not affected: the script only switches on for links that carry a review token.