deep link (to the future)

29
Deep Link (to the Future) Akash Gupta Ashish Tyagi

Upload: akash-gupta

Post on 11-Apr-2017

38 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: Deep Link (to the Future)

Deep Link (to the Future)

Akash Gupta Ashish Tyagi

Page 2: Deep Link (to the Future)

Brief Overview● About Deep linking● Traditional Approach● Universal Links● Case Study● Techniques and Applications

Page 3: Deep Link (to the Future)

App Stats

Page 4: Deep Link (to the Future)

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)

The Traditional WayURL Schemes

my-app://com.myapp.fooBarIdentifier

Page 6: Deep Link (to the Future)

And in the App Delegate:

Page 7: Deep Link (to the Future)

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)

Universal Links● Native first, browser second● Available iOS 9 onwards

Page 9: Deep Link (to the Future)

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)

Entitlements File

Page 11: Deep Link (to the Future)

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)
Page 13: Deep Link (to the Future)

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)

Akash Reacts

Page 15: Deep Link (to the Future)

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)

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)

Universal Links are Frustrating

Page 18: Deep Link (to the Future)

● 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)

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)

What if the App is not even installed yet?

Page 21: Deep Link (to the Future)

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)

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)

Third Party Providers

Page 24: Deep Link (to the Future)

Let’s Play Some Golf

Page 25: Deep Link (to the Future)

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)

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)

Prepared for the Future!

Page 28: Deep Link (to the Future)

Questions...