Custom dimension data not showing in analytics (using google tag manager)

亡梦爱人 提交于 2019-12-10 15:13:23

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/30051978/custom-dimension-data-not-showing-in-analytics-using-google-tag-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!