If you installed the code and nothing happens, it is almost always one of these causes. Go through them in order. To see the pixel messages, open the browser console (developer tools).
The pixel response is cached for a few minutes. After fixing something, wait a bit or try a new private window before checking the console again.
1. The code is not on the page
View the source of your website and search for notikit.com/pixel/. If it is not there:
- The change was not saved or not published on your platform.
- Your website or your CDN is serving a cached version: clear the cache.
- You pasted it in a template that the page you are looking at does not use.
- An optimization plugin is removing or delaying the script: exclude
notikit.comfrom that optimization.
2. The domain does not match
Console message: Campaign does not match the set domain/subdomain.
The pixel only runs when the page domain is the campaign domain, with or without www.. It does not work on localhost, on a staging address, in the preview of your platform or on another subdomain. Fix: open the campaign, choose Edit and correct the Domain field, or create another campaign for that domain.
3. The key does not belong to a campaign
Console message: No campaign found for this pixel.
The key in the code does not belong to any campaign. It happens when the campaign was deleted or when the code was copied incompletely. Fix: copy the code again from Install pixel and replace it.
4. The campaign is disabled
Console message: Campaign disabled.
Fix: turn on the status switch of the campaign in Campaigns.
5. The quota ran out
Console message: Notification impressions limit exceeded.
Your account reached the monthly impressions limit. See Impressions and monthly quota.
6. Your IP is excluded
Console message: Tracking disabled for this IP.
Your IP is listed in Excluded IPs, inside Preferences. Remove it to test, or test from another connection (for example, mobile data).
7. A blocker stops the script
Some ad blockers and privacy extensions prevent third-party scripts from loading. Try a private window with no extensions. If it works there, the block comes from your browser and not from your website.
8. The security policy of the site blocks it
If your website uses a content security policy (CSP), the console shows a blocking error from the browser. Add https://notikit.com to the allowed origins for scripts, styles, images and connections.
If the pixel loads but you see nothing
When the console shows none of these messages, the pixel is working and the problem lies in the notification. Continue with The notification is not showing.