【问题标题】:Google analytics shows statics of different account谷歌分析显示不同账户的统计数据
【发布时间】:2017-12-06 14:45:51
【问题描述】:

我在谷歌分析中有两个网站帐户。在一个中,我在另一个中有旧站点 A 和新站点 B。它们都是相似的 wordpress 站点,具有不同的文章集。我已将分析脚本放在两个站点的头文件中

当我查看旧网站的实时报告时,它会显示我的新网站文章的一些网址?这两个网站之间没有链接或任何形式的联系

【问题讨论】:

    标签: wordpress google-analytics


    【解决方案1】:

    您是否在 Google 跟踪代码管理器中使用了相同的代码?含义...您在两个站点中是否有相同的代码?您将需要唯一的 GTM- 标识符...

    还要确保您在 Google 后端设置了不同的属性。

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-XXXX');</script>
    <!-- End Google Tag Manager -->
    
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    

    确保GTM-XXXX 在两者上都不同。

    【讨论】:

    • 让我检查一次
    • 如果我有多个网站,在同一个谷歌分析登录。我可以获得不同的标签管理器 ID 吗?
    • 您可以在一个帐户下创建多个属性。
    • 只是指出,这个问题实际上并没有提到谷歌标签管理器(尽管答案的逻辑同样适用于 GA sn-p)。
    • 你是对的,@Elike。也检查一下:support.google.com/analytics/answer/1008080?hl=en
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-05
    相关资源
    最近更新 更多