Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Sending an event to a specific tracker when using react-ga4 with multiple trackers › Reply To: Sending an event to a specific tracker when using react-ga4 with multiple trackers
-
Sure thing, you can just specify the name of the tracker you want to send the event to. When you create the tracker, assign it a name. Then, when sending the event ‘timeToLoad’, simply add the tracker name before sending the event like this:
ga('trackerName.send', 'event', 'timeToLoad')
. This tells GA to send the event to ‘G-0000001’ only.