How does the Firebase help on firing tags in google tag management

倖福魔咒の 提交于 2020-01-03 02:55:24

问题


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

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

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

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

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


回答1:


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.

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.



来源:https://stackoverflow.com/questions/39636030/how-does-the-firebase-help-on-firing-tags-in-google-tag-management

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!