Deep links have provided mobile app marketers and developers improved campaigns that show meaningful and optimized content at a click of a link. They improve conversions, activations, retention, engagement and attrition-risk resurrection of churned users.
When creating call-to-actions in an in-app notification, for instance, app marketers can link to a registered deep link within another app, a registered deep link within the same app, a link to a web page, a universal link or an app link to an app.
A web link can also call an app developer implemented web-hook passing additional data to personalize interactions and act on events.
The Pyze SDK first calls the specified link and the outcome (success, failure, deeplink not provided) is passed to the completion handler, or listener. This allows the app developer to handle the call to actions even in circumstances where the deep link failed.
Pyze supports Deep Links, Web Links, iOS Universal Links, Android App Links, and Facebook App Links. Pyze also allows self-linking and calling web-hooks directly from within the mobile or web app.
A deep link is a link to some content in a mobile app. An example of a deep link is:
Twitter app must register twitter:// so other apps may deep link to the specific page directly.
If the app is available on the user’s device, the operating system will ask for permission to open the app. If the app is not available, the operating system will alert the user that the app can not be opened.
Deep links usually point to some content on the page.
For instance, typing the following in Safari on an iOS device will open twitter app to the Pyze Page, if the twitter app is present on your device.
For instance, typing the following in Safari on an iOS device will open facebook app to the Pyze Page, if the facebook app is present on your device.
Is target app installed?
You can check to see if an app is installed before linking to a deep link. For instance use twitter:// to check if app is installed. If not redirect to the app store.
- In your app, test if twitter is installed by attempting to launch using the openURL: method
- Redirect to app store, if app not installed.
Once app is installed and user switches back to the app that launched twitter, the app has to re-execute the deep link
- Redirect to app deep link is app is installed
Web links are http: or https: links. They can point to a web page or be deep and point to content on a web page.
Including a web link as an call to action link would open the specified page in the mobile browser.
For example, you could send an in-app notification to your users when you have added a new article on your website about sharing your wishlist with your Facebook friends.
iOS Universal Links
Universal links allow using standard https: or http: links to deep-link into iOS apps, or download, install and deep-link directly to the app without involving a third party service, or requiring Safari app.
To enable universal links:
- You will need to establish trust and create an association between your website and app by placing a JSON file named “apple-app-site-association” in the root folder or in the .well-known subfolder of your website.
- Here is an example of an apple-app-site-association file from the dropbox website.The file references 8KM394JM3R.com.getdropbox.Dropbox, the application bundle for the dropbox app.
- You will need to establish trust and create an association between your app and website by adding your website domain to your app capabilities on Xcode.
- Prefix websites and websites with domains with applinks:E.g. applinks:www.dropbox.com, applinks:dropbox.com
- Dropbox added applinks: http://www.dropbox.com in the capabilities section of app identified by bundle Id 8KM394JM3R.com.getdropbox.Dropbox
- To support Universal Links in your app, you need to implement the application(_:continue:restorationHandler:) on your AppDelegate.
Here is an example of a universal link that should open either in safari or directly in the dropbox app if you have it installed:
To learn more about Universal Links, click here.
As indicated above, universal links allow using standard https: links to deep-link into iOS apps, or download, install and deep-link directly to the app without involving a third party service to process and host deep links. The app publishers’ app and website have full control.
Android App Links
App Links are the Android equivalent of Universal Links. An https: link points to both a website and content inside an app.
Custom URI schemes (e.g. twitter://user?screen_name=pyzeinc) are, however, fully supported by Android and many developers continue to use them.
Learn more about app links here.
Facebook App Links
You can link to web content, iOS apps and Android Apps supporting Facebook App links from Pyze.
The web content you are linking to needs to add metadata on the pages to support iOS and Android. You will need a custom url, app stroe ID for iOS or package ID for Android, and the name of the app that will handle the content. See Adding App Links to Your Existing Web Content. If your app is mobile only, see Using Facebook’s Mobile Hosting API for App Links.
You can specify a globally unique identifier that you code already understands and can parse to take a custom action within the completion handler, delegate or listner.
Unlike deep links, self links do not need to be registered and are primarily used to access a known implementation within the app.
For instance, a marketer may trigger the new user tour for users who did not use the app in a long time.
The agent can POST to a webhook specified by you along with key-value pairs in the body.
For instance: https://webhook.myservice.com/eventid/2342/. Key data for personalization or tracking is also sent to the server handling web-hook. For instance, “Recency” : “3 months”, “Model”: “iPhone 6,2”, “ppi”: “401”,…
Pyze can link to deep links within apps, open web apps in a mobile browser, link to universal and app links, link to Facebook Links and call Web hooks.