Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Universal Deep Links with Mandrill sub domain

I have Universal Deep Links working for my iOS app, Neighbourly (associated with neighbourly.co.nz)

We send out emails to our users and use Mandrill to track clicks. The email links go to a subdomain clicks.neighbourly.co.nz/path which points to mandrillapp.com/path and the links redirect to neighbourly.co.nz/newpath

Ive added applinks:clicks.neighbourly.co.nz to the apps associated domains.

My apple-app-site-association file's paths is a wildcard: ["*"]

But, while links to neighbourly.co.nz launch the app correctly, links to clicks.neighbourly.co.nz launch in Safari. What am I missing?

I can't find any info online about setting up subdomains for deep links

Does my apple-app-site-association file need to be hosted at mandrillapp.com?

like image 499
Fraser Avatar asked Jan 07 '23 03:01

Fraser


1 Answers

Mandrill's tracking may also be messing with the universal link.

I got around this by disabling mandrill tracking for my branch.io links

mc:disable-tracking is the key

In my template:

<a href="http://mybranchsubdomomain.mydomain.com/something" mc:disable-tracking>Disabled Mandrill URL</a>
like image 169
timbroder Avatar answered Jan 19 '23 03:01

timbroder