• Help Desk reporting gives you real-time visibility into your support operation without the manual work. Ask our experts about which metrics matter most! AMA Dec 8-12.

    Ask us anything

Correct way of submitting HSA/UTM parameters with Form API

WbServiceBerger
Member

Hi, I send forms via the form API to HubSpot and would like to know the correct way of sending the HSA parameters. All I found is to send UTM parameters as properties, but I am unsure if these will be recognized by HubSpot Marketing Ads, so that contacts are associated with Google campaigns in HubSpot.

 

I cannot use the tracking code script in this particular case, but I do have the "hubspotutk" cookie available.

 

In short, since the tracking code cannot track HSA and UTM parameters, how should I submit them when submitting the form via the API, or is there another way to submit them alongside the form?

0 Upvotes
2 Replies 2
WbServiceBerger
Member

I had no luck sending the tracking parameters as properties.
I mean, this way I do have them in the contact but they are not recognized by hubspot.

As I can not send the drilldown parameters at all i tried to add the tracking parameter to [context][pageUri] and this did the job 🙂
Now I see the event under actions, that the user clicked the campaign.

0 Upvotes
Jaycee_Lewis
Thought Leader

Hey, @WbServiceBerger 👋 It sounds like you are on the right path. Sending these properties and their values along with the `hubspotutk` with your form submission is the correct approach. You can send the analytics property (HSA property) `hs_analytics_source` but you cannot send the two drill-downs, `hs_analytics_source_data_1` and `hs_analytics_source_data_2`, as these are automatically set based on values from the UTM properties. So some experimentation on your implementation is likely needed since you are operations without the tracking code in this use case. 

 

I'd recommend digging into both of these articles as they explain how these properties function so you can set up a test to see if it will work in your use case. 

Please don't hesitate to share an example request and response from your testing if you have additional challenges. Or please let us know how you ended up solving for this use case, I sure other community members have run into similar challenges.

 

Have fun testing! — Jaycee





loop


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

Learn More




0 Upvotes