使用Firebase进行应用程序链接跟踪 [英] App link tracking with Firebase

查看:145
本文介绍了使用Firebase进行应用程序链接跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个Android和iOS应用.我们想跟踪从什么链接下载了我们的应用程序.因此,如果我们在应用程序的Facebook上发布了一个链接,并且有人单击该链接并下载了该链接,则应该记录该应用程序已在Facebook上下载.

因此,通过一些研究,我发现Google Analytics(分析)有一个称为广告系列"的东西,您可以设置与此广告系列的链接,然后通过Google Analytics(分析)对其进行记录.但是我们已经将Firebase添加到了我们的应用程序中,因此当我尝试在Google Analytics(分析)上设置此广告系列时,将我带到Firebase,看来您不能同时拥有这两个.

如果我刚刚找到关于此的一些文档,我将通过Firebase进行.我唯一看到的是动态链接,但我认为这不会对我有帮助.

有人能为我指出正确的方向,以便我如何跟踪从我们的应用下载的链接吗?

解决方案

Alex的回答没问题,但需要针对iOS和Android进行额外的应用设置.此外,在Android上,如果您未安装应用,则链接会将您重定向到Play商店会变得很复杂. 有关深度链接的更多信息.

另一种方式: 由于 Firebase Analytics-归因-网络设置中尚不支持Facebook作为广告网络,因此您仍可以将引荐跟踪与适用于其他平台的Google工具一起使用-您只会看到InMobi或任何其他选择的网站而不是Facebook.您甚至可以封装Google Play或App Store的UTM参数-您还可以在其中衡量下载量(但不能衡量其他指标).

您可以使用以下链接(为我们的应用程序生成)下载(Google Play):

> https://app- measurement.com/redirect?gmpaid=1:45581111234567:android:94b75050a1234567&anid=inmobi&aclid= 1 & cn = 您的广告系列& adid = $ GPID& cs = Facebook& url = > https://play.google.com/store/apps/details?id = com.yourpackage

带有Play商店的参数

> https://app- measurement.com/redirect?gmpaid=1:45581111234567:android:94b75050a1234567&anid=inmobi&aclid= 1 & cn = 您的广告系列& adid = $ GPID& cs = Facebook& url = > https://play.google.com/store/apps/details?id = com.yourpackage %26referrer = utm_source%3Dfacebook%26utm_medium%3Dcpc%26utm_term%3Dyellow_submarine%26utm_content%3Dvote_for_stark%26utm_campaign%3Dgreat_ani >

We have an Android and iOS app. We want to track from what links our app was downloaded. So if we posted a link on Facebook of our app and someone clicks on the link and download it, it should log that the app was downloaded on Facebook.

So with some research I found Google Analytics has something called campaigns and you can setup a link with this campaign and then log it through Google Analytics. But we already added Firebase into our app so when I try to setup this campaign on Google Analytics it takes me to Firebase, it looks like you can't have both.

I will do it through Firebase if I just found some documentation on this. The only thing I saw was dynamic links but I don't think this is going to help me.

Can someone just point me in the right direction on how I can track from what link our app was downloaded?

解决方案

Alex's answer is all right but requires additional app set-up for both iOS and Android. Moreover, on Android, it's complicated with links that redirect you to Play store if you don't have app installed. More about deep linking.

Another way: Since Facebook is not yet supported as Ad-network in Firebase Analytics - Attribution - Network settings, you can still use referral tracking with Google tool meant for other platforms - you will just see InMobi or any other choosen site instead of Facebook. You can even enclose UTM parameters for Google Play or App store - where you can also measure downloads (but not other metrics).

You can use link for download (Google Play) like this (generated for our app):

https://app-measurement.com/redirect?gmpaid=1:45581111234567:android:94b75050a1234567&anid=inmobi&aclid=1&cn=your_campaign&adid=$GPID&cs=Facebook&url=https://play.google.com/store/apps/details?id=com.yourpackage

With parameters for Play Store

https://app-measurement.com/redirect?gmpaid=1:45581111234567:android:94b75050a1234567&anid=inmobi&aclid=1&cn=your_campaign&adid=$GPID&cs=Facebook&url=https://play.google.com/store/apps/details?id=com.yourpackage%26referrer=utm_source%3Dfacebook%26utm_medium%3Dcpc%26utm_term%3Dyellow_submarine%26utm_content%3Dvote_for_stark%26utm_campaign%3Dgreat_campaign%26anid%3Dadmob

这篇关于使用Firebase进行应用程序链接跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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