最近搜索


没有最近搜索

Evan Walker's Avatar

Evan Walker

已加入2021年5月28日

·

最后活动2022年2月01日

关注

0

关注者

0

活动总数

2

投票

0

订阅

1

活动概览

的最新活动 Evan Walker

Evan Walker 进行了评论,

社区评论 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?
 

查看评论 · 已于 2020年8月28日 发布 · Evan Walker

0

关注者

0

投票

0

评论