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

Can you use ga("set")? #92

Closed
otravers opened this issue Jan 5, 2017 · 1 comment
Closed

Can you use ga("set")? #92

otravers opened this issue Jan 5, 2017 · 1 comment

Comments

@otravers
Copy link

otravers commented Jan 5, 2017

This is a similar question to my earlier MixPanel issue (angulartics/angulartics-mixpanel#26), I want to make sure this works the same with Google Analytics.

I want to use ga('set') to define custom dimensions, metrics, and content groups, can I just use the regular GA syntax via Angulartics? I.e. code like the following:

ga('set', {
  'dimension5': 'custom dimension data',
  'metric5': 'custom metric data'
});

and

ga('set', 'contentGroup1', 'My Group Name');

@timelf123
Copy link
Contributor

Yes

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