Documentation menuCourses and communities: Kajabi

Courses and communities

Add Loogika to Kajabi

A full Loogika install on Kajabi takes two pastes of the same script tag. The Header Page Scripts field under Site details covers your site pages, and the Checkout Tracking Code setting covers Offer checkout and upsell pages. Kajabi leaves checkout pages out of the site-wide field on purpose.

Last updated .

What do you need before you start?

Copy your script tag from Site Settings in Loogika, under the Tracking Script tab. It looks like this, with your own site ID in place of YOUR_SITE_ID:

<script src="https://app.loogika.com/api/script.js?siteId=YOUR_SITE_ID" defer></script>

How do you add Loogika to every Kajabi site page?

Paste the tag into Header Page Scripts. Kajabi then loads it in the head on all pages of your site, except checkout and upsell pages.

  1. From the Dashboard, open Settings.
  2. Click Site details, which sits under Site settings.
  3. Scroll down to Page scripts. Paste the tag into Header Page Scripts.
  4. Save.

How do you track Kajabi checkout and upsell pages?

Paste the same tag into the Checkout Tracking Code setting. Kajabi does not run Header Page Scripts on Offer checkout pages or on upsell pages, so those pages stay out of your reports without this second step.

  1. From the Dashboard, open Settings.
  2. Under Payment settings, click Checkout.
  3. Find the Checkout Tracking Code section and click to edit its Header tracking code.
  4. Paste the tag and save.

Use the same site ID in both fields. A visitor who reads your site and then buys is counted as one session, and a funnel can follow that visitor through checkout.

Can you paste the tag into a Custom Code field on a page?

No, keep the tag in the two settings above. Kajabi has two page-level places for code, and neither one covers the whole site.

  • The Custom Code section in the settings of a page is meant for CSS and JavaScript without <style> or <script> tags. It applies to that one page.
  • The Custom Code block that you add with Add block accepts <script> tags, but it also covers only the page it sits on.

How do you check that Loogika is installed?

Load your Kajabi site in a fresh browser tab and visit a few pages, including a checkout page. The pageviews show up in the Loogika dashboard within a few seconds.

If site pages arrive but checkout pages do not, the tag is missing from Checkout Tracking Code. If nothing arrives at all, open the page source and look for script.js?siteId=.