需要在GA4中创建“自定义维度”以跟踪我们作者撰写的文章(用户和PV)。

huangapple go评论69阅读模式
英文:

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”

你可以尝试

  1. 添加以下代码以禁用自动跟踪“page_view”
gtag('set', 'send_page_view', false);
  1. 手动添加“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

  1. add this code to disable the auto tracking page_view
gtag('set', 'send_page_view', false);
  1. 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

huangapple
  • 本文由 发表于 2023年3月8日 18:51:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/75672084.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定