APIs & Integrations

DTittel
Member

Form API - Send UTM codes

What's the format for being able to include the utm codes when submitting information via the forms api?

0 Upvotes
4 Replies 4
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Form API - Send UTM codes

Hi @DTittel,

Are you looking to include them in the redirect URL? Or are you looking to somehow include them as custom properties?

0 Upvotes
DTittel
Member

Form API - Send UTM codes

Hi @Derek_Gervais

Whatever is best for inbound leads team to analyze data on a newly acquired lead. I've currently just added them as hidden fields to the form. As long as they can get cleanly maintain attribution for inbounds out of that I'm satisfied, but if there's a better way let me know.

Thanks,
Dylan

DTittel
Member

Form API - Send UTM codes

Currently using https://developers.hubspot.com/docs/methods/forms/submit_form can't seem to find any documentation for utms with this endpoint is there anything we can do?

InaSingat
Member

Form API - Send UTM codes

Hey,
I know it's been a while since you raised this issue, I was wandering if you came up with a solution? I'm currently facing the same problem. Trying to pass UTM params using the submit form API for a non HS form.
Can't seem to find anything to help me understand how to pass those fields.