Is my URL syntax and encoding correct?

If your deep link is not directing you to the specified destination or returning an HTTP 404 error, first check your URL syntax and encoding. 

URLs typically use this syntax: scheme://host:port/path?query-string#fragment-id

Each part of a URL performs a different function and uses specific characters to identify and separate values. The scheme and host are not case-sensitive but the path and query-string are case-sensitive. A mistake in the composition of your URL will prevent it from opening as it should.

deep links url syntax

When setting up your deep link, pay attention to these conditions:

  • If you add an Adjust parameter to a URL query string already containing query parameters, use an &. Otherwise, any information after the second ? in a URL is dropped.
    • Correct example: https://abcd.adj.st/my?path=location&client=name&adjust_t=klm012
    • Incorrect example: https://z9pm.adj.st/my?path=location&client=name?adjust_t=klm012
  • If your query string is encoded, start it with a / or ensure it is part of a deeplink parameter. 

If your app is not already installed and these conditions are not met, the adjust_t parameter is dropped by the browser. Adjust needs this parameter to locate the source of the click; without it, we will return the HTTP 404 error URL not found.

Examples

Depending upon how your URL is set up, your deep link can have the following behaviors:

Deep link setupExample link URLBehavior
Link URL + deep_link parameterhttps://app.adjust.com/r40ncx7?deep_link=adjust%3A%2F%2F%3FpathOpens the app on the specified in-app page
Universal linkhttps://abcd.adj.st/%3Fpath?adjust_t=r40ncx7Opens the app on the specified in-app page
Universal linkhttps://abcd.adj.st/?path&adjust_t=r40ncx7Opens the app if it is already installed, but cannot reach the specified in-app page.
Universal linkhttps://abcd.adj.st%3Fpath?adjust_t=r40ncx7Is invalid and returns an error
deep links url syntax
Related Posts
Guide to Creating a Working Sales Plan
Public Sector Solutions

Creating a sales plan is a pivotal step in reaching your revenue objectives. To ensure its longevity and adaptability to Read more

50 Advantages of Salesforce Sales Cloud
Salesforce Sales Cloud

According to the Salesforce 2017 State of Service report, 85% of executives with service oversight identify customer service as a Read more

Web Pages That Helped With My Google Data Engineer Exam
Salesforce Certifications

Google Data Engineer Exam It seems like every day more resources appear to help you study for the Google Data Read more

What is Advanced Reporting in Salesforce?
Salesforce

Cross Filters, Summary Formulas, and More: Advanced Reporting in Salesforce Salesforce comes with report types out-of-the-box for all standard objects Read more