MisterPhilip / omnibug

Omnibug is an extension for Firefox and most Chromium-based browsers to ease implementing and debugging digital marketing tools.
https://omnibug.io/
MIT License
97 stars 42 forks source link

Missing Google Analytics 4 (GA4) Entry for education.nsw.gov.au in Firefox #279

Open bambalam101 opened 1 week ago

bambalam101 commented 1 week ago

Describe the bug On the website education.nsw.gov.au, Omnibug does not display entries for Google Analytics 4 (GA4) in the panel on Firefox, even though GA4 network requests are visible in developer tools, and data is successfully sent to the GA4 Debug View via Measurement Protocol. Entries appear correctly in Chrome.

To Reproduce

  1. Go to https://education.nsw.gov.au/ in Firefox.
  2. Open developer tools and navigate to the Omnibug panel.
  3. Interact with the site to trigger Google Analytics 4 events (e.g., page views, clicks).
  4. Observe that no GA4 events show up in the Omnibug panel.
  5. Open the developer tools' "Network" tab, filter network traffic analytics.google.com are present.

Expected behaviour Omnibug should capture and display Google Analytics 4 (GA4) events when GA4 network requests are triggered, similarly to how it captures and displays events for other analytics platforms.

Screenshots omnibug no ga4 network showing ga4

Desktop (please complete the following information): OS: macOS 15.1.1 Browser: Firefox 132.0.2 Omnibug Version: 2.0.2

Additional context The GA4 network requests are successfully sent and validated, as they are visible in the Google Analytics Debug View. However, Omnibug does not detect or display these events on its panel. This suggests a potential issue with Omnibug's support for or detection of GA4 requests for this specific site.

Please let me know if further information is required to assist in diagnosing this issue.

MisterPhilip commented 1 day ago

Hi @bambalam101 - appreciate your patience while I look into this. I've checked across multiple computers and with a few colleagues and none of us are able to see a "normal" GA4 event firing. I do occasionally see one to the stats.g.doubleclick.net domain, but none on analytics.google.com. Like you, I do see it firing for Chrome as expected, but not Firefox.

Below is a sample URL: https://stats.g.doubleclick.net/g/collect?v=2&tid=G-6SWELDQF2J&cid=1357265136.1733172596&gtm=45je4bk0v871857221z8813022900za200zb813022900&aip=1&dma=0&gcd=13l3l3l3l1l1&npa=0&frm=0&tag_exp=101925629%7E102067555%7E102067808%7E102077855%7E102081485

Curious - are you seeing expected levels of Firefox traffic in the reports? I don't have a great answer right now as to why the GA4 event is showing for you in network but not in Omnibug since I can't reproduce the GA4 event in general, but I would like to dig more.

bambalam101 commented 1 day ago

Hi @MisterPhilip, thanks for your reply!

The traffic from Firefox users is lower than its reported market share on platforms like StatCounter, where it’s estimated to be around 2.6% globally, vs 1% on this site. That said, I still see approximately 10,000 users per month accessing the site via Firefox. This discrepancy could make sense, as Firefox is quite strict about blocking services like Google Analytics by default.

At the moment, I don’t have a strong theory about what might be causing this. I’m more than happy to share additional information if it would be helpful for your digging.