简体   繁体   中英

Google Analytics Android track variable

I want Google Analytics to track a particular variable in my app.

So for instance, a variable 'a' has a separate value for every user of the app, is it possible for me to display the average(sum of the value of'a' held by every user/number of users) of the value of the variable in a Google Analytics dashboard ?

As per my understanding goes, we can do this using Custom Dimensions and Metrics.

Now as per my understanding , a custom metric value gets added to the current value and not updated as such. That too , I'm having trouble understanding scope of a custom metric.

I'm also struggling to find any good example and advanced info on Custom Variables / Dimensions.

However to the problem you describe I would try a simpler approach. You can track event with its category, action, label. And also value .

Then, you'll have a category "ads", action "clicks", label "bannerA". And the value which could be any integer which will be represented as a sum of all values per total labels.

Example from Google Analytics dashboard if you set value 3 for each of those events: bannerA: 203 hits. Value 609. (203*3=609)

I'm not totally sure of this, so anybody with deeper knowledge and experience, correct me if I'm wrong.

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