# Kajabi

## Add Humblytics Analytics to Kajabi

### 1 · Sign up (or log in)

Visit humblytics.com → Start Free Trial. Finish signup—or log in to your existing workspace.

### 2 · Add your website in Humblytics

In the sidebar, click **Add Website**.

* **Domain** – enter `your-domain.com` (omit `https://` and `www`)
* **Site Name** – internal label (e.g. `Course-Site`)

Copy the snippet from **Install Tracking Code**:

html

```html
<!-- Start Humblytics Tracking Code -->
<script async src="https://app.humblytics.com/hmbl.min.js?id=YOUR_ID_HERE"></script>
<!-- End Humblytics Tracking Code -->
```

Keep this tab open—we'll return and click **Verify Website** once the tag is live.

### 3 · Add the script to Kajabi

#### Option 1: Site-wide tracking (recommended)

**Best for:** Tracking all pages including courses, landing pages, and checkout

1. Log in to your **Kajabi Dashboard**
2. Go to **Settings → Site Details**
3. Scroll down to **Page Scripts** section
4. Paste your Humblytics script in the **Header Code** field:

html

```html
<script async src="https://app.humblytics.com/hmbl.min.js?id=YOUR_ID_HERE"></script>
```

5. Click **Save**

**Note**: In newer Kajabi versions, this may be under **Settings → Checkout Settings → Tracking Code** or **Settings → Code**. Look for "Header Code" or "Custom Code" fields.

#### Option 2: Single page tracking

**Best for:** Tracking specific landing pages or sales pages only

1. Go to **Website → Pages** (or **Website → Landing Pages**)
2. Select the page you want to track
3. Click the **Settings icon (⚙️)** next to the page name
4. Go to **SEO & Tracking → Custom Code** (or **Page Details → Custom Code**)
5. Paste your Humblytics script in the **Header Code** field
6. Click **Save**

**Note**: Replace `YOUR_ID_HERE` with your actual project ID from Humblytics.

### 4 · Changes are live immediately

✓ **Good news**: Kajabi applies changes automatically. Unlike other platforms, you don't need to "publish" separately—your script is live as soon as you click Save.

### 5 · Verify installation

1. Return to Humblytics and click **Verify Website**
2. Open your live Kajabi site in a private/incognito window and refresh once
3. Within \~30 seconds you should see a green **Verified** badge and live visitor count

**If verification fails, check:**

**Kajabi-specific issues:**

* Script is in **Header Code** field, not Footer
* You clicked **Save** in Site Details or Page Settings
* You're testing your custom domain, not the default Kajabi subdomain (if applicable)
* Changes may take 1-2 minutes to propagate—try clearing your browser cache

**General issues:**

* Script ID matches your project in Humblytics
* Open Developer Tools (F12) → **Network** tab, refresh page, and search for `hmbl.min.js` to confirm it loads
* View page source (right-click → View Page Source) and search for "humblytics"
* No ad-blockers or browser extensions are blocking the script

**Testing checkout pages:** If tracking checkout pages specifically, make sure you added the script in **Settings → Checkout Settings → Tracking Code** (some Kajabi plans have separate checkout tracking fields).

### 6 · Explore & optimize

* **Dashboard** – view traffic, top pages, and referrers
* **Heatmaps** – auto-generated for clicks and scroll depth (works on landing pages and sales pages)
* **Experiments** – run A/B tests on your Kajabi pages (Experiments → New Test)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.humblytics.com/how-to-get-started/kajabi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
