Skip to main content

How to Install Your Script

Step-by-step instructions for installing the Retention.com script on your website.

📌 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:


On a different platform or building your own site?

No problem — the install is straightforward:

  1. Go to Settings → Script in your Retention.com account

  2. Copy your script

  3. 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.


Once it's installed

Did this answer your question?