📌 This article covers the tracking script only — the JavaScript snippet that goes on your website so Retention.com can identify visitors. This is separate from connecting your email platform (Klaviyo, HubSpot, etc.) in Settings → Integrations. If you're looking to set up your email integration instead, see Connect Your Email Platform.
The script goes in the global header of your website so it loads on every page. That's it.
If you're on one of these platforms, we have step-by-step guides ready to go:
→ Install on Shopify
→ Install on BigCommerce
→ Install on Squarespace
→ Install on WooCommerce
→ Install via Google Tag Manager
On a different platform or building your own site?
No problem — the install is straightforward:
Go to Settings → Script in your Retention.com account
Copy your script
Paste it into the
<head>tag of your website — most platforms call this the global header or site header
If your platform has a theme file, a tag manager, or a custom code section in settings, that's where it goes. Anywhere that loads on every page works.
