deep link (to the future)
TRANSCRIPT
![Page 1: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/1.jpg)
Deep Link (to the Future)
Akash Gupta Ashish Tyagi
![Page 2: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/2.jpg)
Brief Overview● About Deep linking● Traditional Approach● Universal Links● Case Study● Techniques and Applications
![Page 3: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/3.jpg)
App Stats
![Page 4: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/4.jpg)
The RequirementWhat: Implement deep linking to our mobile apps.
Why: So that clicking on an ad can take users to the mobile app.
![Page 5: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/5.jpg)
The Traditional WayURL Schemes
my-app://com.myapp.fooBarIdentifier
![Page 6: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/6.jpg)
And in the App Delegate:
![Page 7: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/7.jpg)
Advertisement (linked-url)
Mobile Web Page(url-scheme)App
Installed?
Open App ?
Yes
No
Mobile AppYes
No Action
No Action
How it works
![Page 8: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/8.jpg)
Universal Links● Native first, browser second● Available iOS 9 onwards
![Page 9: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/9.jpg)
Advertisement (linked-url)
Mobile Web PageApp Installed?
Mobile App
Supports URL ? Mobile Web Page
Yes
Yes
No
No
How Universal Links Work ?
![Page 10: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/10.jpg)
Entitlements File
![Page 11: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/11.jpg)
App-Site-Association File { "applinks": { "apps": [], "details": [ { "appID": "9JA89QQLNQ.com.myOrganisation.myApp", "paths": [ "/feature1/subFeature/", "/videos/wwdc/2015/*", NOT /about] }, { "appID": "ABCD1234.com.myOrganisation.mySecondApp", "paths": [ "*" ] } ] } }
![Page 12: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/12.jpg)
![Page 13: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/13.jpg)
The Actual ProblemWhat : Implement deep linking to our mobile apps.
Why : So that business can track which marketing campaigns are generating how much revenue.
![Page 14: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/14.jpg)
Akash Reacts
![Page 15: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/15.jpg)
Traditional Analytics/App-Stitching
Advertisement (linked-url)
Redirects to mobile safari UserId Cookie ?
Yes
NoGenerate Cookie(Analytics
Library)
Append cookieId & campaign id to url-scheme
Open App with updated url scheme
![Page 16: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/16.jpg)
Limitations of Universal Links● Difficult to pass any additional parameters in Universal Links.● Universal Links do not work with redirects.● The user can also disable universal links altogether by innocently tapping on the
website breadcrumb that is shown on the top.● Difficult to debug and test because of all the various components involved.● Deep linking to intercept subdomain.
![Page 17: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/17.jpg)
Universal Links are Frustrating
![Page 18: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/18.jpg)
● A separate domain name for marketing links.● A server application responsible for routing traffic to the correct platform.● For desktop browsers, it is a simple matter of routing to the website.● For mobile browsers, a web page is generated with the deep link to the app.
Looking Towards New Domain Names
![Page 19: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/19.jpg)
Custom web page with Deep Link to
app
Domain Name just for Deep Linking?
Marketing URLCustom Redirect
Server(Track Ad Click)
Display content in app
Website or App Store
![Page 20: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/20.jpg)
What if the App is not even installed yet?
![Page 21: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/21.jpg)
Deferred Deep Linking● Resolve deeplinks immediately after app install from a Universal Link.● Device fingerprinting by link server before redirect to App Store.● App reaches out to link server for pending context on first launch.● Content displayed/action taken based on context.
![Page 22: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/22.jpg)
Deferred Deeplinking Explained
Deeplink URL
Custom Redirect Server
(Device Fingerprint)
App Not Installed
App Installed
App Store Install Page
Contact Deeplink Server for pending
context
Exchange deeplink with server for
context
Display custom content based on
context
App Opens Directly
![Page 23: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/23.jpg)
Third Party Providers
![Page 24: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/24.jpg)
Let’s Play Some Golf
![Page 25: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/25.jpg)
User Experience with Deferred Deeplinks● Personalized welcome screen flow● Redirect to content shown in App Install ad● Referrals/Invites can be resolved immediately● Discounts/Offers availed
![Page 26: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/26.jpg)
Harnessing the Power of Universal Links● Index app activities and content.
○ Native app indexing allows you to provide app content and user activities in Spotlight search.
○ Third party indexing such as that provided by Google can be used to provide deep linking into
your app through Google search.
● Promote content and not just the app.○ Using the above mentioned indexing tools one can create marketing campaigns that are dynamic
and work across platforms.
![Page 27: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/27.jpg)
Prepared for the Future!
![Page 28: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/28.jpg)
Questions...
![Page 29: Deep Link (to the Future)](https://reader031.vdocuments.net/reader031/viewer/2022021922/58d1af981a28ab98278b48a3/html5/thumbnails/29.jpg)
Useful Links● Deeplink Golf on Github● Universal Links Documentation
Thank You!