• George

    7 July 2022 at 9:28 am

    Ah, I see what you mean now. You’re looking for a function similar to ‘hitCallback’ that you used with Universal Google Analytics, but for Google Analytics 4, right? I believe what you’re after is the ‘event_callback’ parameter. I just stumbled upon it myself after some searching too, and thought it might be useful for you as well. If you want to read up on it some more, here’s a link to the reference section of Google’s gtag parameters: [gtag reference parameters](https://developers.google.com/tag-platform/gtagjs/reference/parameters).