未在分析中显示的自定义维度数据(使用Google标记管理器) [英] Custom dimension data not showing in analytics (using google tag manager)

查看:111
本文介绍了未在分析中显示的自定义维度数据(使用Google标记管理器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在关注这个功能的许多实现指南,但还没有看到最终结果。我想要做的是非常标准的:将一个名为用户类型的自定义维度添加到UA。我的网站使用Google跟踪代码管理器。



以下是我的实施步骤:


  1. 在UA
    中创建自定义维度


  2. 创建一个数据层变量名userType


  3. 为我的Google Analytics页面视图标记添加了维度



  1. 为页面加载添加了以下代码: data-lang =jsdata-hide =falsedata-console =falsedata-babel =false>

      var dimensionValue = $('#user_type')。data('type'); dataLayer.push({'userType':dimensionValue});  



    1. 发布标签管理器更改


    2. 当通过标签管理器进行调试时,我看到以下输出:

    3. //i.stack.imgur.com/Zztiv.pngalt =在这里输入图片描述>


      1. 所有看起来合法吗?所以,为什么哦,为什么,当我去我的自定义报告,我看到这个:



      我很感激任何有关问题的想法可能是。



      谢谢,



      Uri

      解决方案

      您正试图将基于用户的维度和基于命中的度量结合起来。为您的报告尝试其他指标


      I've been following numerous implementation guides on this feature and have yet to see the final result. What i'm trying to do is very standard: Add a custom dimension called User type to UA. My site uses Google Tag Manager.

      Here are my implementation steps:

      1. Created a custom dimension in UA

      2. Created a Data Layer Variable name userType

      3. Added the dimension to my Analytics page view tag

      1. Added the following code to page load:

      var dimensionValue =$('#user_type').data('type');
      dataLayer.push({'userType': dimensionValue});

      1. Published the tag manager changes

      2. When debugging through tag manager I see the following output:

      1. All looks legit right? So, why oh why, when I go to my custom report, do I see this:

      I'd be grateful for any idea as to what the problem might be.

      Thanks,

      Uri

      解决方案

      You are trying to combine user based dimension and hit based metric. Try other metrics for your report

      这篇关于未在分析中显示的自定义维度数据(使用Google标记管理器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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