You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you add the other optional params for the configure method in your code? This would be much appreciated!
Google allows several more params to the create call which include "name" and "userId". You currently only provide 2 params - trackingId and cookieDomain. It seems like all you have to do is modify these 2 lines of code in your angular-ga.js file:
Can you add the other optional params for the configure method in your code? This would be much appreciated!
Google allows several more params to the create call which include "name" and "userId". You currently only provide 2 params - trackingId and cookieDomain. It seems like all you have to do is modify these 2 lines of code in your angular-ga.js file:
configure(trackingId, options = 'auto') {
ga('create', trackingId, options);
This is from the Google Analytics site - https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers#working_with_multiple_trackers
ga('create', {
trackingId: 'UA-XXXXX-Y',
cookieDomain: 'auto',
name: 'myTracker',
userId: '12345'
});
The text was updated successfully, but these errors were encountered: