Skip to content

Do Not Create New Trackers #6

@dschinkel

Description

@dschinkel

Just want to make sure that this isn't creating a new instance of the tracker as stated here Single Page Application Tracking in that you don't want to be doing because it causes reporting accuracy issues: .

I see you mention in your readme about using ga('create', 'UA-XXXX-Y', 'auto'); "Elsewhere". So does this call to create if this is used in multiple React components violate the following statement by Google?:

Do not create new trackers

Do not create new trackers in a single page app in an attempt to mimic what the JavaScript tracking snippet does for traditional websites. Doing so runs the risk of sending an incorrect referrer as well as incorrect campaign data as described above.

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