gpt4 book ai didi

google-analytics - 谷歌分析 op_scope 用于页面跟踪

转载 作者:行者123 更新时间:2023-12-03 17:05:27 25 4
gpt4 key购买 nike

Javascript Google Analytics 提供了一个 setCustomVar 方法,允许我们提交将出现在报告中的自定义数据。但是,我不清楚 opt_scope 参数:

opt_scope   Optional. The scope used for the custom variable. Possible values are 1 for visitor-level, 2 for session-level, and 3 for page-level. 

https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration#_gat.GA_Tracker_._setCustomVar

我在哪里可以找到有关这三个选项的更多信息?

最佳答案

Tracking Custom Variables对 Google Analytics 中的自定义变量范围有很好的描述。

Each of these three levels of interaction defines a specific scope of visitor engagement. This distinction is important to custom variables because each custom variable is restricted to a particular scope. For example, you might want to know the number of sessions where visitors removed an item from their shopping cart. For that particular case, you would define the custom variable to the session level, so that the entire session for that visitor is flagged as one in which items were removed from online carts.

关于google-analytics - 谷歌分析 op_scope 用于页面跟踪,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14093633/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com