Wordpress Shortcode Forms while capturing page data
SOLVE
We are using WooCommerce and we have product pages IE: Elevator, or Chairlift so on. If a user lands on the Elevator product we want to give them the opportunity to talk to sales rep, We have integrated a hubspot form on the product page using a wordpress hubspot shortcode.
Here is are issue unless we explicity ask them in the form, and we don't want to ask them the price the product so on to save them time, how does the sales rep know what product they were looking at?
Is there anyway to capture the information from the page and have it sent with the form submission, at the very least the URL so the sales rep could click on the url and see what product they were looking at.
Mar 27, 20248:11 AM - edited Mar 27, 20248:12 AM
Key Advisor
Wordpress Shortcode Forms while capturing page data
SOLVE
You will probably do this in a more programmatic way then to simply set the numbers manually per page. So for instance in the onFormReady or onFormSubmit functions you could run something like:
The function you choose will depend on whether the information is known to the system when the form generates or whether it will be passed to the form via the page after the user makes choices.
Mar 27, 20248:11 AM - edited Mar 27, 20248:12 AM
Key Advisor
Wordpress Shortcode Forms while capturing page data
SOLVE
You will probably do this in a more programmatic way then to simply set the numbers manually per page. So for instance in the onFormReady or onFormSubmit functions you could run something like:
The function you choose will depend on whether the information is known to the system when the form generates or whether it will be passed to the form via the page after the user makes choices.