简体   繁体   English

如何将 Google 标签管理器用于 iOS (swift) 与 GCP Recommendations AI?

[英]How to use Google Tag Manager for iOS (swift) with GCP Recommendations AI?

We are planning to make a recommendations engine for the features in the app and we were thinking about using GCP Recommendations AI.我们计划为应用程序中的功能制作一个推荐引擎,并且我们正在考虑使用 GCP Recommendations AI。 Then, we ran into some unclear areas due to lack of examples.然后,由于缺乏示例,我们遇到了一些不清楚的地方。

Can we use Google Tag Manager for iOS (with Firebase Analytics) to send real-time event data to GCP Recommendations AI?我们可以使用 Google Tag Manager for iOS(带有 Firebase Analytics)向 GCP Recommendations AI 发送实时事件数据吗? Could you please provide some docs/examples/articles that explains how (We are using Swift to code the app)?您能否提供一些文档/示例/文章来解释如何(我们使用 Swift 对应用程序进行编码)? It is possible for web sites, according to the docs .根据文档,web 站点是可能的。

You can not.你不能。 Unless it's not a native app.除非它不是本机应用程序。

If it is a web-app, then sure you can use the power of JS to send whatever you need to any endpoint.如果它是一个网络应用程序,那么确保您可以使用 JS 的强大功能将您需要的任何内容发送到任何端点。 We use Segment for real time personalization, but even that requires quite a lot of involvement from the app teams.我们使用 Segment 进行实时个性化,但即使这样也需要应用程序团队的大量参与。 And no, GTM is not helpful for native apps.不,GTM 对本机应用程序没有帮助。

If you already have custom analytics tracking implemented in your app, then there's a high chance that the devs used a wrapper around the firebase/gtm sdk to send events in a more comfortable way or add adequate logging.如果您已经在您的应用程序中实施了自定义分析跟踪,那么开发人员很有可能使用 firebase/gtm sdk 的包装器以更舒适的方式发送事件或添加足够的日志记录。 In that wrapper then, the devs could implement the event streaming to your GCP recommendations AI in case it has the capability to store data.然后,在该包装器中,开发人员可以将事件流式传输到您的 GCP 推荐 AI,以防它具有存储数据的能力。

If it does not, you can still set up a neat app engine (or a diffe.net endpoint) and stream data to it.如果没有,您仍然可以设置一个简洁的应用程序引擎(或 diffe.net 端点)和 stream 数据。 The app engine would allow you to tweak, sanitize and debug the data, after which you can stream them to something like Big Query, which your Recommendation AI would likely to be happy to work with.应用程序引擎将允许您调整、清理和调试数据,之后您可以将它们 stream 转换为 Big Query 之类的东西,您的 Recommendation AI 可能会很乐意与之合作。

I'm talking about app engine and big query because there's a nice repo I've used a few years ago... Here: https://github.com/MarkEdmondson1234/ga-bq-stream我说的是应用引擎和大查询,因为几年前我用过一个很好的回购...这里: https://github.com/MarkEdmondson1234/ga-bq-stream

This repo is attempting to use front-end GTM to stream events, but you won't be able to use it (unless you're dealing with a web app).此 repo 试图将前端 GTM 用于 stream 事件,但您将无法使用它(除非您正在处理 web 应用程序)。 So instead, you stream them in a very similar way from your analytics wrapper.因此,您 stream 以非常相似的方式从您的分析包装器中获取它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 GCP 中查找已部署的 Google 跟踪代码管理器服务器端版本 - Finding deployed Google Tag Manager server-side version in GCP 如何标记和 label Google GCP 负载均衡器? - How to tag and label Google GCP load balancers? 如何将iOS(swift)的POST请求实时发送到GCP? - How to send POST requests from iOS (swift) to GCP in real time? GCP Vertex AI 托管笔记本无法使用自定义容器 - GCP Vertex AI Managed Notebook cannot use custom container 如何通过 Flutter 使用 Google Secret Manager - How to use Google Secret Manager with Flutter 无法将 GCP 秘密管理器与 GCP 云功能(nodeJS)一起使用 - not able to use GCP secret-manager with GCP cloud functions(nodeJS) 如何使用 Vertex AI 在 GCP 中构建自定义管道 - How to build custom pipeline in GCP using Vertex AI 使用 firebase 的 Google 标签管理器服务器端标签 - Google tag manager server side tagging with firebase GCP AI notebooks 实际使用什么 docker 镜像? 无法从深度学习图像装载 Cloud Filestore - What docker image does GCP AI notebooks actually use? Cannot mount Cloud Filestore from the deeplearning image 我应该如何从 Google 标签管理器调用 Dialogflow CX Messenger 脚本? - How should I call a Dialogflow CX Messenger script from Google Tag Manager?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM