Skip to content

Conversation

@erikwiffin
Copy link

Google Tag Manager doesn't use the default tracker, so "send" calls need to be prefixed with the tracker id.

This change uses the first tracker if multiple trackers are defined, or no prefix otherwise. This should be sufficient for any standard Google Tag Manager install.

https://groups.google.com/forum/#!topic/google-analytics-analyticsjs/mayu2cf1d0k
https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#multipletrackers

@ryanto
Copy link
Owner

ryanto commented Mar 30, 2014

This looks good, but I need tests before I can merge it.

@johanneswuerbach
Copy link

Any update on this?

@ryanto
Copy link
Owner

ryanto commented Apr 21, 2014

Looks good but it needs tests.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants