Analytics
3.8K members online now
3.8K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Google Analytics Custom Variable Help

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We want to track sessions, bounce rate, conversions etc. metrics for Logged In vs Non-Logged in Users separately.

How best this can be achieved?

If we need to create custom variables for the same then please help with example of code which we need to implement on website pages for getting above mentioned filtered data.

 

Thanks!

1 Expert replyverified_user

Google Analytics Custom Variable Help

Top Contributor
# 2
Top Contributor

Hi :-)

Is the site using the older Classic ga.js? If not, and its using the current version of tracking code, Universal analytics.js, then custom variables do not apply, they have now been replaced with Custom dimensions and metrics

 

You can start learning about them here:
https://support.google.com/analytics/topic/2709827?hl=en&ref_topic=6175347

 

With code examples here:

https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here