Google Analytics(分析)实施问题

发布于 2025-02-03 15:19:56 字数 790 浏览 3 评论 0原文

我正在尝试实施GA以跟踪中等页面的流量。首先,我不知道,如果我真的没有“拥有”这个URL,我无法发现这是无法追踪的。

我尝试了两种方法:通过全球网站标签(GTAG.JS)和Google标签管理器。

  • 在全球网站标签上,我不确定自己可以实施它,因为我尝试修改页面的源代码,但不能保存。
  • 在gtm上,用“所有页面”激活器创建了一个标签(GA4配置),这不会再麻烦了。

这里的事情比我打开标签助理遗产时,它只是找到一个标签 gta tags 它具有UA身份,即使我总是试图用新的身份G-XXXXXXXXX配置上面的两个选项。

总而言之,我在这里有三个问题:

  1. 是否可以修改网页的源代码?如果是的话,是否专门用媒介?如果是,怎么样?
  2. 如果我尝试配置两个,为什么GTA仅显示一个标签?
  3. 如果我始终使用新的(g-xxxxx),为什么配置的任务显示遗产身份(UA-xxxxxx)。

只是要完成并在此处提供完整的图片,当我尝试标签助手时,这就是什么出现。在这里,我只能识别第一个代码(比GTA相同)。此外,有时会偶尔发送“可以连接到网站消息”。

这么多问题,太多问题;如果有人能提供帮助,我真的很感激。 非常感谢!

I am trying to implement GA to track traffic to a Medium page. First of all I don´t know and I couldn´t found if this is trackable at all since I don´t really "own" this url.

I have tried the two ways: by the global website tag (gtag.js) and by Google Tag Manager.

  • On global website tag I am not really sure I could implement it since I tried to modify the source code of the page but it didn´t save.
  • On GTM y created a tag (GA4 configuration) with "all pages" activators and it shouldn´t be much more trouble.

The thing here is than when I open the Tag Assitant Legacy it just finds one tag GTA tags and it does with a UA identity, even though I always tried to configure the two options above with the new identities G-XXXXXXXXXX.

All in all, I have three questions here:

  1. Is it possible to modify the source code of a webpage? If it is, is it specifically with Medium? If yes, how?
  2. Why does GTA shows just one tag if I tried to configure two?
  3. Why the configured task shows a legacy identity (UA-xxxxxx) if I always used the new one (G-xxxxx).

Just to finish and give the complete picture here, when I try the Tag Assistant, this is what appears. Here I can only recognize the first code (which is the same than the GTA one). Moreover, it sometimes sends the "can´t connect to the website message" once in a while.

So much problems, so many questions; if anyone can help I would really appreciate that.
Thanks so much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文