> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# De Whop Pixel installeren op Kajabi

> Track elke pagina van een Kajabi-site door de Whop Pixel toe te voegen aan het veld Header Page Scripts, controleer daarna paginaweergaven op de Websites-pagina en voeg events toe.

## 1. Haal je Whop-account-ID op

Je vindt deze in je [Whop Dashboard](https://whop.com/dashboard/): het deel van de URL na `dashboard/`, beginnend met `biz_`. Het ziet eruit als `biz_xxxxxxxxxxx`.

![Whop-dashboard-URL in de adresbalk van de browser, met het account-ID na dashboard onderstreept](https://mintcdn.com/whop/i81Det37UaKELkrh/images/dashboard-url.png?fit=max\&auto=format\&n=i81Det37UaKELkrh\&q=85\&s=f8dce6ea378318d4c89f7bce9239605d)

## 2. Open de instellingen voor de trackingcode van je site

Ga in Kajabi naar **Settings > Site Details > Page Scripts** en open het veld **Header Page Scripts**.

Zo wordt de pixel toegepast op elke pagina van de site, inclusief bedankpagina's. Hij laadt niet op de eigen checkout- of accountaanmaakpagina's van Kajabi. Dat is hier geen probleem, want de daadwerkelijke aankoop vindt plaats in de checkout van Whop, niet in die van Kajabi.

## 3. Plak het fragment

Plak dit in het veld **Header Page Scripts**. Vervang `biz_xxxxxxxxxxxxx` door je eigen account-ID.

```html Pixel snippet theme={null}
<script>
!function(w,d,s,u,n,a,b){if(w[n])return;a=w[n]={q:[],t:+new Date,s:[],o:u,track:function(){a.q.push([+new Date].concat([].slice.call(arguments)))},setScope:function(){a.s=[].slice.call(arguments).filter(function(x){return typeof x==="string"});a.q.push([+new Date,"setScope"].concat(a.s))},scope:function(){var c=[].slice.call(arguments);return{track:function(){a.q.push([+new Date].concat([].slice.call(arguments)).concat([{__scope:c}]))}}}};b=d.createElement(s);b.async=1;b.src=u+"/s.js";d.getElementsByTagName(s)[0].parentNode.insertBefore(b,d.getElementsByTagName(s)[0])}(window,document,"script","https://t.whop.tw","whop");
whop.setScope("biz_xxxxxxxxxxxxx");
whop.track("page");
</script>
```

Sla de instellingen op. Kajabi voegt deze code toe aan de `<head>` van elke pagina van de site.

## 4. Controleer of het tracken werkt

Bezoek een live pagina en controleer daarna de [Websites-pagina](https://whop.com/dashboard/websites) in je Whop-dashboard. Je domein verschijnt daar zodra er een paginaweergave binnenkomt.

## 5. Track leads en andere funnel-events

Heeft je funnel een formulier-, aanvraag- of boekingsstap, voeg daar dan een `whop.track`-aanroep voor toe. Zie [Events tracken](https://docs.whop.com/nl/developer/ads/pixel.md#track-events) in de hoofdgids voor de pixel.

> [!NOTE]
>
> **Track geen aankopen, abonnementen of proefperiodes.** Whop registreert elke checkoutweergave, aankoop, abonnement en start van een proefperiode server-side, zonder enige configuratie. Stuur alleen events die Whop niet kan zien: leads en boekingen.


## Related topics

- [De Whop Pixel installeren](https://docs.whop.com/nl/developer/ads/pixel.md)
- [De Whop Pixel installeren op Shopify](https://docs.whop.com/nl/developer/ads/platforms/shopify.md)
- [De Whop Pixel installeren op WordPress](https://docs.whop.com/nl/developer/ads/platforms/wordpress.md)
