Takes about 2 minutes. You need a CROforce account and a way to edit your site's HTML header, or someone who can.
Using Shopify, WordPress or Google Tag Manager? Those have their own guides: Shopify, WordPress, Google Tag Manager.
1. Open the install screen
In CROforce, open the settings menu (the gear icon) and click Install Entail CRO. Until your site sends its first visit, the same button also shows in the top bar. Choose Any website.
Just signed up? You'll see the install page right after sign-up instead. It has the same snippet — copy it there and click Check Installation once it's live. See Install the tracking script.
Pick Any website unless your platform has its own card.
2. Copy your snippet
Click Copy script. The snippet already contains your site token, so you can paste it as is.
Your snippet is unique to this website. The token is hidden in this screenshot.
It looks like this, with your own token in place of YOUR_SITE_TOKEN:
<link rel="preload" href="https://cdn.entail-insights.com/js/entail.js" as="script">
<link rel="preconnect" href="https://widgets.entail.ai/" crossorigin>
<script>
!function(t,e){var o,n,p,r;e.__SV||(window.entailInsights=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src="https://cdn.entail-insights.com/js/entail.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="entailInsights",u.toString=function(t){var e="entailInsights";return"entailInsights"!==a&&(e+="."+a),t||(e+=" (stub)"),e},o="trackEvent capture opt_out_capturing has_opted_out_capturing opt_in_capturing reset".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.entailInsights||[]);
entailInsights.init('YOUR_SITE_TOKEN', { disable_decide: false });
</script>3. Paste it before </head>
Open the template that renders your site's header — the one shared by every page — and paste the snippet just before the closing </head> tag.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Your page</title>
<link rel="stylesheet" href="/styles.css">
<!-- CROforce: paste your snippet here, just before </head> -->
<link rel="preload" href="https://cdn.entail-insights.com/js/entail.js" as="script">
<link rel="preconnect" href="https://widgets.entail.ai/" crossorigin>
<script> /* …your snippet… */ </script>
</head>
<body>
…
</body>
</html>Why the head? A/B tests change the page before visitors see it. Higher up means less chance of the original version flashing first.
Publish or deploy your site so the change is live.
4. Verify the installation
Back on the install screen, click Verify Installation. CROforce passes the check when it has received a visit from your site, or finds the script in your homepage's HTML.
Button greyed out? Verify Installation turns on after you click Copy script on that screen — click it once, even if you installed the snippet earlier.
- The installation was successful! — you're done. Click Continue.
- Something went wrong… — the script wasn't found. See If the check fails, then click Try again.
Check it yourself in the browser
- Open your website in Chrome and press
F12to open DevTools. - Go to the Network tab and reload the page.
- Type
entailin the filter. You should seeentail.jsload, followed by requests tot.entail-insights.com— those are your visits being counted.
What the snippet does
- Creates
window.entailInsightsright away, so your own code can call it before the script has finished loading. Calls are queued, not lost. - Loads
entail.jsin the background without blocking your page. - Once loaded, it replays the queued calls and starts counting page views, clicks and form submissions automatically.
- Shows the campaigns, popups and A/B tests you've published for this site.
If the check fails
What you see | What to do |
|---|---|
The check fails right after you published | Your site or CDN may still serve a cached page. Clear the cache, wait a few minutes and try again. |
| The snippet isn't in the page. Make sure you edited the shared header template and published the change. |
| Your Content Security Policy is blocking it. See Domains to allow . |
It works on some pages only | Those pages use a different template. Add the snippet there too. |
Still stuck? See Troubleshooting.
Next steps
- Create a goal: Tell CROforce which actions count as conversions.
- Track custom events: Send your own events from your code.
- Create a popup: Go from a template to a live popup.
- Create an A/B test: Test a change on part of your visitors.
Frequently asked questions
Will the script slow down my website?
No. The script loads asynchronously, so your page renders without waiting for it. The
and preload
lines start the download early so it's ready sooner.preconnect
What happens if the snippet is on the page twice?
Nothing breaks. The second copy sees the first one and does nothing, so a snippet in your theme and another in Google Tag Manager won't double-count visits.
Do I need to add it to every page?
Yes — it has to run on every page you want to measure or change. Putting it in your site's shared header or layout template covers every page at once.
Where do I find my site token?
You don't need to look it up. The snippet you copy from the install screen already includes it. Each website in your account has its own snippet.

/filters:quality(80)/cro-force/installplatforms-1795547787355.png)
/filters:quality(80)/cro-force/installsnippet-1795547787994.png)