Firebase如何帮助Google标记管理中的触发标记 [英] How does the Firebase help on firing tags in google tag management

查看:94
本文介绍了Firebase如何帮助Google标记管理中的触发标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图了解Firebase在Google标记管理中的作用.

I am trying to understand what is the role of firebase to the google tag management.

根据GTM文档记录事件和变量,您的Firebase Analytics实施将充当您的数据层".

According to the GTM document Log events and variables, "your Firebase Analytics implementation acts as your data layer".

并且在 Fire标签部分中,文档提到只要您记录Firebase事件,就会评估触发条件".

And in the Fire tags section, the document mentions "Trigger conditions are evaluated whenever you log a Firebase event".

我的问题是此"DataLayer" Firebase Analytics如何触发其他标签.这些标签是由Firebase服务器在用户应用程序外部触发的吗?

My question is how this "DataLayer" Firebase Analytics triggers the other tags. Are those tags triggered by the Firebase server outside users' apps?

或者Firebase Analytics与Google标记管理中的标记完全无关.

Or the Firebase Analytics is totally irrelevant to Tags in the Google tag management.

推荐答案

Google跟踪代码管理器(GTM)移动SDK依赖于Firebase Analytics中的事件. Firebase Analytics提供了一些自动收集的事件,可在触发代码时用作触发器

Google Tag Manager's (GTM) mobile SDK relies on events from Firebase Analytics. Firebase Analytics provides some Automatically Collected Events that will be available for use as triggers in when firing tags.

您还可以使用Firebase Analytics API记录自定义事件.您可以在开发人员中心文档中找到更多信息(可以找到用于记录事件的Android专用文档此处).使用Firebase Analytics记录的所有事件都可用作GTM中的触发器.从应用程序中记录这些事件后,GTM将触发带有相应触发器的代码.

You are also able to log custom events with the firebase analytics API. You can find more in the developer center documentation (Android specific docs for logging events can be found here). Any events logged with Firebase Analytics are available for use as triggers within GTM. When those events are logged from within the application GTM will fire tags with corresponding triggers.

这篇关于Firebase如何帮助Google标记管理中的触发标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆