LuriaDocs
Install

Install on Kajabi

Add the Luria tag to your Kajabi site's header code, then count purchases on the thank-you page your offer redirects to.

plain textupdated 2026-08-19

About 6 minutes

What you'll need

  • Your Luria tag, with your site ID already in it. You get it during onboarding, or email hello@luriart.com and we will send it to you. The dashboard does not show the site ID yet.
  • Admin access to your Kajabi site.
  • A thank-you page you control, so you have somewhere to put the conversion call.

Step 1: Open your site's header code

In Kajabi, go to Settings, then Site Details, and find the header code box (Kajabi also labels this custom code or tracking code).

Step 2: Paste the tag

Paste this, with your own site ID in place of YOUR_SITE_ID, then save:

<script async src="https://luriart.com/snippet.js" data-luria-site="YOUR_SITE_ID"></script>

Site-wide header code puts Luria in the <head> of every page Kajabi serves, including your landing pages and sales pages. That is the placement you want: the earlier it loads, the sooner a variant is in place.

Paste it whole

Luria reads your site ID off the tag itself. If you retype the ID, wrap the tag in other markup, or split it across two boxes, nothing loads and your site is untouched.

Step 3: Point your offer at a thank-you page

Open the offer, find its checkout settings, and set the thank-you page to a Kajabi page you can edit. That page is where the conversion gets counted, so it needs to be one you can add code to.

Step 4: Count the purchase

Open that thank-you page, open its own page-level code box, and paste this:

<script>
  (function () {
    var n = 0;
    (function go() {
      if (window.luria) return window.luria.convert("purchase", 297.00);
      if (++n < 40) setTimeout(go, 250);
    })();
  })();
</script>

Change the goal name and value to match the offer. Use window.luria.convert("purchase", 297.00) for a sale, or window.luria.convert("lead") for a free opt-in with no value. The short retry loop is there because the tag loads asynchronously, so window.luria can appear a moment after the page does.

Luria also counts a conversion on its own when the path is /thank-you, /thank_you, or /orders/ plus an order token. Add the call anyway. The automatic one is recorded, but split test results only count conversions you name yourself.

Verify it worked

  1. Open your live site in a private window with ad blockers off.
  2. View the page source. The tag should sit inside <head>.
  3. Open DevTools, go to Network, filter for luriart.com. You should see calls to /api/patches and /api/events, and /api/consent the first time.
  4. In the Console, type window.luria. It should return an object, not undefined.
  5. Buy your own offer once, or use a free offer, then open the Customers tab in your dashboard. The converted session appears there.
Luria dashboard Customers tab listing converted sessions with source, first seen and value

Full checklist: Verify your install.

Common failures

Next steps

On this page