I have a Drupal website with a few different roles. I can't figure out how to view the breakdown of those roles within Google Analytics.
Here is a screenshot of my GA Module in Drupal;
I want to get page views statistics broken down by a role or if they're just not logged in (that's an "anonymous user", right?!).
But I can't see where this breakdown is available to view in the Google Analytics webpage anywhere.
I am confident that I've got it hooked up correctly as I can see my tracking through different pages on my Drupal site. I just don't know how to break down by Role.
***** EDIT / UPDATE *****
I've done some further reading and it seems you need to do the following;
First go in to Google Analytics and navigate to Admin -> Custom Definitions -> Custom Dimensions. And then click NEW CUSTOM DIMENSION. Call it something like "User Roles".
Then over in Drupal, navigate to Custom Dimensions within the Google Analytics Module and do something like;
That text is small but it says [current-user:roles]
- you can see a list of avaible inputs by clicking "Browse available tokens" further down the page. There are dozens of options!
Now I am playing the waiting game and hoping for this to take effect.
EDIT TWO;
Here is proof that the dimension is being set when inspecting the colsole log via Google Analytics Debugger (A Chrome Extenstion which seems really useful).
That's me, but logged out. And I get "Super Administrator" when logged in.