Google标签管理器设置一个自定义域
我正在尝试为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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否更新了域中的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.