Should you install Clerion with Google Tag Manager?
Can you add analytics with Google Tag Manager? With Clerion it loads, but Clerion's install docs advise against it, because ad blockers block the tag manager on many devices and the tag never runs. Paste the Clerion script tag directly into your site's head instead.
Start your Clerion trial and get your snippet
14-day trial, no card to sign up. A card is only asked if you start a paid plan trial from the upgrade modal.
Can you install Clerion with Google Tag Manager?
Yes, it loads, but Clerion's own install docs advise against it. In their words: "You can load Clerion through Tag Manager, but we would rather you did not." The reason is that ad blockers block the tag manager itself on many devices, so any tag that rides inside it never runs for those visitors.
That matters more for analytics than for most tags. You install Clerion to see who arrives, including people sent by ChatGPT, Claude, Perplexity and other assistants. If a slice of those visits never fires the tag, the counts are short and you cannot tell which slice is missing.
Why does Clerion advise against a tag manager?
A tag manager is one script that loads other scripts. When a content blocker stops that one loader, everything inside the container is stopped with it, your analytics included.
Clerion's check-installation docs list this as one of the first things to rule out when nothing is arriving: "Ad blockers block tag managers, and the tag never runs." Pasting the line straight into the page head removes that dependency. The Clerion snippet is small, loads deferred so it does not slow the page, and sets no cookies, so it does not need a tag manager's consent or firing rules to manage it.
What is the better route?
Paste the Clerion script tag once in the head of every page. This is the line, with placeholders. The copy inside Clerion carries your real key and site id, so copy it from there.
<script
src="https://api.getclerion.com/sdk/clerion-analytics.js"
data-api-key="YOUR_API_KEY"
data-website-id="YOUR_WEBSITE_ID"
></script>
Where it goes depends on how your site is built. These guides cover the common setups:
| Your site | Where the line goes | Guide |
|---|---|---|
| Plain HTML | Inside the head of every page | Paste this one line |
| Next.js on Vercel | app/layout or next/script with afterInteractive |
Install on Next.js and Vercel |
| Webflow | Site settings, Custom code, Head code | Install on Webflow |
| WordPress | WPCode Header field, or a child theme's header.php |
Install on WordPress |
| Shopify, Squarespace, Wix | Theme head, Code Injection, or Custom Code | Clerion install docs |
When you add your site, Clerion recognises WordPress, Shopify, Webflow, Squarespace, Wix and Next.js from the page itself and shows the steps for yours next to the snippet. If someone else edits the site, you can send them the snippet from the install screen.
What if Tag Manager is the only way you can add code?
Sometimes the site is locked and the only thing you can touch is a GTM container. Clerion's docs say it will load that way, with the trade-off above. Google's Custom HTML tag is the general way to add a vendor's script to a container:
- In Tag Manager, open your container and click Tags, then New.
- Click Tag Configuration and choose Custom HTML.
- Paste the Clerion snippet from your dashboard, script tags included.
- Under Triggering, pick a trigger that fires on every page.
- Click Submit, then Publish, so the change goes live.
Treat this as a stopgap. Ask whoever controls the site to add the line to the page head directly, then remove the GTM tag. Keeping both would put two copies on the page, and two copies count every visit twice.
How do you check Clerion is counting visits?
Open your site in another tab. Clerion's install screen updates on its own, and Clerion emails you when the first visit lands. The live pulse on Overview refreshes every 30 seconds.
If nothing shows up, use "Pasted it? Check my site" on the install screen. It fetches your live page and says whether the snippet is there, missing, or carrying an old key. You can also add data-debug="true" to the snippet: the browser console then logs each batch of events as it is sent. Remove it when you are done.
Two more things to rule out, both from Clerion's docs:
- Your browser opts out. Clerion does not count browsers with Global Privacy Control or Do Not Track on.
- You ignored your own device. If you ran
localStorage.setItem('clerion_ignore', 'true')in that browser, it stays uncounted on purpose.
What is Clerion?
Clerion is website intelligence for AI founders. One script tag records visits without cookies, so no consent banner is needed, and data is held in the EU and never sold. Each morning it writes a short briefing on what changed, including traffic from AI assistants and revenue by source, and every figure comes from your own data. The model only sees aggregates. If you want to know whether ChatGPT is sending you traffic at all, this guide covers it.
Ready to install?
Paste the line in your site's head, open your site once, and the first visit shows up on the install screen.
Add your site and copy your snippet
14-day trial, no card to sign up. A card is only asked if you start a paid plan trial from the upgrade modal.
Frequently asked questions
Can I install Clerion with Google Tag Manager?
It loads, but Clerion's install docs advise against it. Ad blockers block the tag manager itself on many devices, so the Clerion tag inside it never runs for those visitors. Paste the script tag directly into your site's head instead.
Does Clerion need Tag Manager for consent or cookie rules?
No. The Clerion snippet sets no cookies, so no consent banner is needed. It also honours Global Privacy Control and Do Not Track on its own.
I already loaded Clerion through GTM. What should I do?
Add the script tag to your page head directly, then remove the GTM tag and publish the container. Keep only one copy, because two copies on a page count every visit twice.
How do I know the direct script tag is working?
Open your site in another tab. The Clerion install screen updates on its own and Clerion emails you when the first visit lands. If nothing shows, use Pasted it? Check my site on the install screen.
Does the Clerion script slow my site down?
Clerion's docs say it loads deferred, so it does not slow the page. It is one script tag in the head with your key and site id.