Android 上的 Google Analytics 有哪些良好的约定?
我即将在 Android 应用程序中实现 Google Analytics 支持,但经过一番谷歌搜索后,文档似乎非常稀疏。 GA 的新手是否应该了解任何有用的约定或建议(即何时不触发综合浏览量/事件或其他内容)?
I'm about to implement Google Analytics support in an Android app, but after some googling, the documentation seems delightfully sparse. Are there any useful conventions or advice (i.e. when not to trigger pageviews/events, or something) that a newcomer to GA should know?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我还使用事件来报告异常,以防用户懒得点击“报告”按钮。对于您在内部处理但想要理解和处理用户错误的异常也很有用。
后者的一个例子 - 我有一个数字 EditText (甚至有 inputType:number),但用户仍然找到方法来触发我用默认值处理的 NumberFormatExceptions。当我看到我处理过这个案例多少次时,我意识到我需要更好地解释如何使用该字段。
I also use events to report exceptions in case users are too lazy to hit the 'Report' button. Also useful for exceptions that you handle internally but want to understand and deal with user error.
An example of the later - I have a numeric EditText (that even has inputType:number) but users still find ways to trigger NumberFormatExceptions that I handle with a default value. When I saw how many times I handled this case, I realized that I needed to better explain how to use that field.
就我个人而言,我每次活动仅使用一次页面浏览量。
然后,我映射并记录用户交互事件(按钮触摸、项目选择等)。
几乎与真实网站相同。
Personally I use page views only one per activity.
Then I map and record events on user interaction (button touch, item selection and so on).
Practically the same as a real website.
与 Android 应用中的 Google Analytics(分析)相关 - 处理多项活动
Related to Google Analytics in Android app - dealing with multiple activities