• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Marketing that's efficient and human? That's Loop Marketing.

    Explore HubSpot Academy's 39-video playlist and put it into practice.

    Start learning

Setting up reverse proxy breaks calls-to-action links

JNaughton
Participant

Hi there,

 

I am in the process of setting up CloudFront to act as a reverse proxy so we can redirect users based on their IP geolocation .

 

I am following this article: https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support

 

This seems to work except that all the calls-to-action buttons break. When clicking on one it opens a new tab with the following error message:

 

{"status":"error","message":"No portal supplied for XXXXXX.sites-proxy.hscoscdn10.net","correlationId":"fd268dcd-8223-4c5b-8d1b-ec8667b32e03"}

 

Where XXXXXX=HubID

 

Not sure what this means or why simple links are breaking? The HubSpot CTA don't seem to be direct links, I assume this is because they are capturing metrics? Any assistance here would be greatly appreciated.

1 Accepted solution
JNaughton
Solution
Participant

I ended up resolving this issue.

 

The problem ended up being it wasn't forwarding all query strings by default in the cache policy. Once I fixed this up, all the CTA started working.

View solution in original post

3 Replies 3
JNaughton
Solution
Participant

I ended up resolving this issue.

 

The problem ended up being it wasn't forwarding all query strings by default in the cache policy. Once I fixed this up, all the CTA started working.

Jaycee_Lewis
Thought Leader

Hi, @JNaughton 👋 Welcome to the community! I want to make sure you've seen this thread — Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!). It continues to have an active discussion.

 

Hey, @LMeert @coldrickjack @nikodev, do you have any experience with reverse proxies and HubSpot CTAs?

 

Best,

Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
JNaughton
Participant

Hi Jaycee

 

Yes I was referncing that article while trying to set it up but it doesn't specifically mention this problem

 

Cheers

Jake

0 Upvotes