Tracking forms on external sites for use in automation

Hi everyone,

We have an external survey partner that is able to add custom code to their pages for us.

Our goal is to create automations/workflows based on whether users have submitted the completed form. Users are emailed a personalised url through Hubspot.

We had hoped to do that with CTA buttons, but they seem to require a fixed url for the form. We need to preserve a guid-like parameter that allows us to link the data to the contact.

Ideally, we give the partner a piece of code in which they can change “SurveyABC_2024” to “SurveyXYZ 2025” without us needing to make any changes in Hubspot.

We have looked at campaigns, tracking urls and CTAs but nothing seems to fit the bill.

How can we set this up?

Hi @SBINREV,
Great question, thanks for asking the Community!
I understand that you have an external site, using a HubSpot CTA and you’d like to have a dynamic URL to be able to track it.
Natively, at the moment, this is not possible.
I’ve noticed a similar idea already present in our Ideas Forum: Allow dynamic parameters in CTA URL. To contribute, you can upvote the existing idea and share more details about your specific use case in the comments.
However, I found these similar threads where it seems that with custom modules you should be able to have this:
- The solution from @Indra on this post “CTA long url”
- The solution from @alyssamwilie on this post “Dynamic parameter in CTA button”
I hope this helps!
Also, if anybody else has anything to add and/or share, please feel free to join in the conversation :)
Have a wonderful day!
Best,
Bérangère

Hi - thanks for your reply. Much appreciated.

I think Shay’s request comes closest. I am kind of surprised that it doesn’t always exist.

It looks like we are able to pull enough information from the reggular tracking javascript to meet our immediate needs, but it’s not ideal.