GA4

Forward events to GA4 via Measurement Protocol.

Prefer screenshots over text? Open the illustrated manual setup guide →

GA4 (Measurement Protocol)

AdsPing forwards events to GA4 via the Measurement Protocol. You provide a Measurement ID + API Secret; AdsPing posts events server-side as the right user (client_id from pb.js).

Find your credentials

  1. GA4 admin → Data Streams → pick your web stream.
  2. Copy the Measurement ID (format G-XXXXXXXXXX).
  3. Click Measurement Protocol API secrets → Create → name it "adsping" → save.
  4. Copy the API Secret.

Connect in AdsPing

  1. Pixel detail → GA4 card → Manual setup.
  2. Paste Measurement ID + API Secret → Save.
  3. AdsPing validates by sending a test event to GA4's /debug/mp/collect endpoint. Card turns green if the credentials work.
GA4 has its own real-time view: GA4 → Reports → Realtime → DebugView. Events show within seconds when debug_mode: true is set in the payload. AdsPing doesn't toggle this automatically yet — to test, use the GA4 Realtime report (60-min window) which shows production events.

Was this page helpful?