> ## 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 WebinarJam

> Plak de Whop Pixel in de aangepaste trackingvelden van WebinarJam en activeer daarna een lead-event wanneer iemand zich registreert.

## 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 trackinginstellingen van je webinar

Open in WebinarJam je webinar, ga naar **Integrations > Integrate a 3rd Party Tracking System** en selecteer **Embed Your Custom Tracking Code**.

WebinarJam geeft je een apart trackingveld voor elke stap van de funnel: de registratiepagina, het registratieformulier, de bedankpagina na registratie, de live room en de replaypagina.

## 3. Plak de trackingcode in elk veld

Vervang in elk fragment hieronder `biz_xxxxxxxxxxxxx` door je eigen account-ID en plak het in het bijbehorende veld.

**Registration Form Tracking** krijgt het standaard pixelfragment. Het registratieformulier is een pop-up met een eigen context, los van de pagina eromheen. De velden voor het e-mailadres, de naam en het telefoonnummer van de bezoeker staan hier, dus hierdoor kan de automatische veldregistratie van de pixel ze daadwerkelijk zien:

```html Registration Form Tracking 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>
```

**Registration Page Tracking** krijgt de pixel plus een listener die het `lead`-event activeert op het moment dat de registratie is voltooid, nog voordat de doorverwijzing naar de bedankpagina plaatsvindt:

```html Registration Page Tracking 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");

window.addEventListener("message", function (e) {
	if (e.origin !== "https://event.webinarjam.com") return;

	let data;
	try {
		data = typeof e.data === "string" ? JSON.parse(e.data) : e.data;
	} catch {
		return;
	}

	if (data.func === "redirect" && typeof data.url === "string" && data.url.indexOf("/thank-you") !== -1) {
		whop.track("lead");
	}
});
</script>
```

**Post-Registration Thank You Page Tracking** krijgt het standaard pixelfragment, als back-upregistratie van paginaweergaven:

```html Post-Registration Thank You Page Tracking 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>
```

Voeg het standaard pixelfragment ook toe aan de velden voor de live room en de replaypagina als je bezoeken aan die stappen wilt tracken. Sla je wijzigingen op.

> [!NOTE]
>
> Laat je registraties via je eigen site lopen in plaats van via de gehoste registratiepagina van WebinarJam? Installeer het fragment dan direct op die pagina (zie de hoofdgids voor de [Whop Pixel](https://docs.whop.com/nl/developer/ads/pixel.md)), want de trackingvelden van WebinarJam gelden alleen voor de eigen gehoste pagina's.

## 4. Controleer of het tracken werkt

Bezoek een live registratiepagina en controleer daarna de [Websites-pagina](https://whop.com/dashboard/websites) in je Whop-dashboard. Je domein verschijnt daar zodra er een paginaweergave binnenkomt. Registreer je daarna met een test-e-mailadres en kijk of er een `lead`-event binnenkomt op het moment dat je het formulier invult.

> [!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, zoals registraties en aanwezigheid.


## 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 Kajabi](https://docs.whop.com/nl/developer/ads/platforms/kajabi.md)
