Pass additional web page info from WordPress using Hubspot Form

SOLVE
Highlighted
New Contributor

Currently we are receiving the HTML Title Tag for each page that a Hubspot form is embedded on. This is what we want. However since each page may have 2 similiar forms on the same page in two different areas they both come across and into our CRM with the Title Tag as the most recent conversion along with form name. Is there a way to pass a second piece of information (hidden field) that would differentiate between two forms on the same page so we can see exactly which form on the page was triggered? We do not want to create 2 separate forms to accomplish this. There has to be a way to use same form in 2 areas on same WordPress page and be able to tell which form was triggered. I welcome and apprecaite any feedback. We are currently using the Hubspot - Wordpress Plug-in.

Reply
0 Upvotes
2 Accepted solutions

Accepted Solutions
Highlighted
Advisor

Hi @mmartelli0803,

 

Thanks for the tag @JessicaH!

 

My approach to this problem might be a little different.

 

  1. First, in the options tab of the form URL I would select the option to redirect to a dedicated thank you page after submitting the form. 
  2. Next,  I would add a UTM parameter to the end of the URL of the thank you page to indicate which of the two locatons the form was submitted from.
  3. Then, I would copy and paste the form Embed code into WordPress by hand.
  4. Then, edit the UTM parameter to identify the other location.
  5. Copy and paste that embed code into WordPress.

You should then be able to track which form people are using by the UTM parameter.

 

The problem with using the plugin to add the form with the GUI is your statement that you don't want two different versions of the form.  If you save the form to add it this way, you can only save it with one version of the button code.  If you're willing to have two versions of the form, it's easy to track by either re-naming the form or populating data into a hidden field.

 

Other useful resources include:

 

Hope this helps!

-Trevor

If my post resolves your issue, please accept my post as a solution.
Highlighted
Top Advisor | Gold Partner

Hi @mmartelli0803 

 

You can customise the Embed Code and include a "formInstanceId".

 

"When embedding the same form on the same page twice, provide this Id for each identical form embed. The Id value is arbitrary, so long as it is not the same between forms."

 

More info here: https://legacydocs.hubspot.com/docs/methods/forms/advanced_form_options

 

Have fun

Mike

Reply
0 Upvotes
3 Replies 3
Highlighted
Community Manager

Hi @mmartelli0803,

 

I want to tag in a few subject matter experts who may be able to assist with this!

Hi @trevorjones71 @adamhorsman @Mike_Eastwood, do you have any suggestions for @mmartelli0803?

 

Thanks!

Jess 


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, in dem du deine Spracheinstellungen änderst !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


Reply
0 Upvotes
Highlighted
Advisor

Hi @mmartelli0803,

 

Thanks for the tag @JessicaH!

 

My approach to this problem might be a little different.

 

  1. First, in the options tab of the form URL I would select the option to redirect to a dedicated thank you page after submitting the form. 
  2. Next,  I would add a UTM parameter to the end of the URL of the thank you page to indicate which of the two locatons the form was submitted from.
  3. Then, I would copy and paste the form Embed code into WordPress by hand.
  4. Then, edit the UTM parameter to identify the other location.
  5. Copy and paste that embed code into WordPress.

You should then be able to track which form people are using by the UTM parameter.

 

The problem with using the plugin to add the form with the GUI is your statement that you don't want two different versions of the form.  If you save the form to add it this way, you can only save it with one version of the button code.  If you're willing to have two versions of the form, it's easy to track by either re-naming the form or populating data into a hidden field.

 

Other useful resources include:

 

Hope this helps!

-Trevor

If my post resolves your issue, please accept my post as a solution.
Highlighted
Top Advisor | Gold Partner

Hi @mmartelli0803 

 

You can customise the Embed Code and include a "formInstanceId".

 

"When embedding the same form on the same page twice, provide this Id for each identical form embed. The Id value is arbitrary, so long as it is not the same between forms."

 

More info here: https://legacydocs.hubspot.com/docs/methods/forms/advanced_form_options

 

Have fun

Mike

Reply
0 Upvotes