英文:
Need to create "Custom dimensions" in GA4 to track Articles (Users & PV) written by our writer
问题
我希望从GA4获取“编辑姓名”和“发布日期”数据,因为我们已经从现有的UA GA获取这些数据。请参见附带的屏幕截图。此外,请指导我如何通过GTM执行此操作?(逐步指南 - 因为我对GTM不熟悉)
请查看我们从现有UAGA获取的详细信息的附带截图,但我需要从GA4获取相同的详细信息。请帮助我。
网站 - dailynews360(印地语新闻门户)
我尝试了一些方法,但仍然没有成功。请参见附带的屏幕截图。
请查看我需要的确切报告。请参见附带的屏幕截图。
英文:
I am looking to get "Editor name" & "Published date" data from GA4 as we are already getting it from existing UA GA. Please see attached screen shot for the same.enter image description here
Also, guide me how can we do this via GTM? (Step by step - As I am new in GTM)
Please see attached screenshot of what details we are getting from existing UAGA but I need to get same details from GA4. Please help me.
Site - dailynews360 (Hindi news portal)
I tried few things but still not getting success. Please see attached screen shot for the same. [Create custom dimesions](https://i.stack.imgur.com/eG7wx.jpg)[Add some parameters in GA4 script]
Data not Available script
Please see What exact report i need. Please see attached screen shot.enter image description here
答案1
得分: 1
看起来你想要使用额外的事件参数来跟踪“page_view”
你可以尝试
- 添加以下代码以禁用自动跟踪“page_view”
gtag('set', 'send_page_view', false);
- 手动添加“page_view”跟踪。
gtag("event", "page_view", {
editor_name: $your_editor_name,
pub_date: $pub_date
});
然后检查事件参数是否按预期显示。
英文:
Looks like you want to track page_view
with additional event parameter
You can try
- add this code to disable the auto tracking page_view
gtag('set', 'send_page_view', false);
- add the page_view tracking manually.
gtag("event", "page_view", {
editor_name: $your_editor_name,
pub_date: $pud_date
});
Then check if the event_parameters show as expected
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论