Convert HubSpot forms to HYROS-compatible format. Works with any embed type.
You've completed 0 training pages
Default HubSpot embed codes use iframes, which block HYROS from accessing the email field. This breaks escalation signals and lead tracking.
hs-form-html) which renders the form in the page DOM instead of an iframe. This lets HYROS read the email field.You need three values from your HubSpot embed code:
// Example HubSpot embed formats that work:
// Format 1: iframe
<iframe src="https://js-na2.hsforms.net/...?_hsPortalId=123456&_hsFormId=abc-123...">
// Format 2: div with data attributes
<script src="https://js.hsforms.net/forms/embed/123456.js" defer></script>
<div class="hs-form-frame" data-form-id="abc-123" data-portal-id="123456"></div>
// Format 3: hbspt.forms.create
hbspt.forms.create({ portalId: "123456", formId: "abc-123", region: "na1" })Replace the placeholders in this template with your values:
<!-- HubSpot Form (Developer Version for HYROS Tracking) -->
<!-- The HYROS Universal Script on your site will auto-detect email inputs -->
<script src="https://js.hsforms.net/forms/embed/developer/{PORTAL_ID}.js" defer></script>
<div class="hs-form-html" data-region="{REGION}" data-form-id="{FORM_ID}" data-portal-id="{PORTAL_ID}"></div>{PORTAL_ID} → Your Portal ID{FORM_ID} → Your Form ID{REGION} → Your region (na1, eu1, etc.)Make sure the HYROS Universal Script is in your website's <head> section. This script will automatically detect the HubSpot form email field once the form loads.
No additional setup needed - HYROS will automatically track form submissions!
<iframe src="https://js-na1.hsforms.net/...?_hsPortalId=8675309&_hsFormId=abc-123-def"></iframe><!-- HubSpot Form (Developer Version for HYROS Tracking) -->
<script src="https://js.hsforms.net/forms/embed/developer/8675309.js" defer></script>
<div class="hs-form-html" data-region="na1" data-form-id="abc-123-def" data-portal-id="8675309"></div>js.hsforms.netjs-eu1.hsforms.netjs-na2.hsforms.netjs-ap1.hsforms.netjs.hsforms.net with no region prefix, use na1 as your region value.defer attribute<head>hs-form-html class (not iframe)js-{region}.hsforms.net in script URLna1 if unsurePaste any HubSpot embed code and get the HYROS-compatible version automatically. No manual extraction needed!
Open Generator ToolQuestions about this implementation? Contact the development team.