Google Analytics 4
Send events server-side via GA4's Measurement Protocol. Perfect for capturing purchases even when the browser GA tag is blocked.
What you'll need
- Measurement ID (looks like
G-XXXXXXXXXX). - API Secret.
Finding the values
- Open Google Analytics → Admin.
- Under the property → Data Streams → pick your web stream.
- The Measurement ID is at the top-right.
- Scroll to Measurement Protocol API secrets → Create → copy the secret.
Connect in PixelMili
Settings → Integrations → Google Analytics 4 → paste both values → Save.
Event name mapping
GA4 uses a different event vocabulary than Meta. PixelMili maps automatically:
| You send | GA4 receives |
|---|---|
PageView | page_view |
ViewContent | view_item |
AddToCart | add_to_cart |
InitiateCheckout | begin_checkout |
Purchase | purchase |