Verifying setup

Run through this checklist after every fresh pixel install. If everything passes, you're ready for production traffic.

1. pb.js loads on every page

  • Open your site → DevTools → Network → filter adsping.
  • You should see pb.js with status 200, ~30KB.
  • Console: typeof window.pbq === "function" should return true.
  • Console: window.PB_PIXEL_ID should equal your pixel ID.
If pb.js doesn't load, check Content Security Policy headers. Some sites have CSP that blocks scripts from non-listed domains — add https://api.adsping.io to script-src.

2. Events reach AdsPing

  • Refresh your site. Network tab should show a POST to /api/v1/t/PIXEL_ID with status 200 and a JSON response.
  • AdsPing dashboard → pixel detail → header shows Last event: a few seconds ago.
  • Events tab → fresh PageView events listed.

3. Pipelines are healthy

  • Pixel detail → Pipelines section.
  • Each configured pipeline (Meta, TikTok, Google Ads, GA4) should show a green "Healthy" badge.
  • If any are yellow ("Degraded") or red ("Auth failed"): click the pencil → check tokens → reconnect if needed.

4. Platform receives events

For each destination:

  1. Set a Test Event Code on the pipeline (see Test Event Code doc).
  2. Trigger a real event on your site (form submit, button click).
  3. Open the platform's Test Events tab.
  4. The event should appear within 2-5 seconds with source = "Server" (or "Both" if browser pixel is also active).
  5. Once verified, clear the test code on each pipeline.

5. Match quality is acceptable

Match quality estimates how many of your forwarded events the platform can confidently attach to a user. Score scale 0-10 (Meta) or Low/Medium/High (TikTok). Our targets:

  • Meta: 7+ for lead-gen sites, 8+ for ecommerce. Below 6 = check that pb.js is capturing email/phone from form submits and that you're not accidentally sending raw values (everything should be SHA-256 hashed).
  • TikTok: Medium or higher. Low = same fix recommendations as Meta. Make sure the TTP cookie (TikTok's equivalent of FBP) is being captured — that requires events.js loaded, which AdsPing auto-injects.