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
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