Skip to main content
The tracking script records clicks and conversions on your site. Add it to your landing pages and your thank-you pages. It loads asynchronously, so it won’t slow down your pages.

Find your platform

If you use one of these platforms, follow its step-by-step guide — it’s the fastest path:

WordPress

Install the official contentgrove plugin — no code needed.

Google Tag Manager

Deploy the script as a Custom HTML tag across any GTM site.

Kit (ConvertKit)

Track Kit landing pages through its GTM integration.

GoHighLevel

Paste the snippet into your funnel’s footer tracking.

Any other platform

Paste the universal snippet anywhere you can add custom HTML.
Don’t see your platform? contentgrove works anywhere you can add custom HTML or a script — use the universal snippet below. See all supported platforms to check yours.

Get your tracking snippet

1

Open tracking settings

In contentgrove, go to Settings → Tracking.
2

Choose your platform

Choose the platform you are using.
The tracking settings page in contentgrove with website provider options

Settings → Tracking: choose your website provider for tailored instructions

Choose an installation method

The simplest option. Paste this just before the closing </body> tag on every page you want to track, and replace YOUR_TRACKING_ID with your own:
Place the script in your footer (just before </body>) for the best page speed. Add it to both your landing pages and your thank-you pages, or tracking will miss conversions.

Verify your installation

In Settings → Tracking, use the Verify tracker tool. Enter your website URL and run the check to confirm the script is loading.
The Verify tracker tool in contentgrove confirming the script is installed
You can also verify manually: open your site, press F12, open the Network tab, and look for cg-tracker.js. By default, the script tracks as soon as it loads. If you need tracking to wait for visitor consent, add data-require-consent="true" to the script tag (or requireConsent: true in the window config) to turn on strict consent mode. In that mode the script only tracks after the visitor grants consent through a supported consent platform — Cookiebot, CookieYes, CookieScript, OneTrust, or the WordPress Consent API — and stays blocked if none is present. See How tracking works for the full behavior. If you declare cookies in your consent platform, use these details:

Good to know

  • Use it on multiple sites. The same Tracking ID works across all your websites; data lands in that workspace’s dashboard.
  • Blocked cookies. If cookies are blocked, the script falls back to session storage, so tracking still works for that browser session.
  • HTTPS. Serve your pages over HTTPS for reliable cookie storage.
If tracking isn’t recording, see Tracking isn’t recording clicks.
Last modified on July 11, 2026