[英]GA import lifetime value using measurement protocol
I'm currently using google-apps-script to upload match data on my crm id and a revenue value that I have, I'm looking to upload the data as revenue rather than to a custom dimension that i've defined of value (this currently works) 我目前正在使用google-apps-script在我的crm ID和我拥有的收入值上上传匹配数据,我希望将数据上传为收入,而不是上传到我已定义为价值的自定义维度(目前有效)
The import template I have currently is : 我当前拥有的导入模板是:
ga:dimension3, ga:dimension4
Again this allows me to map the keyed value to a secondary value however I'm looking to add the value to lifetime value
同样,这允许我将键值映射到辅助值,但是我希望将值添加到
lifetime value
I think this is possible because under User Data
in the create data import section of GA it says Import user data such as customer segment, lifetime value or contract renewal month.
我认为这是可能的,因为在
User Data
GA中的创建数据导入部分,它说Import user data such as customer segment, lifetime value or contract renewal month.
This is using the data measurement protocol so I'm hoping this is the right place to post, if not could you please show me a better place to post this. 这是使用数据测量协议的,所以我希望这是发布的正确位置,如果不能,请告诉我一个更好的发布位置。
If you are talking about data import, that's not possible via the measurement protocol. 如果您正在谈论数据导入,那么通过测量协议是不可能的。 Data import is a feature of the management API .
数据导入是管理API的功能。
Mind you that in a standard GA account imported data is applied to incoming hits and does not change data that is already collected (a GA360 account has the "query time import" feature that let's you apply imports to historical data), so this might somewhat less useful than you imagine. 请注意,在标准GA帐户中,导入的数据将应用于传入匹配,并且不会更改已收集的数据(GA360帐户具有“查询时间导入”功能,可让您将导入应用于历史数据),因此这可能有些比您想象的要有用。
The description you quoted does not refer to the lifetime report in GA (the data import feature precede that report), they are simply suggesting you can import a custom dimension and set it to a lifetime value. 您引用的说明未引用GA中的有效期报告(该报告之前的数据导入功能),只是建议您可以导入自定义维度并将其设置为有效期值。
Of course if you have the clientid/userid for the respective user you can simply send a "fake" hit with a user scoped custom dimension (but this, too, will not go into the lifetime value report). 当然,如果您具有相应用户的clientid / userid,则可以简单地发送带有用户范围的自定义维度的“假”匹配(但这也不会纳入生命周期价值报告中)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.