Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many trackers on one page #87

Closed
breslavsky opened this issue Dec 19, 2016 · 2 comments
Closed

Many trackers on one page #87

breslavsky opened this issue Dec 19, 2016 · 2 comments

Comments

@breslavsky
Copy link

Note: for support questions, please use one of these channels: Chat: Gitter

  • I'm submitting a ...
    [ ] bug report
    [x] feature request
    [ ] question about the decisions made in the repository

Google support to send events to many trackers.
https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers

ga('create', 'UA-XXXXX-Y', 'auto');
ga('create', 'UA-XXXXX-Z', 'auto', 'clientTracker');

ga('send', 'pageview');
ga('clientTracker.send', 'pageview');

It is possible in angulartics2?

@colinfindlay-nz
Copy link

Maybe? I need to do the same thing - and it's certainly supported in the Angulartics2GoogleAnalytics Provider via angulartics2.settings.ga.additionalAccountNames - however I can't work out how to set this array. The settings don't seem to be exposed - or I'm too stupid to work out how.

colinfindlay-nz pushed a commit to colinfindlay-nz/angulartics2 that referenced this issue Jan 2, 2017
rossedfort pushed a commit to rossedfort/angulartics2 that referenced this issue Jul 16, 2018
…ntNames' config setting

implement a 'setAdditionalAccountNames' method in GA provider, which adds the account names to the
'additionalAccountNames' property of 'angulartics2.settings.ga'

closes angulartics#87
rossedfort pushed a commit to rossedfort/angulartics2 that referenced this issue Jul 16, 2018
implement a 'setAdditionalAccountNames' method in GA provider, which sets the account names as the
'additionalAccountNames' property of 'angulartics2.settings.ga'

closes angulartics#87
rossedfort pushed a commit to rossedfort/angulartics2 that referenced this issue Jul 25, 2018
… provider

add a public instance member 'settings' on the ga provider. It is just a reference to the 'ga'
settings on the core angulartics2 service

closes angulartics#87
@scttcper
Copy link
Collaborator

scttcper commented Oct 9, 2018

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

3 participants