I am working on Google Analytics chart on my site and in the tracking code I want two add two custom dimension (One is a User ID). I am doing it this way, am I doing it right ? ga('create', 'UA-XXXX', {'userId': spUserId}); ga('set', { 'dimension1': spUserId, 'dimension2': jobAidId }); ga('send', 'pageview');
标签:
google-analytics
相关问题
- Set API key with embed API google analytics
- Integrate Firebase Analytics with Xamarin Android
- Real time visitors from Google Analytics. How to g
- Google Universal Analytics - Command ignored
- Custom dimension data not showing in analytics (us
相关文章
- How to correctly use google analytics measurement
- Android referral tracking not working with Google
- Universal Analytics Measurement Protocol respond 2
- Profiling the Performance of a Google App Script
- Testing Google Analytics iOS SDK
- Tracking Anchor Links in Goal Funnels
- Expand array-of-structs into columns in PySpark
- Manually adding e-commerce transactions in Google
Yes, that's correct:
You could also send them with other hits too: