我似乎遇到Google Tag& Google Analytics - 我做错了什么? [英] It seems I have problems with Google Tag & Google Analytics - what am I doing wrong?

查看:229
本文介绍了我似乎遇到Google Tag& Google Analytics - 我做错了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Google标记管理器和分析功能对公众实施了非公开着陆页(



可能不是因为我在Stackoverflow中看到相同的错误,但我想确保跟踪是正确的。房间里的任何专家?谢谢



解决方案

忽略这一点。这不是代码问题,这是Google Tag Assistant的一个问题。

Google Tag Manager不久前推出了7个字符的帐号,但Tag Assistant只识别旧的六字符格式,并标记新的帐户ID为错误。

另外Google最近更改了GTM代码集成的建议 - 现在可以将代码放在头部但是标签助手仍然会将此标记为错误。



尽管 - Chrome Google Analytics调试器扩展程序显示了两个Google Analytics(分析)跟踪器(一个带有当前的Universal Analytics,一个带有遗留的ga .js)跟踪到相同的属性。这很可能会导致双重跟踪。您应该删除旧版本。


I have a landing page "non-open" to the public with google tag manager and analytics implemented ( https://themowe.com/ ). And I obiously want to track visitors and his actions etc with Google Analytics and Google Tag.

I am pretty sure I have introduced the codes as Google advices, but when it comes to check the instalation with the Tag Assitant it gives me 4 errors.

May be it is nothing because I see the same errors here in Stackoverflow, but I want to make sure the tracking is correct. Any expert in the room? Thanks

解决方案

Ignore that. It's not a problem with your code, it's a problem with Google Tag Assistant.

Google Tag Manager introduced 7 character account numbers a while ago, however the Tag Assistant only recognizes the old six character format and flags newer account ids as errors.

Also Google changed the recommendations for GTM code integration recently - it is now fine to put the code in the head of the page, however the Tag Assistant still flags this as an error.

You still might have a problem, though - the Chrome Google Analytics Debugger extension shows two Google Analytics trackers (one with the current Universal Analytics, one with the legacy ga.js) that track to the same property. This will quite probably result in double tracking. You should remove the legacy version.

这篇关于我似乎遇到Google Tag& Google Analytics - 我做错了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆