I'd like to create an ad on Facebook that targets mobile users in order to engage them with my app. The ad must open my app when the user clicks on it in case the app is already installed. Otherwise, it must take him to the Play Store.
I read the following tutorial that shows how to achieve what I want using a news feed story.
http://developers.facebook.com/docs/howtos/androidsdk/3.0/link-to-your-native-app
Unfortunately, it doesn't say anything about ads. I also read about app install campaigns, but they are only shown to people who don't have my app installed.
I want to offer discounts through my app to a segmented group of people on Facebook. That's why I need a campaign that handles deep linking and app installs.
Now it seems to be supported:
https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads-engagement/
Related
If a user clicks a hyperlink it should take the user to the app if installed or corresponding app in the Google play. After installation the auto fill in the login page with credentials in the hyperlink.
To do this which feature should I enable - Dynamic link or App Indexing or App Invite ?
Firebase Dynamic Links will work for your purpose.
App Invite generally serves similar purpose, but a bit less configurable. App Invite has built-in people picker.
App Indexing is different kind of library.
As a bonus the Firebase Dynamic Links will work with iOS App, if you have one.
I have implemented Deep linking into my App: when the app is installed in the phone, it will open the app, else clicking on the browser it will redirect to the Google Play Store and give user the option to download the app.
My requirement is something like, when the user after clicking on the link gets redirected to Google Play Store and downloads the app, after successful installation of the app, the app should identify the URL from which it got redirected to the play store. I want to know whether it can be done via reading the intent or any other procedure is available to identify the same.
What you're describing is called Deferred Deep Linking (Deep Linking refers to using a link to open your app directly to a specific piece of content, and Deferred means that it works even if the app isn't installed first).
Unfortunately there's no native way to accomplish this on either iOS or Android. The Google Play INSTALL_REFERRER could work in theory, but it's unreliable and often gets delivered too late (i.e., seconds to minutes of waiting) to provide a good UX. URL schemes don't work, because they always fail with an error if the app isn't installed. Universal Links in iOS 9+ and App Links on Android 6+ at least don't trigger an error if the app isn't installed, but you'd still have to handle redirecting the user from your website to the App Store. You still can't pass context through to the app after install with Universal Links and App Links, so you wouldn't be able to send the user to the correct item.
To make this work, you need a remote server to close the loop. You can build this yourself, but you really shouldn't for a lot of reasons, not the least of which being you have more important things to do. A free service like Branch.io (full disclosure: they're so awesome I work with them) or Firebase Dynamic Links can handle all of this for you.
you can use FCM deep linking check this link dynamic-links
I am interested in using FB App Invites and app links functionality so users can invite their friends. I want to be able to pass referral code as well.
I don't have a web server nor do I know if I should for this purpose. I am just too confused about the process
I followed the docs and I was able to generate an app link using FB hosting tool in the form of https://fb.me/123456789
I can use that in the App invite dialog that I will integrate in my android app.
Now my question is, how can I add referral code to that so when the new user download the app, the newly installed android app will receive that referral code?
Facebook's policy does not allow awarding for (all)invites/sharing/commenting/liking any more.
You could anyway implement it like airbnb that you award the user who is downloading the app with something, when being referred. If you only want to track conversions you should utilize Facebook's insights dashboar
Update
If you want to track Google Play reffs utilize this: https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#general-campaigns
I am quite new to mobile development. At the moment I am trying to run a mobile app (iOS and Android) advertising campaign on Adwords, iAd, Twitter and Facebook.
I would like my ads to deep-link into a specific section of the app (closest to a check out page).
Could a more seasoned developer explain what will happen in the following scenarios:
Person using iOS sees an ad on Google or Apple's ad network, or Facebook, or Twitter, and then clicks on the ad. The ad has a deep-link which tries to open the app and send the user to a particular screen. However, the user doesn't have the app. Question 1: What happens? Question 2: If there is an error, then how can this sort of user journey be fixed?
Person using ANDROID sees an ad on Google, or Facebook, or Twitter, and then clicks on the ad. The ad has a deep-link which tries to open the app and send the user to a particular screen. However, the user doesn't have the app. Question 1: What happens? Question 2: If there is an error, then how can this sort of user journey be fixed?
Thank you very much!
~Aivoric
If you want to deeplink to a specific piece of content inside an app from an advertisement or any other link on the internet then you need to look at contextual deeplinking.
Without contextual deeplinking...
In both cases, if the user previously had the app installed (but removed it) then the user will likely experience a popup error. I'm very confident of this happening in iOS -- a Safari "error" message gets displayed. There's no native fix with iOS that I'm aware of. You'll need to sync up with a 3rd party deeplinking standard that can handle platform detection and routing.
Contextual deeplinking would be one way to tackle all these issues because it would automatically detect if the app is or was previously installed. Then, it could drop information about the user context - what advertisement they came from along with any other deep link data - and carry this information into the app to direct the user to the deeplinked location.
I have an ad(android/iOS) campaign running on facebook. Currently on the app manager(ap dashboard) I'm getting the following information: Campaign reach, frequency, clicks etc but the 'mobile app installs' field is displaying 0 even after my friend installed it via the facebook ad. How to know how many people have installed my android/iOS app via a facebook ad?
Make sure you follow all the steps here https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads
Especially the section "Add the Facebook SDK". In it, it tells you where to call either
[FBAppEvents activateApp]; // for iOS
or
AppEventsLogger.activateApp(...); // for Android
Which tells Facebook that the app was successfully installed. Otherwise, Facebook would not know that the app was installed.
You can get userid of user when he/she logs in into your application, and store this id to server. And thus come to know how many people have installed your application.
I had the same problem but couldn't figure it out. Even on my app dashboard the 'mobile app installs' field is showing 0