Google Analytics(分析)自定义尺寸记录错误的数据
我们使用Monster Insights为WP网站设置了GA4和UA。将GTM连接到WP网站的代码在代码中;但是,其他所有内容都是通过GA和Monster Insights插件。
去年4月,UA中的Post Wuster自定义维度的数据开始逐渐下降,命中率为6月初。该代码没有更改,也没有从我能告诉的任何GA设置。
考虑到UA是日落的,我将自定义尺寸移至GA4标签。记录数据列表显示PagePostauthor的设置正确,并与URL和Post Title等一起进行。但是,在GA上的页面和屏幕仪表板中,PagePostauthor列显示了帖子标题。
如果Datalayer具有正确的信息,则数据层和自定义维度的数据集之间的断开是什么?
We've got GA4 and UA set up for a WP site using Monster Insights. The code to connect GTM to the WP site is in the code; however, everything else is through GA and the Monster Insights plugin.
In April last year, the data for post author custom dimension within UA had begun slowly declining in count, hitting zero early June. The code did not change, nor did any of the GA settings from what I can tell.
Considering UA is being sunset, I'm moving the custom dimension over to the GA4 tag. Logging dataLayer shows the pagePostAuthor is setting correctly, alongside the URL and post title etc.; however, within the pages and screens dashboard on GA, the pagePostAuthor column shows the post title.
If the dataLayer has the right info, what's the disconnect between the dataLayer and the custom dimension's data set?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,您将DL值映射到通过GTM的分析维度。因此,GTM的映射可能关闭了。
另一方面,如果您没有设置GTM,那么即使您已经加载了GTM脚本,也可能是在没有GTM的情况下跟踪数据。扩展程序可以直接使用GTAG,从DL中获取数据,这将使调试变得更加繁琐,因此我建议您查看GTM,以确保使用它。
You usually map your DL values to analytics dimensions through GTM. Therefore, it's likely that GTM's mapping is off.
On the other hand, if you didn't set up your GTM, then it may be that the data is being tracked without GTM, even if you've loaded the GTM script. The extension may just use gtag directly, taking the data from the DL, which will make the debugging much more tedious, so I'd suggest looking at GTM making sure it's being used.