gpt4 book ai didi

ios - Firebase Analytics 和 Google 标签管理器 : Event name is reserved

转载 作者:行者123 更新时间:2023-11-28 08:17:18 25 4
gpt4 key购买 nike

我在 cocoapods 上集成了 Firebase 和 GTM:

pod 'Firebase/Core'
pod 'GoogleTagManager', '~> 5.0'

所用版本的 Podfile.lock :

  • Firebase/Core (3.12.0):
    • FirebaseAnalytics (= 3.6.0)
    • FirebaseCore (= 3.4.7)
  • FirebaseAnalytics (3.6.0):
    • FirebaseCore (~> 3.4)
    • FirebaseInstanceID (~> 1.0)
    • GoogleInterchangeUtilities (~> 1.2)
    • GoogleSymbolUtilities (~> 1.1)
    • GoogleToolboxForMac/NSData+zlib (~> 2.1)
  • FirebaseCore (3.4.7):
    • GoogleInterchangeUtilities (~> 1.2)
    • GoogleSymbolUtilities (~> 1.1)
    • GoogleToolboxForMac/NSData+zlib (~> 2.1)
  • FirebaseInstanceID (1.0.8)
  • GoogleAnalytics (3.17.0)
  • GoogleInterchangeUtilities (1.2.2):
    • GoogleSymbolUtilities (~> 1.1)
  • GoogleSymbolUtilities (1.1.2)
  • GoogleTagManager (5.0.8):
    • FirebaseAnalytics (~> 3.0)
    • GoogleAnalytics (~> 3.0)
    • GoogleUtilities (~> 1.3.0)
  • GoogleToolboxForMac/Defines (2.1.1)
  • GoogleToolboxForMac/NSData+zlib (2.1.1):
    • GoogleToolboxForMac/Defines (= 2.1.1)
  • GoogleUtilities (1.3.2):
    • GoogleSymbolUtilities (~> 1.1)

并按照集成文档中的步骤进行操作,但我收到了这些警告:

<FIRAnalytics/ERROR> Event name is reserved. Ignoring event: user_engagement
<FIRAnalytics/ERROR> Event name is reserved. Ignoring event: first_open

我知道这些是保留事件,所以我不会发送这些。 GTM 和 Firebase Analytics 之间是否存在集成问题?

编辑

我从配置文件中删除了“.json”扩展名。日志说:

GoogleTagManager warning: No default container found. Container needs to be added to a container folder and added to the target.
Configuration was not found in database. The configuration will be fetched from the network when necessary
Firebase Analytics is ready to receive events
Firebase Analytics enabled
Fetching configuration from the server
Downloading data. Host: https://app-measurement.com/config/app/1:...
Successful fetched configuration from the server. Got network response. Code, size: 200, 106
Successfully parsed a configuration. Version: 1484056.........
Measurement data sent to network
Successful upload. Got network response. Code, size: 204, 0

有什么想法吗???

但是错误消失了???

任何想法

最佳答案

在我的例子中,问题是因为以错误的方式包含文件。请务必正确包含容器文件夹。提示:项目导航器中的文件夹图标颜色应为蓝色。

关于ios - Firebase Analytics 和 Google 标签管理器 : <FIRAnalytics/ERROR> Event name is reserved,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42249609/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com