Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Enhancing Event Tracking in Google Analytics 4 › Reply To: Enhancing Event Tracking in Google Analytics 4
-
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).