Setting Up UniPixel With: Google

Getting Ready for UniPixel: What You Need from Google

Before you touch the plugin

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.

The shopping list

Google’s setup is simpler than Meta’s, but the pieces still need to be connected. You’ll need:

  1. A Google Account — your regular Google login works
  2. A Google Analytics 4 property — this is where your data lives
  3. A Web Data Stream — this is where your Measurement ID comes from
  4. A Measurement Protocol API Secret — this is how UniPixel sends server-side events

Already have some of these?

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.

If you’re starting from scratch

1. Google Analytics account

Go to analytics.google.com. If you don’t have an account, Google walks you through creating one. Straightforward.

2. GA4 Property

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.

3. Web Data Stream

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.

4. Measurement Protocol API Secret

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.

What to ignore

Google will present you with:

  • Tag installation instructions — code snippets for your header
  • Google Tag Manager setup flows
  • Google Ads linking prompts at this stage
  • Enhanced measurement toggles and configuration options

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.

Do I need to install the Google tag on my site?

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.

Do I need Google Tag Manager?

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.

A note on Google Ads

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.

After you set up UniPixel

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.