UniPixel needs two things from you: your Measurement ID and an API Secret. That’s it. But finding them in Google’s ecosystem can be a maze — so here’s what you need in place first.
Google’s setup is simpler than Meta’s, but the pieces still need to be connected. You’ll need:
Have a Google Analytics account? Go to analytics.google.com. If you can see properties, you’re in.
Have a GA4 property? If you’re still on Universal Analytics, that’s the old version — you need a GA4 property. Look for a Measurement ID that starts with “G-” (not “UA-“). If it starts with “UA-“, you’re on the old system.
Have a Web Data Stream? Inside your GA4 property, go to Admin > Data Streams. If you see a web stream listed with a “G-” Measurement ID, that’s what UniPixel needs.
Have an API Secret? This is the one most people are missing. Inside your Web Data Stream, scroll to Measurement Protocol API Secrets. If it’s empty, you need to create one.
Go to analytics.google.com. If you don’t have an account, Google walks you through creating one. Straightforward.
Inside your Analytics account, create a new property. Google will ask about your business — answer what you like, none of it affects tracking. The important thing is you end up with a GA4 property, not the old Universal Analytics.
Inside your new property, go to Admin > Data Streams > Add Stream > Web. Enter your website URL. Google creates the stream and gives you a Measurement ID — starts with “G-“. That’s the first thing UniPixel needs.
This is the bit Google buries.
Inside your Web Data Stream, scroll down to Measurement Protocol API Secrets. Click Create. Give it a name (e.g. “UniPixel”). Google generates a secret value.
That’s the second thing UniPixel needs. The Measurement ID and this API Secret. That’s all.
Google will present you with:
Skip the tag installation and GTM setup. UniPixel handles that. The Google Ads linking and enhanced measurement settings are separate concerns — they won’t affect your UniPixel setup.
No. You don’t need the gtag.js code, the Google Tag Manager snippet, or any script from Google. UniPixel handles client-side and server-side for GA4. Just provide the Measurement ID and API Secret.
As with Meta, there’s the option to bring your own Google tracking code if you prefer — you choose.
No. This is a big one. GTM is Google’s tool for managing tags and events, and most server-side tracking guides assume you’re using it. UniPixel doesn’t need it. Events are managed inside UniPixel, fired from your WordPress server, and sent directly to GA4 via the Measurement Protocol.
If you’ve tried GTM server-side before and found it too complex — this is the alternative.
Connecting Google Ads to your GA4 property is separate from UniPixel’s setup. UniPixel sends event data to GA4. If you want that data available for Google Ads campaign optimisation, link your Google Ads account to your GA4 property inside Google Analytics under Admin > Product Links > Google Ads Links.
This is a one-time setup on Google’s side, not something UniPixel manages.
Once you’ve entered your Measurement ID and API Secret in UniPixel and events start firing:
Google is generally faster than Meta at recognising incoming events. Check your GA4 Realtime report — you should see events appearing within minutes. If you don’t see anything after 30 minutes, double-check your Measurement ID and API Secret in UniPixel’s settings.
From there, your events flow into GA4 reporting automatically. Set up custom events in UniPixel and they’ll appear in GA4 as they fire — no configuration needed on Google’s side.