Legacy HubSpot Embed (paste here)

Detected portalId: 3885542
Detected formId: 3244bf4e-67e6-4503-a9ff-8ad7624dfa4b
Detected region: na1
Detected Cometly URL: https:

Modernized Embed (copy this)

Tip: Ensure your HubSpot form includes hidden fields with internal names: utm_source, utm_medium, utm_campaign, utm_term, utm_content.

Self‑tests

  • parseLegacy: extracts portalId/formId/region {"portalId":"3885542","formId":"3244bf4e-67e6-4503-a9ff-8ad7624dfa4b","region":"na1","cometlyUrl":"https:"}
  • parseLegacy: extracts Cometly URL https:
  • buildModernEmbed: includes onFormSubmitted
  • buildModernEmbed: includes UTM helpers
  • buildModernEmbed: includes appendUTMs() when enabled
  • buildModernEmbed: cometly present when enabled + URL provided
  • buildModernEmbed: cometly absent when disabled