Firebase Google Tag Manager是否可以在没有GMS的设备上工作?

Firebase Google Tag Manager是否可以在没有GMS的设备上工作?,firebase,google-tag-manager,firebase-analytics,huawei-mobile-services,Firebase,Google Tag Manager,Firebase Analytics,Huawei Mobile Services,Google Tag Manager能否在没有Google移动服务或Firebase分析的设备上工作 例如:华为使用的手机没有谷歌服务,只有华为服务在运行。据我所知,谷歌标签管理器依赖于谷歌播放服务,这意味着它在没有谷歌移动服务或Firebase分析的设备上无法工作 华为还提供,帮助您动态灵活地管理手机、平板电脑或web平台上应用程序的跟踪代码,并根据需要监控营销和运营活动数据。您可以在华为手机上访问此服务 有关详细信息,请查看。 我希望它能有所帮助。没有谷歌移动服务的华为手机将无法使用谷歌标签

Google Tag Manager能否在没有Google移动服务或Firebase分析的设备上工作


例如:华为使用的手机没有谷歌服务,只有华为服务在运行。

据我所知,谷歌标签管理器依赖于谷歌播放服务,这意味着它在没有谷歌移动服务或Firebase分析的设备上无法工作

华为还提供,帮助您动态灵活地管理手机、平板电脑或web平台上应用程序的跟踪代码,并根据需要监控营销和运营活动数据。您可以在华为手机上访问此服务

有关详细信息,请查看。
我希望它能有所帮助。

没有谷歌移动服务的华为手机将无法使用谷歌标签管理器,但是,我们可以使用非常类似的编码来实现与谷歌手机相同的功能

我们可以使用稍微不同的代码和库构建apk,例如:

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    // Obtain the HiAnalyticsInstance instance.
    HiAnalyticsInstance instance = HiAnalytics.getInstance(this);
}

And adding tags with:

// Customize an event to report.
// Set the custom event name to Purchase.
String eventName = "Purchase";
// Customize event parameters.
Bundle bundle = new Bundle();
// Set a value of the Double type.
bundle.putDouble("price", 9.99);
// Set a value of the Long type.
bundle.putLong("quantity", 100L);
// Set a value of the String type.
bundle.putString("currency", "CNY");


// Report events.
if (instance != null) {
instance.onEvent(eventName, bundle);
}
我们可以注意到,这与应用程序编码非常相似。并全力支持分析跟踪受众