Deep link in HubSpot

SOLVE
Highlighted
Regular Contributor

I would like to create a deep link, a json file needs to be uploaded in HubSpot with this URL: https://paymaya.com/.well-known/assetlinks.json  but this is not feasible since when I am trying to upload a file, it goes to the file directory of HubSpot and generates a link something like this: https://www.paymaya.com/hubfs/.well-known/assetlinks.json.

 

I tried the redirection under Settings, but I am getting this error:

"Reserved URL. The URL you used is reserved."

 

A little background, deep link works when a user is being redirected to a specific section in our app. So the scenario would be, we would send an email blast containing a promo link. When a user clicks on the link, it will be redirected to the specific section in the mobile app. Else, if the user doesn't have the app installed on the phone, it will redirect to the download page so the user can download the app.

 

Please advise on how to implement this please. Thanks.

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
HubSpot Moderator

Hey @big_truss93,

 

As stated by my colleague Derek on this thread - https://community.hubspot.com/t5/HubSpot-Ideas/Support-for-apple-iOS-universal-links-deep-links/idc-..., when looking to create a proxy redirect for a file that's in the file manager,

 

you must change the file's domain to a domain you have hosted with HubSpot. 

In this case, it looks like file - nextframe.json is hosted on the default file manager domains which are not supported by the proxy redirect process.

 

Could you change the domain to a doman you have hosted with HubSpot and see if it works?

Reply
0 Upvotes
6 Replies 6
Highlighted
HubSpot Moderator

Hi @alponce,

 

Sincere apologise for the delayed in response. 

 

As asked by Derek here:

is the original URL something you've copied directly from the file manager? 

Do you mind sharing a screenshot of the setup and the error that you're seeing on your HubSpot portal?

Reply
0 Upvotes
Highlighted
Occasional Contributor

I am having the same issue. Have you found any solutions yet?

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @big_truss93,

 

Are you also getting the following error:

"Reserved URL. The URL you used is reserved."?

 

If so, could you share with me the following details so that I can further troubleshoot this issue:

 

1. The portal ID in question

2. The URL and the URL that you'd like to redirect to

Reply
0 Upvotes
Highlighted
Occasional Contributor

Hey Wendy!

 

Yes I am getting the URL Reserved message.

 

The portal ID is: 4290574

 

I am trying to do a proxy redirect from this link:

https://www.promax.com/apple-app-site-association

 

to a file hosted in File Manager at this link 

https://cdn2.hubspot.net/hubfs/4290574/JSON%20Files%20for%20App%20Store/nextframe.json

 

I even tried switching the file in File Manager to our domain at this link:

https://www.promax.com/hubfs/JSON%20Files%20for%20App%20Store/nextframe.json

 

After talking to support I was told that the reason we can't do the redirect is that the File is hosted by HubSpot which is why the /hubfs/ is in the link.

 

I've passed this onto our Success Manager earlier this week and she's been taking good care of us, just waiting to hear back from the development team. 

 

In the meantime, we are looking into hosting the file on a domain that we own.

 

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @big_truss93,

 

As stated by my colleague Derek on this thread - https://community.hubspot.com/t5/HubSpot-Ideas/Support-for-apple-iOS-universal-links-deep-links/idc-..., when looking to create a proxy redirect for a file that's in the file manager,

 

you must change the file's domain to a domain you have hosted with HubSpot. 

In this case, it looks like file - nextframe.json is hosted on the default file manager domains which are not supported by the proxy redirect process.

 

Could you change the domain to a doman you have hosted with HubSpot and see if it works?

Reply
0 Upvotes
Highlighted
Occasional Contributor

I followed this article and was able to make it work, however I experienced something interesting.

 

In the article it says to make sure the file is in the "well-known directory." So the link to the page which is redirecting to the file is https://www.promax.com/.well-known/apple-app-site-association and it works.

 

However, in the settings for my page it has removed the ".well-known" and replaced it with just "/well-known" so it appears as this link https://www.promax.com/well-known/apple-app-site-association

NextFrame JSON.PNG

 

Not sure why it did that which was a bit confusing. But overall the redirect worked.