2 ms·
userId bit has been there from the start in Universal Analytics. Its called custom dimensions and can be used to send any property about the user into the GA an
by hu_me 13y ago
userId bit has been there from the start in Universal Analytics. Its called custom dimensions and can be used to send any property about the user into the GA and then link it to a User or a specific Visit.
https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets https://developers.google.com/analytics/devguides/collection...
- mikeknoop 13y agoOP (and the article) refer to the uid tracking mentioned here: https://groups.google.com/forum/m/#!msg/google-analytics-measurement-protocol/rE9otWYDFHw/7ThqY5swy3oJ https://groups.google.com/forum/m/#!msg/google-analytics-mea... As of Jun 27 it hasn't shipped according to a GA team member.
- hu_me 13y agohad missed that thanks for sharing. I have been using custom dimension for uId in our client projects its worked out well, though a dedicated api method is always welcome.
- duwip 13y agoCustom variables don't let you consolidate on users though? In the visitor count, for instance, I don't think there's a way to tell GA to use a custom var to distinguish between visitors.
- hu_me 13y agoyes there isnt a way within GA to aggregate metrics based on custom dims at the moment. we have on occasion done it through reporting api using cd to maintain a unique count.