Kajabi Analytics offers essential data to help you run your online business. However, you can advance your understanding of your site analytics, conversions, and more by adding your Google Tag Manager code to your site.
In this article:
- Google Tag Manager (GTM)
- How to add the GTM code to your site
- How to add the GTM code to individual pages
- Add the GTM Code to a Premier page
Google Tag Manager (GTM)
Google Tag Manager is a tag managing solution offered by Google to manage and simplify the tag implementation and management process for marketers, analysts, and developers.
Google Tags is typically used to track basic web page activity alongside Google Analytics to gain a better understanding of your site's performance and activity.
Learn more about Google Tag Manager.
Kajabi helps you track data with Google Analytics with the native Google Analytic integration built into your Settings. Learn to connect Google Analytics for more details.
Add the GTM code to your site
Learn to add your Google Tag Manager (GTM) Code to your site on Kajabi.
Step 1. Create a Google Tag Manager account
First, create a Google Tag Manager Account to gain more insight to your site analytics.
Step 2. Copy your Google Tag Manager (GTM) code
After creating a Google Tag Manager Account, you are given the Tag Manager code to install onto your site.
Copy the first snippet of code:
Step 3. Paste your Google Tag Manager (GTM) code to your page scripts
Navigate to your Kajabi account to paste the GTM code snippet to your site Page Scripts.
- Open the Settings tab from the Dashboard.
- Click Site Details.
- Scroll to Page Scripts.
- Paste your GTM Code Snippet.
- Click Save to keep your changes:
Add the GTM code to individual pages
Learn to add your Google Tag Manager (GTM) Code to specific pages on your site built with the Encore Theme.
With the Encore Theme you get access to Kajabi's latest, highly customizable page editing features. Learn more about building your page with Kajabi Pages.
Learn about standalone landing pages.
Step 1. Create a Google Tag Manager account
First, create a Google Tag Manager Account to gain more insight to your site analytics.
Step 2. Copy & paste the first code snippet
After creating a Google Tag Manager Account, you are given the Tag Manager code to install onto your site.
Copy the first snippet of code provided:
Paste your Google Tag Manager (GTM) code to your page scripts
Navigate to your Kajabi account to paste the GTM code snippet to your site Page Scripts.
- Open the Settings tab from the Dashboard.
- Click Site Details.
- Scroll to Page Scripts.
- Paste your GTM Code Snippet.
- Click Save to keep your changes:
Step 3. Copy & paste the second code snippet
After copying and pasting the first snippet of your GTM Code, return to Google Tag Manager and copy the second snippet of code provided:
Then, navigate back to your Kajabi account to paste the second GTM code snippet to your landing page.
- Open the page editor for your desired page.
- Click Settings.
- Select the Custom Code setting.
- Locate the Custom Javascript field.
- Then, enter
</script>
to allow the GTM code snippet to be added to your custom code block. - Add the second GTM code snippet.
- In the line below the GTM code snippet, enter
<script>
to end your GTM code. - Then, click Save to keep and apply your changes:
Add the GTM Code to a Premier page
Learn to add your Google Tag Manager (GTM) Code to specific pages built with the legacy theme, Premier, on your site.
Step 1. Create a Google Tag Manager account
First, create a Google Tag Manager Account to gain more insight to your site analytics.
Step 2. Copy & paste the first code snippet
After creating a Google Tag Manager Account, you are given the Tag Manager code to install onto your site.
Copy the first snippet of code provided:
Navigate to your Kajabi account to paste the first GTM code snippet to the Code Editor of your page.
- Open the Code Editor for your page.
- Open the Templates folder.
- Select the index.liquid file.
- Locate the opening
<head>
tag. - In the line immediately below the opening
<head>
tag, paste the first snippet of code:
Step 3. Copy & paste the second code snippet
After copying and pasting the first snippet of your GTM Code, return to Google Tag Manager and copy the second snippet of code provided:
Then, navigate back to your Kajabi account to paste the second GTM code snippet to the Code Editor of your landing page.
- Open the Code Editor for your page.
- Open the Templates folder.
- Select the index.liquid file.
- Locate the opening
<body>
tag. - In the line immediately below the opening
<body>
tag, paste the second snippet of code: