Skip to content

v2.0.6

Latest

Choose a tag to compare

@samwsimpson samwsimpson released this 20 Apr 21:34

Fixes & Improvements

  • Fail loud on misconfig: if a form's HubSpot Submit action is missing a valid Portal ID or Form GUID, the submission now shows an error and is logged, instead of silently pretending to succeed. Previously, tracking/analytics could fire conversion events for submissions that never reached HubSpot.
  • Accept embed code in form action fields: you can now paste the full HubSpot embed code (either v2 hbspt.forms.create({...}) or current <div data-form-id=...> format) into the Portal ID or Form GUID field. The plugin extracts the canonical values at submit time. The Form GUID field is now a 2-row textarea for this reason.
  • Fallback to site-wide Portal ID: if a form has a GUID but no Portal ID, the plugin now falls back to the Portal ID configured in plugin settings.