Skip to content

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

@kleinjoshuaa

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

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