Google标签管理器设置一个自定义域

发布于 2025-01-23 04:56:02 字数 590 浏览 1 评论 0原文

我正在尝试为Google标签管理器设置自定义域。我想使用网站的子域(例如Metrics.domain.com)跟踪用户。我遵循此处列出的步骤:

当我检查新子域是否有效时,我会收到以下消息:

错误:没有在此服务器上找到所请求的URL。

我尝试使用我的子域,这似乎是正确的:

ping ***.***.***

Pinging ghs.googlehosted.com [142.251.36.51] with 32 bytes of data:
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119

浏览到https:// ****/g/collect?v = 2& tid = *****返回404

我可能错过了什么步骤?

I am trying to set up a custom domain for the google tag manager. I want to track users using a subdomain of my website (e.g. metrics.domain.com). I followed the steps listed here: https://developers.google.com/tag-platform/tag-manager/server-side/custom-domain.

When I checked to see if the new subdomain is working I get the following message:

Error: Page not found The requested URL was not found on this server.

I tried pinging my subdomain and it appears to be correct:

ping ***.***.***

Pinging ghs.googlehosted.com [142.251.36.51] with 32 bytes of data:
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119
Reply from 142.251.36.51: bytes=32 time=3ms TTL=119

Browsing to https://****/g/collect?v=2&tid=***** returns a 404

What step(s) could I have missed?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怪我鬧 2025-01-30 04:56:02

您是否更新了域中的DNS记录,因为您可以ping地址但无法访问网站,我认为DNS配置存在问题。

did you update the DNS records in the domain, since you can ping the address but can't access the site, I think there's a problem in the DNS configuration.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文