Recent searches


No recent searches

Evan Walker's Avatar

Evan Walker

Joined May 28, 2021

·

Last activity Feb 01, 2022

Following

0

Followers

0

Total activity

2

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Evan Walker

Evan Walker commented,

Community comment Discussion - Tips and best practices from the community

Hey there!

 

I'm trying to get this to work, and I just can't seem to capture the user roles in Google Analytics, when I search it keeps coming up with nothing. I've added a custom segment like the previous comment advised, and when I try to search it still comes up with nothing.

 

This is the code I've added to the Help Center:

    // GA Custom Dimensions
var userRole = HelpCenter.user.role;
ga('set', 'dimension1', userRole);
ga('send', 'pageview');
 
});
 
And this is what the custom definition looks like:
 
 
 
As you can see, I tried to emulate what the previous successful commenter was able to do, but I'm not getting any results. Can someone assist?
 

View comment · Posted Aug 28, 2020 · Evan Walker

0

Followers

0

Votes

0

Comments