> ## 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 met iClosed

> Track iClosed-boekingen met de Whop Pixel via een aangepaste bevestigingspagina.

De boekingsagenda van iClosed kan je website niet laten weten wanneer iemand een gesprek boekt, dus je kunt boekingen niet op de normale manier tracken. De oplossing: laat iClosed boekers na het boeken doorsturen naar een "Thank You"-pagina op je eigen site. Plaats de pixel daar, dan pikt hij de naam en het e-mailadres van de boeker automatisch op.

## 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. Maak een Thank You-pagina

Bouw een eenvoudige "Thank You"- of "Call Confirmed"-pagina op de plek waar je je site al host. Dit is de pagina waarop boekers terechtkomen direct nadat ze een gesprek hebben geboekt.

## 3. Installeer de pixel ook op je boekingspagina

De andere stappen in deze gids gaan over de Thank You-pagina, maar de pixel moet ook op de pagina staan waar mensen het gesprek daadwerkelijk boeken (je landingspagina, of waar de iClosed-agenda is ingesloten). Zonder pixel daar zie je geen paginaweergaven of advertentieklikken voor die pagina, alleen de uiteindelijke boeking. Plak dit in de `<head>` van die pagina. 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>
```

Kun je met je sitebouwer de `<head>` niet bewerken, bekijk dan de bijbehorende gids in deze sectie. Of, als je Google Tag Manager al gebruikt, voeg dezelfde code daar toe als Custom HTML-tag die op alle pagina's wordt geactiveerd.

## 4. Laat iClosed boekers naar je pagina sturen

Zoek in je iClosed-evenementinstellingen naar **Confirmation Page** en wijzig deze van de standaardpagina van iClosed naar de URL van je eigen pagina. Nu eindigt elke boeking op jouw pagina in plaats van op die van iClosed.

## 5. Plak het pixelfragment op je Thank You-pagina

Plak hetzelfde pixelfragment uit stap 3 ook in de `<head>` van je Thank You-pagina. Elke pagina in je funnel heeft een eigen kopie nodig, niet alleen de boekingspagina.

## 6. Voeg nog een fragment toe om de boeking te registreren

Plak dit ook direct onder het pixelfragment op je Thank You-pagina. iClosed neemt de naam en het e-mailadres van de boeker al op in het webadres van de pagina, en dit fragment pikt ze automatisch op. Je hoeft zelf niets in te vullen:

```html Track a booking theme={null}
<script>
var params = new URLSearchParams(window.location.search);
whop.track("schedule", {
	email: params.get("invitee_email") || undefined,
	name: params.get("invitee_full_name") || undefined,
});
</script>
```

## 7. Controleer of het tracken werkt

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

> [!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 boekingen.


## Related topics

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