Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Calling Tracker.send(EventBuilder) fails when using multiple script contexts due to use of instanceof checks #33

Open
@DaddingtonPalace

Description

Need an alternate means of type checking values passed to analytics.Tracker.send method.

Basically if you share a tracker between background and foreground pages you can "send" an EventBuilder, as it'll end up just sending an empty hit with the hitType == '[object]'.

Work around, create a separate tracker for use in foreground.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions