Aug 24, 2021 11:14 AM
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/<a whole bunch of generated characters>, which then redirects to app.mydomain.com/token/<token value>.
This works fine in the browser, but for deep linking into my app the 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 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 url, instead of redirecting through the hubspot middleware at email.mydomain.com?
Aug 25, 2021 9:45 AM
Aug 26, 2021 8:24 AM
I think this post can help you - https://community.hubspot.com/t5/HubSpot-Ideas/Support-for-apple-iOS-universal-links-deep-links/idi-...
Aug 26, 2021 12:49 PM - edited Aug 26, 2021 12:50 PM
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/<bunch of characters> URL which in the browser redirects to 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?
Aug 27, 2021 6:02 AM
We need to disable email tracking to use plain URLs ( but not sure if that's the right solution. )
Currently, we can't disable the email tracking per email level too.
Sep 7, 2021 6:46 PM
@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.