简体   繁体   中英

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)

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

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.

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 .

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.

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.

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM