Ad pixels
Add your Meta, Google Ads, LinkedIn or custom tracking tags from the dashboard, switch them on and off, and check that they fire.
Ad pixels let you load your advertising tags (Meta, Google Ads, LinkedIn, or a custom snippet) through the Klickbee tracker, without editing or redeploying your site. Add or remove a pixel in the dashboard and it is served to your visitors on their next page load.
Open Optimize → Pixels in the sidebar. The page lists your pixels, with a New pixel button, a Test URL field and the Conversions API panel (see Conversions).
Ad pixels do not wait for consent
Klickbee's own tracking can be gated behind consent, but ad pixels cannot. They load as soon as the tracker starts, even when consent is required and even when the visitor has Do Not Track turned on. If your visitors must give consent before advertising tags run, do not configure the pixel in Klickbee until you handle that yourself: either load the Klickbee script only after consent, or add the pixel only on sites where you do not need that gate. See Privacy and consent.
Add a pixel
- Open Pixels and click New pixel.
- Choose the Platform.
- Give it a Name to recognise it later, for example
Meta - main. - Fill in the identifier for that platform (below).
- Click Add pixel.
| Platform | What you enter | Example |
|---|---|---|
| Meta (Facebook/Instagram) | Pixel ID | 123456789012345 |
| Google Ads | Tag ID (AW-…) | AW-123456789 |
| Partner ID | 1234567 | |
| Custom snippet | Head snippet and/or Body snippet | your own tag code |
Check the identifier carefully
The dashboard does not validate the format of an identifier. A typo simply loads nothing, silently. Copy the identifier from your ad platform and use the test below to confirm it fires.
Custom snippets
Use a custom snippet for any other tag. Paste the code into Head snippet
(injected into the page's <head>), Body snippet (injected into the
<body>), or both when the tag needs both. Raw JavaScript and HTML containing
<script> tags both work; the scripts are executed. <noscript> parts are
ignored, so a tag's pixel-image fallback does nothing.
Custom snippets run on your visitors' pages with the same rights as your own code. Only paste code you trust.
Switch a pixel on or off, or delete it
Each pixel row shows its name, its platform and:
- an Enabled checkbox: unchecking it stops the pixel from being served from the next page load (pages already open keep it until they reload), and you can switch it back on at any time;
- a Test button (below);
- a delete button. Deleting removes the pixel and its conversion mappings.
When does a pixel load?
- When a visitor opens a page of your site, the tracker fetches the list of enabled pixels for your site and loads them. A new or changed pixel therefore appears on the next full page load.
- Each pixel loads once per page load. In a single-page app, navigating between routes does not reload it.
- One failing pixel does not break the others or Klickbee's analytics.
- The list is only served to the allowed origins of your site. If you set allowed origins and your domain is missing, you will see no data and no pixels. See Install the tracker.
Test that a pixel fires
- In the Test URL field, enter the address of a page of your site (it is pre-filled with your first allowed origin).
- Click Test on the pixel's row.
Your site opens in a new tab with the Klickbee pixel debugger. A small panel titled Klickbee · Pixel debug appears at the bottom right and lists each pixel with its status:
- fired: a request to the platform was seen;
- no request yet: nothing was sent (yet);
- injected: for a custom snippet, the code was added to the page.
It also lists the last hosts the page contacted and counts JavaScript errors. It
refreshes for about 10 seconds. You can also add ?kb_pixel_debug to any URL of
your site to check all pixels at once.
The test only works on a page where the Klickbee tracker is installed. An ad blocker can hide pixel requests, so test in a browser without one.
What is not supported
Klickbee supports Meta, Google Ads, LinkedIn and custom snippets. Other platforms (TikTok, Snapchat, Pinterest, Microsoft Ads) have no dedicated pixel type: use a custom snippet for their tags. Custom snippets cannot be linked to goals, so they cannot send conversions through Klickbee.
Related
- Conversions: send your goals to Meta, Google Ads and LinkedIn.
- Goals: define what a conversion is.
- Privacy and consent
- Troubleshooting