Create a Deeplink URL

Learn how to create a deeplink URL to track conversions and optimize ROAS with AnyTrack.io. Get step-by-step instructions for setting up this powerful tracking feature.

If you are promoting affiliate offers, sometimes you want to send traffic directly to the offer links without going through your website.

Popular use cases

  • Sending traffic from an email campaign directly to an an affiliate offer.
  • Social media Bio links.
  • Social media message promoting affiliate offers.

Since AnyTrack can only track your links when the AnyTrack Tag loads on your website, you have to find a way to fire the Anytrack Tag through a redirect.

In this guide, you will learn how you can create a deeplink that can be tracked as if the link was published on your website.

📘

Good to know: This feature is available from the personal plan and up.

What is a Deeplink?

In the context of the World Wide Web, deep linking is the use of a hyperlink that links to a specific, generally searchable or indexed, piece of web content on a website rather than the website's home page. The URL contains all the information needed to point to a particular item.

-Wikipedia

Using deeplink is very important for marketers as they can programmatically redirect visitors to different pages without having to manually create hard-coded links.

The anatomy of a deeplink:

A deeplink is usually composed of a base URL and a destination URL.

Here is a full deeplink URL which includes the base URL, and the destination URL

https://data.anytrack.app/deeplink?aid=y3Hd2xqGDbWy&url=https%3A%2F%2Fanytrack.io%2Fanytrack-affiliate-program%2F

The base URL is:

https://data.anytrack.app/deeplink

The destination URL:

https://anytrack.io/anytrack-affiliate-program/

🚧

Good to know:

It's best to encode the destination URL.

https%3A%2F%2Fanytrack.io%2Fanytrack-affiliate-program%2F

Once you have your deeplink, you can embed it in a short URL such as Bitly or Hubspot short URLs.

☝️

Prerequisites:

  1. An AnyTrack account with a personal or advanced plan.
  2. Access to your domain DNS configurations.
  3. Submit the request 👉 form
  4. DNS instructions will be sent via email

👍

Keep in mind: Once you've followed the instructions and your settings have been validated, you will be able to create your deeplinks following the instructions below.

How to create your deeplink

🚀 You can use this form to create your deeplinks. But please read below before you start generating your deeplinks.

Your base URL is always the same: (this is a real link)

https://data.anytrack.app/deeplink?aid=y3Hd2xqGDbWy&url=

This is the Property ID under which the traffic and conversions will be recorded

?aid=y3Hd2xqGDbWy

Step 1: Append the destination URL (encoded format) click here to encode your URL

This is the destination URL:

https://hubspot.sjv.io/c/169033/1178106/12893

This is the uncoded destination URL:

https%3A%2F%2Fhubspot.sjv.io%2Fc%2F169033%2F1178106%2F12893

The full deeplink URL should look like:

https://data.anytrack.app/deeplink?aid=y3Hd2xqGDbWy&url=https%3A%2F%2Fhubspot.sjv.io%2Fc%2F169033%2F1178106%2F12893

Redirecting to an offer link that is not part of the integration catalog:

If your offer link is not recognized by the AnyTrack Tag, you should manually append the subid and clickid parameters to your link.

For example, if your partner subid parameter iscustom_id you should manually add the parameter to your link as in the following example:

https://anytrack.io?custom_id=--CLICK-ID--

👍

Good to know: Now you can embed the final URL in a short URL provider such as Bitly, Replug, or Hubspot

🎯 Hubspot Short URL

https://hubs.li/Q01bs0Zf0

🎯 Replug Short URL (if you never heard about Replug, you should check them out)

https://share.top10review.app/f3a319e0

📘

For power users:

You can click on this banner and inspect the network tab with the redirect chain.

FAQ & Troubleshooting

  • Can i use deeplinks to advertiser on Google Ads or Facebook Ads?

    You can try, but it's unlikely to be accepted by the ad review. Ad platforms do not like redirect urls.
  • Can I use deeplinks in email campaigns?

    yes, that's definitely something you should do.

Troubleshooting

Follow these guidelines if the deeplink does not work as expected:

  • Check that the property is active and your account isn't limited.
  • Check that the destination URL is not malformed.
  • Check that your custom domain is pointing to the correct DNS records.

🚧

Good to know: The redirect chain does not rely on cookies to redirect the visitors to your destination URL. However, if the user has an ad blocker, the tag might get blocked and redirect might not work.