# Deep Link in email to redirect URL

**URL:** <https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796>\
**Category:** APIs & Integrations\
**Tags:** email, developer-tools\
**Created:** [August 24, 2021, 3:14pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796 "2021-08-24T15:14:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MGoudy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mgoudy/32/93635_2.png) [@MGoudy](https://community.hubspot.com/u/MGoudy)\
**Post date:** [August 24, 2021, 3:14pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/1 "2021-08-24T15:14:27Z")

</div>

Hi, I am trying to create a deep link in my hubspot emails to my app via a dynamically generated link. The issue that I’m running into is that the generated link is something like [email.mydomain.com/](http://email.mydomain.com/)\<a whole bunch of generated characters\>, which then redirects to [app.mydomain.com/token/](http://app.mydomain.com/token/)\<token value\>.  
This works fine in the browser, but for deep linking into my app the [email.mydomain.com](http://email.mydomain.com) link is useless, as the generated characters are not something that my app can parse. Is there a way I can get the URL to deep link to the redirected [app.mydomain.com](http://app.mydomain.com) url?  
And if that isn’t possible, is there a way to have the generated link in the email go directly to the [app.mydomain.com](http://app.mydomain.com) url, instead of redirecting through the hubspot middleware at [email.mydomain.com](http://email.mydomain.com)?  
Thank you!

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [August 25, 2021, 1:45pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/2 "2021-08-25T13:45:01Z")

</div>

@himanshurauthan , is this something you have experience with?

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [August 26, 2021, 12:24pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/3 "2021-08-26T12:24:34Z")

</div>

Hello @MGoudy,

I think this post can help you - [https://community.hubspot.com/t5/HubSpot-Ideas/Support-for-apple-iOS-universal-links-deep-links/idi-p/173966](https://community.hubspot.com/t5/HubSpot-Ideas/Support-for-apple-iOS-universal-links-deep-links/idi-p/173966)

Regards,

---

<div class="post-metadata">

**Author:** ![MGoudy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mgoudy/32/93635_2.png) [@MGoudy](https://community.hubspot.com/u/MGoudy)\
**Post date:** [August 26, 2021, 4:49pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/4 "2021-08-26T16:49:55Z")

</div>

Hi @himanshurauthan , I’ve looked at that discussion and that’s not quite what I’m looking for. We were able to set the apple-app-site-association on the hubspot domain and have that link open the app, but my issue is that I need to be able to access the redirected URL inside the app. The emails generate an [email.mydomain.com/](http://email.mydomain.com/)\<bunch of characters\> URL which in the browser redirects to [app.mydomain.com/token/](http://app.mydomain.com/token/)\<token value\>. The app won’t redirect the URL the way a browser does.  
Is there a way to have Hubspot send emails that contain direct links to my website, without the redirect URL?

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [August 27, 2021, 10:02am UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/5 "2021-08-27T10:02:04Z")

</div>

Disabling email click tracking removes HubSpot’s tracking redirects from links in affected emails. However, this also means losing click-tracking data for those emails.

HubSpot documents marketing email click-tracking controls under Settings → Marketing → Email → Tracking. Check the available controls for your account and email type; don’t assume individual-email control is supported.

Regards,

_Moderator Note: this post was reviewed for relevancy and optimized for clarity on October 23, 2026. Thank you for your contributions to the HubSpot Community!_

---

<div class="post-metadata">

**Author:** ![KatieMarr](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/katiemarr/32/43030_2.png) [@KatieMarr](https://community.hubspot.com/u/KatieMarr)\
**Post date:** [September 7, 2021, 10:46pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/6 "2021-09-07T22:46:48Z")

</div>

Hi everyone! 👋

Just adding a quick update for anyone coming across this thread.

HubSpot now supports **turning off open and click tracking for individual marketing emails** , so you no longer necessarily need to disable tracking across your entire account.

In the marketing email editor, go to **Setup → Email Performance** and turn off **Track opens and clicks for this email**.

This option has a few configuration requirements, so I’d recommend checking HubSpot’s [email tracking documentation](https://knowledge.hubspot.com/marketing-email/manage-marketing-email-open-and-click-tracking) for the details.

If you’re working with mobile app deep links, this may help avoid HubSpot’s click-tracking redirects for those emails. I’d still recommend testing the links on both iOS and Android to confirm they open your app as expected.

Hope this helps!

* * *

@himanshurauthan I agree the only solution is to turn off all link tracking portal wide, but that is just not an option for us. So I’ve added an idea submission to allow control of email link tracking at the email or subscription type level (i.e. transactional vs regular vs automated, or newsletter vs. promo vs. product update, etc.). I’d appreciate an upvote from anyone to get this idea through to them.  
[https://community.hubspot.com/t5/HubSpot-Ideas/Control-email-link-tracking-at-email-or-subscription-type-level/idi-p/491157](https://community.hubspot.com/t5/HubSpot-Ideas/Control-email-link-tracking-at-email-or-subscription-type-level/idi-p/491157)

_Moderator Note: this post was reviewed for relevancy and optimized for clarity on October 23, 2026. Thank you for your contributions to the HubSpot Community!_

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [September 10, 2021, 2:20pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/7 "2021-09-10T14:20:43Z")

</div>

Yes, @KatieMarrI think this is the correct approach and I suggest going to with it.

Regards,

---

<div class="post-metadata">

**Author:** ![RGravener](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@RGravener](https://community.hubspot.com/u/RGravener)\
**Post date:** [November 18, 2022, 3:07pm UTC](https://community.hubspot.com/t/deep-link-in-email-to-redirect-url/42796/8 "2022-11-18T15:07:46Z")

</div>

You can also use the App Links Assistant in Android Studio to add Android App Links.  
…  
**Create Deep Links to App Content**

1. Open the user’s preferred

htaccess checker

]

that can handle the URI, if one is designated.

1. Open the only available app that can handle the URI.
2. Allow the user to select an app from a dialog.
