AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

5.4K members online now
5.4K 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

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.



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:


With code examples here:

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