A complete walkthrough for adding Google Tag Manager to your Kajabi website — container setup, code placement, and how to verify it’s working.
Step 1: Create Your GTM Container
- Go to tagmanager.google.com and sign in
- Click Create Account
- Enter an account name (usually your business name) and your country
- Under “Container name,” enter your website’s domain
- Choose Web as the target platform
- Click Create, then accept the Terms of Service
You’ll now see two code snippets — GTM will show these in a popup right after container creation. Keep this tab open; you’ll need both snippets in Step 2.
Step 2: Add the GTM Code to Kajabi
Kajabi has a dedicated place for tracking codes, so you don’t need to dig into template files.
- In your Kajabi admin, go to Settings → Site Details (sometimes labeled Tracking Code depending on your Kajabi plan)
- Look for the section called Website Tracking Code or Head Tracking Code
- Paste the first GTM snippet (the one meant for the <head> section) into this field
- Kajabi also provides a field for code that goes right after the opening <body> tag — paste the second GTM snippet here. If Kajabi only gives you one field, the head snippet alone is enough to get GTM running; the body snippet mainly helps with no-JavaScript fallback tracking, which matters less for standard use cases
- Click Save
Note: Kajabi’s exact menu wording has changed across product updates, so if you don’t see “Tracking Code” under Site Details, check Settings → General or search “tracking” in the Kajabi settings search bar.
Step 3: Apply the Code Site-Wide (or Per Page)
Kajabi lets you add tracking code in two scopes:
- Site-wide: applies to every page — this is what you want for GTM, since you need it active everywhere to track events like purchases, sign-ups, and page views across your whole funnel
- Per-page: only use this if you intentionally want a tag firing on one specific page only (rare for GTM itself, more common for one-off pixels)
For GTM, always install it site-wide.
Step 4: Verify the Installation
Don’t skip this — a surprising number of tracking setups fail silently because the code was pasted in the wrong field or saved incorrectly.
Method 1: GTM Preview Mode
- Back in your GTM dashboard, click Preview
- Enter your Kajabi site’s URL and click Connect
- A new tab opens with your site plus a debug panel at the bottom
- If GTM is installed correctly, you’ll see “Connected” and a list of events firing (like Container Loaded, DOM Ready)
Method 2: Browser Extension
Install the free Tag Assistant Legacy or Google Tag Manager browser extension, visit your Kajabi site, and check that your container ID (format: GTM-XXXXXXX) shows as active.
Method 3: View Page Source
Right-click your live Kajabi page → View Page Source → search (Ctrl+F) for your GTM ID. You should find it near the top of the <head> section.
Common Mistakes to Avoid
- Pasting the code into a blog post or page-builder text block instead of the Site Details tracking field — this only adds it to that one page, not sitewide
- Publishing changes in GTM but forgetting to click “Submit” — code in preview mode doesn’t go live until you publish the container
- Using two GTM containers by accident — if you previously tested one, remove the old snippet before adding a new one to avoid duplicate tracking and inflated numbers