Skip to content

Add an event tracking callback to allow for inserting custom trackers  #9

Description

@kleinjoshuaa

Sometimes we have other trackers that we like to 'piggy back' on to GA4 for tracking events.

It would be really cool to be able to do something like this:

tracker.addEventCallback((user_id, eventsParameters, persistentEventParameters, userProperties) => {
// add custom tracker code here
})

And then every time trackEvent is called this is called too

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions