只设置自定义维度值一次

只设置自定义维度值一次

本文介绍了只设置自定义维度值一次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能创建一个用户或会话级别的自定义维度,其值在用户第一次登陆产品时才设置一次?



例如,if产品的页面总是设置一个维度,是否有可能只考虑第一个值并忽略其余的(其他设置)。



GA中有什么会启用此功能,还是留给开发人员编写代码,以便只设置一次该值。 自定义维度将始终采取最新值(命中/会话/用户)。

维度的范围取决于应用程序。如果您打算将维度与会话级别指标(如转换率)一起使用,那么您需要在会话级别设置维度。



如果您只是对命中水平的指标(页面上的时间,事件,页面浏览量),那么一个命中水平的维度就足够了。

我的假设是,你对第一次交互对所产生的用户行为(以及可能的转换)具有影响。在这种情况下,您需要开发人员设置逻辑(通过Cookie或本地存储),仅在第一次发生时才发送此值。然后应将此值保存为会话(或用户)级别维度,然后可以像其他会话级别维度(例如源/媒体,设备等)一样使用该维度。注意:如果要设置用户级别维度,则此逻辑需要由开发人员决定,以确保所开发的逻辑与您的需求相关。

在附注中,这种逻辑也可以通过使用来设置的Google跟踪代码管理器,因为它允许写入Cookie /本地存储值,并对这些值进行评估。


Is it possible to create a user or a session level custom dimension whose value only gets set once when the user first lands on the product?

For example, if pages of a product always set a dimension, is it possible to only consider the first value and disregard the rest (the other sets).

Is there something in GA which would enable this or is it left to the developer to write code so that the value is set only once.

解决方案

Custom Dimensions will always take the most recent value (hit/session/user).

The scope of the dimension depends on the application. If you intend to use the dimension with session level metrics (such as conversion rate) then you will need to set the dimension at session level.

If you are only curious about hit level metrics (time on page, events, page views), then a hit level dimension would be sufficient.

My assumption is that you are curious about the impact that the first interaction has on the resulting user behaviour (and potentially conversion). In this case you will need your developer to set up logic (through cookies or local storage), to only send this value only on the first occurrence. This value should then be saved as a session (or user) level dimension, which you can then use like other session level dimensions such as source/medium, device, etc. Note: if you are setting up a user level dimension, this logic needs to be dictated to your developer to ensure that the logic developed is relevant to your needs.

On a side note, this kind of logic can also be setup through the use of Google Tag Manager, as it allows for the writing of cookies/local storage values, and evaluation of these values.

这篇关于只设置自定义维度值一次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 10:28