Universal Links and Deep Links: What's the difference?

James Haslam

Posted Mar 2, 2017

Universal links and deep linking are the talk of the industry, brought up as a complex and ongoing challenge that both app users and developers face. As a deep linking solutions provider we wanted to give some insight into the nature of universal links, and what differentiates them from the title of just ‘iOS deep links.’

What are ‘Universal Links’?

Universal links are Apple’s way of launching apps on their operating system from a website, also known as a web view. Broadly, there aren’t many differences between them and traditional deep links, other than their exclusivity to Apple devices as well as the ability to open a web page from an application.

Implementation is similar to a standard deep link, though instead of defining a custom URL scheme, a universal link matches a set of web pages to locations in-app. When a user opens a web page which is matched as described, iOS automatically redirects the user to the app.

Why do universal links exist when deep links already do the job?

The decision to introduce universal links was solely Apple’s. The developer page suggests the reasoning behind them, namely to do with security, privacy and flexibility. It may also have something to do with Apple wanting to own the experience, coupled with creating a more reliable system for iOS. Whatever the reason, Apple now owns and shapes a part of the deep linking ecosystem for a significant proportion of users.

Are there any problems that universal links created?

There are various technical restrictions when it comes to universal linking, from ‘the right corner evil’ to broken links that you should be aware of. Let’s take you through some of the ones that many come across:

The right corner evil

The right corner evil refers to the ‘breadcrumb’ in the top right of an iPhone or iPad, clicked on if a user wants to move from app to web view and back again.

When a user clicks on a universal link iOS looks at the user’s recent choices to determine whether to open an app or a web page. If the user has tapped a universal link to your app, and then opened your site in Safari by tapping the breadcrumb button, iOS will remember that choice, and continue to open the site in Safari, even if the user wants to go back to the app.

This user is essentially stuck in web view by mistake. iOS won’t re-open the app unless the user knows to tap in the Smart App Banner on the web page, and this can’t be reversed on the developer side - it’s up to the user to navigate through a banner, or press and hold until options open on the link, selecting ‘Open in App’.

Some users could then believe the app is somehow broken, whereas it’s the deep linking experience which is preventing them from accessing the application they want.

Broken links

Apps are continually updated to reduce size, release features, and to improve the experience. In some cases, a deep link in version 1 works fine, but in a new version the app and the in-app web view behave differently. This can change based on which version is installed - one link might work correctly, in other versions it may not. While Adjust can react to this, relying solely on universal linking could make the issue bigger.

This is another potential negative user experience that’s associated with the apps, not the OS. As with the right corner evil, developers and product managers could receive the blame for Apple’s implementation. Finding another solution with Adjust could help cut out the headaches.

Clicks stopping user flow in web view

There can be a couple of breaks that occur in Universal Linking:

  1. If the web view doesn’t support universal linking, or scheme based deeplinking, Adjust can’t deep link back into the application.
  2. As noted here ‘if you instantiate a SFSafariViewController, WKWebView, or UIWebView object to handle a universal link, iOS opens your website in Safari instead of opening your app.’ This means that even if a web view supports universal linking, but a click outside of the web view triggers initialization of the web view, universal links will not work.

In real terms, this breaks a user’s journey, potentially decreasing retention, and annoying your audience.

Is there a difference between Adjust’s deep links and Apple’s universal links?

While our deep linking service works cross-platform, we have integrated universal linking in order to include its functionality. While it is possible to use a single deep link per platform, the typical solution is to use the respective type of deep link on their separate platforms - and we’ve worked hard to ensure support for both.

What if I need more support when implementing universal links?

If you’re setting up for the first time, our documentation can help guide you through the process. However, we also have on hand a wealth of knowledge and expertise on the issue of deep links, universal links, and more. Be confident that if you can’t find it in writing, our support team will be able to help.

Want to know more about deep linking? Adjust’s deep link guide can give you great insight into exactly what they are, how they work, and what they can do to improve your app experience. Download it today!

Want more deep link expertise? Sign up to our mailing list below