# Parsing utm values from form submit

**URL:** <https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [December 28, 2018, 8:46pm UTC](https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624 "2018-12-28T20:46:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 28, 2018, 8:46pm UTC](https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624/1 "2018-12-28T20:46:41Z")

</div>

I am new to Hubspot and am trying to pass form fields onsubmit from an embedded form in Wordpress to a second form in wordpress, so I will have essentially a two step for (progressive). My research shows me I can do this in Hubspot landing pages but not in Wordpress due to the delay in cookie new contacts. Has anyone done something similar, or can recommend a workaround to this?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [December 31, 2018, 4:26pm UTC](https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624/2 "2018-12-31T16:26:04Z")

</div>

Welcome, [@myresman](https://community.hubspot.com/u/myresman).

To clarify, do you have two HubSpot forms embedded on your WordPress pages? Are you trying to pass the values from the first form to the second form via `utm` query parameters?

Could you also describe the research you’ve conducted in more detail? What do you mean by “but not in WordPress due to the delay in cookie new contacts”?

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 31, 2018, 4:29pm UTC](https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624/3 "2018-12-31T16:29:57Z")

</div>

I am trying to have the form submission data auto populate on a second form (so like progressive profiling), however when chatting with Hubspot support, they informed me that new form submissions would have a delay so we would not be able to use this because Hubspot would not know who the contact was due to the delay.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [January 2, 2019, 2:08pm UTC](https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624/4 "2019-01-02T14:08:50Z")

</div>

Thanks for clarifying, [@myresman](https://community.hubspot.com/u/myresman).

While support was correct that smart content will _not_ update a form with a contact’s information upon a form redirect (per the _Can I use smart content on a thank you page?_ section of [this page](https://knowledge.hubspot.com/articles/kcs_article/cos-general/smart-content-faq)), however there are other ways to support a progressive profiling or two-part form.

One way is to pass values with query parameters. You could use JavaScript (e.g. [this method](https://stackoverflow.com/questions/486896/adding-a-parameter-to-the-url-with-javascript) or [this method](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append)) to populate the second page’s query parameters with values from the first page’s form. The query parameter must match the _internal name_ (not label) of the form field you wish to populate. [This related post](https://integrate.hubspot.com/t/couldnt-find-target-container-hbspt-form-xxx/11144/6) contains an example.

Would you mind sharing the support ticket number? I’d like to make sure I close the loop for support.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 3, 2019, 3:29pm UTC](https://community.hubspot.com/t/parsing-utm-values-from-form-submit/12624/5 "2019-01-03T15:29:39Z")

</div>

Thanks, I will give this a try. Support ticket **[#2166840](https://app.hubspot.com/support/423830/ticket/2166840?source=email)**
