Tracking and attribution

Set up the Koast pixel

Add the Koast pixel to your site, check it on a live page and send conversion events, so your Koast ad accounts can optimise and attribute.

The Koast pixel tells your Koast ad account when someone converts on your site. Without it, your ads can't be optimised or attributed. Setup is three steps and takes about ten minutes.

Koast ad account

Before you start

  • This page is for Koast ad accounts, which are provided through our partner Whop. The Pixel tab in Settings only appears while a Koast ad account is the active ad account.
  • Running a Meta ad account? You use your Meta pixel instead, picked in the campaign's settings. See Connect a Meta pixel to an ad account.
  • You need to be able to edit your site, or hand a prompt to whoever (or whatever AI agent) does.

Open the Pixel tab

Open Settings, then Pixel. You can also select Set up tracking on the Tracking card on Home.

The top of the tab shows where you stand, for example 1 of 3 done, and Re-check runs the checks again.

Set up the pixel

  1. Add the snippet to your site

    Select Copy and paste the snippet into the <head> of every page in your funnel, before any other script. The snippet is already scoped to this ad account.

    If an AI coding agent builds your site, select Copy prompt for your AI agent instead and paste the prompt into it. The prompt carries the snippet, the list of supported events and the rules for firing them.

  2. Verify a live page

    Type the address of a page that has the snippet, such as https://nimbus.example/blanket, and select Check page. Koast loads the page and looks for the snippet. The step shows Verified once it's found.

  3. Send conversion events

    Fire the matching event at each step of your funnel, for example whop.track("lead") when a lead form is submitted. The step counts how many of the supported events it has seen, like 3 of 8 detected.

    To see the checklist turn green without walking your whole funnel, select Copy a snippet that fires N of them and paste it into your browser's console on a page that has the snippet. These are real events: they count as conversions on this ad account.

It can take a few minutes for an event to be counted. The tab updates on its own.

Supported events

EventTypical use
leadA form submission
complete_registrationAn account or profile created
submit_applicationAn application completed
scheduleA call or appointment booked
contactAn inbound contact
view_contentA key page viewed
add_to_cartAn item added to the cart
purchaseA sale on your own checkout, with the sale amount as a positive value

Don't fire purchase for Whop checkout sales

Purchases made through Whop checkout are already counted automatically. Fire purchase only for sales on your own checkout, or each Whop sale counts twice.

What the status means

StatusWhat it means
Your pixel isn't sending events yetSetup isn't finished. Work through the three steps.
Only page views are trackedThe snippet is live, but no conversion event has fired yet.
No activity for N daysThe pixel has gone quiet. Check the snippet is still on your live pages.
Pixel is liveEvents are arriving.
Tracked automaticallyYour page is hosted on Whop, so purchases and subscriptions are measured without a pixel.

Go further

Ad blockers and cookie rules hide some conversions from any browser pixel. To count them, send conversions from your server as well. See Server-side conversions.

On this page