Thank you @jahilldev,
I have created the Analytic Endpoint, but still, the Firefox Private Mode browser is not working.
Here is my website: https://charbelnemnom.com
You access it via Firefox Private Mode and then open the web developer tool, then click on Network.
Yes, you will see a Warning message on the page, but you can disregard it.
Refresh the page and then you can see POST: blog.charbelnemnom.com/collect is blocked.
If we look at the Headers, we can see the following:
Status: 302
Found: VersionHTTP/3
Transferred: 885 B (0 B size)
Referrer Policy: strict-origin-when-cross-origin
Request Priority: Lowest
If I access it from a normal browser, I can see real-time data so the endpoint that I created is working.
I checked https://dariusz.wieckiewicz.org/ with Firefox Private Mode, and he was able to bypass the Ad blocking mode:
Status: 204
No Content: VersionHTTP/2
Transferred: 652 B (0 B size)
Referrer Policy: strict-origin-when-cross-origin
Request Priority: Lowest
More details here: https://dariusz.wieckiewicz.org/en/minimal-google-analytics-4-snippet/#minimal-analytics-4---masking-hiding-requests
However, I am not using https://www.netlify.com/, (https://docs.netlify.com/routing/redirects/redirect-options/#query-parameters), so I cannot configure this 200 status code,
I am redirecting with 302 status with Cloudflare Workers.
https://blog.charbelnemnom.com/collect ==> https://www.google-analytics.com/g/collect
Any help is highly appreciated.
Many Thanks!!!
question ga4