Skip to main content

Add JavaScript tracking code to Checkout pages

Add Google Analytics and other tracking code to Checkout pages to monitor customer behavior.

Tracking code from services like Google Analytics, Meta Pixel, or other analytics platforms can help you understand how customers interact with Checkout pages. Add tracking code to monitor conversions, retarget visitors, and measure the effectiveness of marketing campaigns.

Header tracking code is placed in the <head> of each Checkout page. Footer tracking code is placed at the end of the <body> of each Checkout page.

Warning:
Use these fields for tracking code only. Kajabi doesn’t support other custom code on Checkout pages, and it can cause unexpected results. Tracking code runs on Checkout pages and can read page content, so only add code from sources you trust. Malicious code could put checkout security or customer data at risk.

Add, edit, or remove tracking code

Tracking code for Checkout pages is managed separately from the Header Page Scripts field used for other pages.

Checkout tracking code runs only on Checkout pages. It doesn’t run on the upsell pages customers see after they complete a purchase.

  1. From the Dashboard, click Settings.

  2. Under Payment settings, click Checkout.

  3. In the Checkout Tracking Code section, click to add or edit Header tracking code or Footer tracking code:

    Checkout 07 21 2026 05 52 PM

  4. Paste in new JavaScript code, update current code, or remove all code from each field.

  5. Click Save.

Disable tracking code on a specific Offer's Enhanced Checkout page

Tracking code added under Checkout Tracking Code applies to all Checkout pages across your site. To disable tracking on a specific Offer's Enhanced Checkout page:

  1. From the Dashboard, click Sales, then Pricing.

  2. Click an Offer Title.

  3. Click Edit checkout at the top of the page.

  4. Click the section title Checkout.

  5. Toggle off Include header tracking code and/or Include footer tracking code.

Google Analytics and Meta Pixel purchase events

If your Kajabi account is connected to Google Analytics or Meta Pixel, you do not need to add manual tracking code to capture purchases. Enhanced Checkout automatically triggers a purchase event for both integrations when a transaction is completed.

Tip: Learn how to connect Google Analytics and Meta Pixel with Kajabi.

Did this answer your question?