Even when everything seems correct—no console errors, the code in place—the data sometimes just doesn’t show up in GA4. We’ve encountered this repeatedly with clients. Often, it’s due to a faulty GA4 Data Stream. Here’s the remedy.
1. Why the GA4 Data Stream Might Be Broken
- Data streams occasionally fail silently.
- Streams created via Google Tag Manager may not work properly when you drop the GA4 tag outside GTM.
- Corrupted configurations on Google’s side.
- Rare but real—server-side or setup glitches.
If your GA4 code and PixelYourSite setup are clean, suspect the data stream.
2. Step‑by‑Step: Replace the Stream
A. Delete the old GA4 stream

- Log into your Google Analytics 4 account.
- Go to Admin → Data Streams.
- Click your website stream → Delete Stream.
- Confirm deletion.
B. Create a fresh GA4 stream
- In Admin → Data Streams, click Add stream → Web.
- Enter your website URL and name.
- Copy the new Measurement ID (e.g.,
G-XXXXXXXXXX).

3. Update Measurement ID in PixelYourSite
- In your WP dashboard, go to PixelYourSite → Google Analytics.
- Paste the new
G-…Measurement ID. - Save changes.

4. Clear Caches Thoroughly
To ensure the new ID is live:
Ensure no old JS snippet remains in HTML source.
Purge your WordPress cache (e.g., WP Rocket, W3 Total Cache).
Clear any server-level cache (e.g., Hostinger, Cloudflare).
5. Test Tracking
Check GA4 Real-Time
- Go to GA4 → Reports → Real-time.
- Visit your site in a fresh browser tab (could be incognito to avoid cookie issues).
- You should see at least one active user appear within seconds.
6. Why This Works
- Corrupted streams: Rare glitches on Google’s side—fix it by recreating.
- GTM-created streams: They may not function properly when used as raw JS tags.
- Outdated config: Old measurement IDs or stray settings might block data flow.