Closed otravers closed 7 years ago
This is a similar question to my earlier MixPanel issue (https://github.com/angulartics/angulartics-mixpanel/issues/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');
Yes
This is a similar question to my earlier MixPanel issue (https://github.com/angulartics/angulartics-mixpanel/issues/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:
and
ga('set', 'contentGroup1', 'My Group Name');