amitiitr11 / analytics-api-samples

Automatically exported from code.google.com/p/analytics-api-samples
0 stars 0 forks source link

EasyTracker doesn't handle custom variables #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:
1. Try to track custom variables with EasyTracker
2. ???
3. Don't enjoy

Original issue reported on code.google.com by adrienbe...@gmail.com on 6 Feb 2012 at 12:22

GoogleCodeExporter commented 9 years ago
Hi, you are right, EasyTracker doesn't support setting custom vars (in Android, 
at least). However, you could set them via the 
GoogleAnalyticsTracker.getInstance().setCustomVar. Since the GA tracker is 
singleton it will be the same as doing it through EasyTracker.

Original comment by klinger....@gmail.com on 19 Apr 2012 at 7:09

GoogleCodeExporter commented 9 years ago
BTW, I don't know if it is wise to use the GoogleAnalyticsTracker outside the 
thread that EasyTracker created, so use it at your own risk!

Source:
https://developers.google.com/analytics/devguides/collection/android/devguide#kn
ownIssues

Original comment by klinger....@gmail.com on 20 Apr 2012 at 1:25

GoogleCodeExporter commented 9 years ago
Hi, r45* solved this issue.

*http://code.google.com/p/analytics-api-samples/source/detail?r=45

Original comment by klinger....@gmail.com on 22 Apr 2012 at 10:02