简体   繁体   English

使用测量协议的GA导入寿命值

[英]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.

相关问题 使用 GS 将数据从 GA4 runRealtimeReport 导入 Google Sheets - Using GS to Import data from GA4 runRealtimeReport into Google Sheets 通过 Measurement Protocol 向 Google Analytics 发送匹配的循环 - Loop for sending hits to Google Analytics via Measurement Protocol 使用应用脚本的测量协议向 Google Analytics 发出 POST 请求返回有效响应但不起作用 - POST Request to Google Analytics with Measurement Protocol from the App Script returns valid response but doesnt work 使用签名跟踪每封电子邮件(非广告系列)使用Google Analytics(分析)打开的电子邮件 - Using signature to track email open with GA per email (not campaign) 使用应用脚本从 GA4 数据 API 中提取报告 - Using App Script to Pull Reports from GA4 Data API Google Apps Script:如何使用 Google App Script 从单个 GA 帐户创建用户列表并每月一次将其邮寄到 CSV - Google Apps Script: how to create user list from single GA account using Google App Script and mail it in CSV once a month Chrome扩展程序与GA Script对话? - Chrome extension talking to GA Script? 没有所有者的 Google Apps 脚本的生命周期? - Lifetime of a Google Apps script with no owner? 测量电子表格内置函数的执行时间 - Measurement of execution time of built-in functions for Spreadsheet 尝试使用谷歌导入功能抓取网页 - Trying to Scrape a Web using google import function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM