To install CROforce, copy your tracking snippet from the Install Entail CRO screen and paste it into the header your site shares across every page, just before the closing </head> tag. You do it once per website. This page explains where to find your snippet, what it does, and which guide to follow for your platform.
Where to find your snippet
Your snippet contains your website's site token, so always copy it from CROforce rather than from another site. There are two places to get it.
Right after sign-up
When you create your account, CROforce opens Install Entail CRO on Your Site as the last step. Pick how you build your site, then click Copy Script, or switch to Use AI (see below). Click Skip to do it later.
After you publish a widget
If CROforce hasn't seen your site yet, publishing shows One step left with two buttons: Install Entail CRO opens the install screen, and Do It with AI opens it straight on the AI message. Your widget stays saved either way.
Any time later
- Click Install Entail CRO in the top bar. The button shows there until CROforce receives its first visit from your site; after that, open the settings menu (the gear icon) and click Install Entail CRO.
- Choose your platform from the list, or Any website.
- Keep Do It Manually and click Copy Script, or switch to Use AI.
The in-app install screen lists more platforms.
Install with AI
If you build your site with an AI tool like Lovable or Cursor, or you'd rather have ChatGPT or Claude walk you through it, let AI do the install. Every platform's install page has a Use AI tab.
- Open Install Entail CRO, pick your platform and switch to Use AI.
- Click Copy Message. The message carries your snippet and says where it goes on the platform you picked.
- Paste it into your AI tool or chat and follow what it says.
- Come back and click Verify Installation.
This is the message for Any website, with your snippet in the middle:
I want to add the Entail script to my website (yoursite.com). It must load on every page, 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… entailInsights.init('YOUR_SITE_TOKEN', { disable_decide: false }); </script>
If you can edit my site's code, add it to the shared <head> (the layout or template every page uses) and publish.
If you can't, ask me which platform my site is built on, then walk me through it one step at a time.
When it's done, tell me how to check it's live: open my homepage, view the page source and search for "entail".An AI tool that edits your code makes the change itself. In a plain chat, the AI gives you the steps for your platform. Either way, check the result with Verify Installation.
What the script does
- Counts visits and actions. Page views, clicks and form submissions are recorded automatically — see Automatically tracked events. Your goals turn some of them into conversions.
- Shows what you publish. Campaigns, widgets, popups, quizzes and A/B tests appear on your site only through the script.
- Loads without slowing your page. It downloads in the background and doesn't block your page from showing.
- Gives your code an API.
window.entailInsightslets you send your own events — see Track custom events.
For a line-by-line look, see How the snippet works.
Where to paste it
In the <head> of every page, as high as you can — ideally just before </head> in the template all your pages share. Being in the head matters for A/B tests: the script can swap in the test version before the visitor sees the original.
Your site runs on | Follow this guide |
|---|---|
Shopify | Install on Shopify |
WordPress | Install on WordPress |
Google Tag Manager | Install with Google Tag Manager |
Webflow | Install on Webflow |
React, Next.js or another single-page app | Install on React and Next.js |
Wix, Weebly, Joomla, Magento, BigCommerce, HubSpot or Drupal | Install on other platforms |
Anything else, or a site you code by hand | Install on any website |
Strict security settings? If your site sends a Content Security Policy, allow CROforce's domains or the browser will block the script. See Domains to allow.
After you paste it
Publish your site, then check the installation: click Check Installation on the page after sign-up, or Verify Installation on the in-app install screen. See Check your installation.
If you need visitors' consent before tracking, read Consent and privacy before you go live.
Next steps
- Install on any website: The step-by-step guide.
- Check your installation: Confirm CROforce sees your site.
- Set up goals: Decide what counts as a conversion.
Frequently asked questions
Is the snippet the same for every website?
No. Each website in your account has its own site token inside the snippet. Copy it from CROforce with the right website selected.
Can I install it with Google Tag Manager?
Yes. Add it as a Custom HTML tag that fires on all pages. See Install with Google Tag Manager.
What if I paste it twice?
Nothing breaks. A second copy sees the first one and does nothing, so visits aren't counted twice.
Can an AI tool install it for me?
Yes. On the install screen, switch to Use AI and click Copy Message, then paste it into your AI tool or chat.
Does CROforce work without the script?
No. Without it CROforce can't count visits or show anything on your site.

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