【问题标题】:How to collect demographic data for Google Analytics in Xamarin.Forms with KSemenenko plugin?如何使用 KSemenenko 插件在 Xamarin.Forms 中收集 Google Analytics 的人口统计数据?
【发布时间】:2018-01-19 16:22:35
【问题描述】:

我第一次在移动项目上使用 Google Analytics,我对我现在使用的插件有一些疑问,如下:

https://github.com/KSemenenko/GoogleAnalyticsForXamarinForms

这也是我的初始化代码:

GoogleAnalytics.Current.Config.TrackingId = Keys.AnalyticsKey;
GoogleAnalytics.Current.Config.AppId = Globals.PackageName; 
GoogleAnalytics.Current.Config.AppName = Globals.ApplicationName;
GoogleAnalytics.Current.Config.AppVersion = Globals.Version;
GoogleAnalytics.Current.InitTracker();

这是完美的工作,也是我的自定义指标,但我需要访问人口统计信息来创建基于年龄/性别的用户组......我不知道如何使用这个插件来实现该部分。

也许我需要另一个?我正在使用适用于 Android 和 iOS 的 Xamarin.Forms PCL 项目,以防万一。

希望你能帮助我,我有点迷茫。

提前致谢。

【问题讨论】:

    标签: android ios google-analytics xamarin.forms demographics


    【解决方案1】:

    首先你不应该使用这个插件: - iOS 应用程序在后台模式下崩溃(定时器/中继器的错误) - 它不是官方的谷歌图书馆

    看看https://appcenter.ms,它的官方微软(阅读有关分析的更多信息:https://docs.microsoft.com/en-us/appcenter/analytics/

    【讨论】:

    • 是的,我知道 appcenter,但客户要求使用 Google Analytics。有没有推荐的插件来代替 Ksemenenko?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-18
    • 1970-01-01
    相关资源
    最近更新 更多