英文:
GA4 Custom Dimensions flowing into GA, but can't run reports on it
问题
为了便于进行A/B测试,我传递了一个自定义维度给Google Analytics,告诉GA这个用户是否看过A或B体验。然后我运行报告,可以看到A用户和B用户与我的网站互动方式不同。我多年来一直在使用Universal Analytics进行这项工作,但在GA4中遇到了一些问题。我认为我已经正确设置了一切,但在GA4中运行报告时,我的自定义维度没有任何数据。
我通过数据层将自定义维度传递给Google Tag Manager。并且Google Tag Manager已设置在页面加载时将维度发送到GA4。在GA4中,我将自定义维度注册为用户级别的维度。当我进入GA4的调试器时,一切看起来都很正常。自定义维度显示出正确的值。然而,我似乎无法运行关于这个数据的报告。
我正在进行一个非常简单的自由探索。对于行,我有我的A/B测试维度。对于列,我只有活跃用户(以下是所有内容的屏幕截图)。我期望看到两行,显示A用户和B用户的数量。但我得到的是一行,上面写着“未设置”。有什么想法是问题出在哪里吗?谢谢!
英文:
To facilitate A/B testing, I pass google analytics a custom dimension that tells GA whether this user has seen the A or the B experience. Then I run reports where I can see how the A users and B users engaged differently with my website. I've been doing this for years with Universal Analytics, but I'm having trouble getting it working in GA4. I think I have everything set up correctly, but when I run a report in GA4, it gives me no data for my custom dimension.
I pass the custom dimension to Google Tag Manager via the data layer. And Google Tag Manager is set up to send the dimension to GA4 on page load. In GA4, I registered the custom dimension as a user level dimension. When I go into GA4's debugger, everything looks great. The custom dimension shows up with the proper value set. However, I can't seem to run reports on this data.
I'm doing a super simple freeform exploration. For rows, I have my ab testing dimension. For columns, I just have active users (screen shot of all of this below). I would expect to see two rows that show the number of A users and number of B users. Instead I get one row that says "not set". Any ideas what the problem is? Thanks!
答案1
得分: 0
无法确定您在GA4中设置“自定义维度”的时间。您在哪里设置它?
也许您将其设置为事件参数,但是从您的GA4设置中来看,您需要在Google Tag Manager中指定它为“用户属性”。
您可以在两个潜在的位置设置自定义维度。
因此,我在两个位置都添加了截图。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论