简体   繁体   English

Google Analytics(分析)自定义维度

[英]Google analytics custom dimensions

i'm currently trying to add a custom dimension to google analytics. 我目前正在尝试向Google Analytics(分析)添加自定义维度。 The goal is to be able to have reports on what user did with their client_id. 目标是能够获得有关用户对其client_id所做的操作的报告。 So i've added a "client_id" custom dimension in Admin->property Name: client_id scope: hit Active : true 因此,我在Admin->属性名称中添加了“ client_id”自定义维度:client_id范围:hit Active:true

Then in my code just after the head i add : 然后在我的代码中紧随头部之后添加:

 gtag('config', 'UA-133344089-1', {
        'custom_map': {'dimension1': 'client_id'}
    });

    // Sends an event that passes 'client_id' as a parameter.
    gtag('event', 'client_id', {'client_id': 12});

But after that in a custom report where i add Metric group : pageviews And Dimension Drilldowns : client_id type:explorer 但是之后,在自定义报告中,我在其中添加了Metric组:综合浏览量和维度明细:client_id类型:explorer

I can then see the data from yesterday, but can't check the data of today and be sure i've send the client_id correctly. 然后,我可以查看昨天的数据,但无法检查今天的数据,并确保我已正确发送client_id。

Is there any way to check that in real time, so i don't have to wait for tomorrow to check if i get the client_id in Google Analytics ? 有没有办法实时检查,所以我不必等明天检查我是否在Google Analytics(分析)中获得了client_id? Also is this the good way to implement custom dimension to be able to see activities of each client (for exemple having a reporter with : Client_id:12, pageviews:20) ? 这也是实现自定义维度以查看每个客户端活动的好方法(例如,具有以下报告者的示例:Client_id:12,pageviews:20)?

Is there any way to check that in real time, so i don't have to wait for tomorrow to check if i get the client_id in Google Analytics ? 有没有办法实时检查,所以我不必等明天检查我是否在Google Analytics(分析)中获得了client_id?

The real-time api does not include custom dimensions and metrics. 实时api不包括自定义维度和指标。

I can then see the data from yesterday, but can't check the data of today and be sure i've send the client_id correctly. 然后,我可以查看昨天的数据,但无法检查今天的数据,并确保我已正确发送client_id。

The standard reports take between 24 - 48 hours before they complete processing you will need to wait until then before you can check it. 标准报告需要24到48小时才能完成处理,您需要等到那时才能检查它。

Also is this the good way to implement custom dimension to be able to see activities of each client (for exemple having a reporter with : Client_id:12, pageviews:20) ? 这也是实现自定义维度以查看每个客户端活动的好方法(例如,具有以下报告者的示例:Client_id:12,pageviews:20)?

This should work fine just remember that you will need to send it on all requests. 只要记住您需要在所有请求上发送它,它就可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Google Analytics(分析)中取得具有自订维度的clientId - How to get clientId with custom dimensions in google analytics ionic应用程序中的Google Analytics(分析)自定义维度 - Google Analytics custom dimensions within ionic app 随时修改Google Analytics自定义维度 - Modify Google Analytics custom dimensions on the go 如何在Google Analytics(分析)中设置自定义维度 - How to set custom dimensions in Google Analytics Google Analytics 不发送带有网页浏览点击的自定义维度 - Google analytics not sending custom dimensions with pageview hits Google Analytics(分析)使用gtag发送两个自定义维度 - Google Analytics send two custom dimensions with gtag 在Google AnalyticsAPI中使用和查询自定义维度 - Using and querying Custom Dimensions in Google Analytics API 我的自定义维度和指标没有显示在Google Analytics(分析)中? - My Custom Dimensions & Metrics don't show in Google Analytics? 通过Google跟踪代码管理器在Universal Analytics中实现多值自定义维度 - Multivalue Custom Dimensions in Universal Analytics through Google Tag Manager 如何注册一个独特的页面视图以及如何使用自定义维度Google Analytics - How to register a uniquePageview and how to use custom dimensions google analytics
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM