Learn business growth with Google Analytics 4 Forums Google Analytics 4 Why do Google Analytics 4 (GA4) network calls continue to fire on "stackoverflow.com" even after cookies are turned off from the OneTrust Cookie settings? Reply To: Why do Google Analytics 4 (GA4) network calls continue to fire on "stackoverflow.com" even after cookies are turned off from the OneTrust Cookie settings?

  • Rishi

    Member
    7 July 2023 at 7:55 am

    Sure, let me break this down for you!

    Now, blocking or not having cookies doesn’t stop tracking from occurring. It only tends to lose the context of tracking, like the session and the user scope. In your case additional tracking isn’t required as you’re already logged into Stack Overflow.

    As for OneTrust, I don’t think it overrides the cookie setting method. Rather, it tends to regularly check or ‘poll’ cookies and deletes those considered unnecessary or irrelevant. But tracking library often sets a cookie and use it instantaneously making it extremely hard for any tool to intercept in between. That cookie serves more as a throwaway placeholder with random numbers to uphold the context for the next call.

    In a perfect world, stopping analytics from firing when consent is not granted would be done through blockers in Tag Management Systems (TMS). This would stop tracking logic from even being triggered if consent isn’t given. But it seems like Stack Overflow doesn’t pay much attention to these subtleties!