{
  "audit_date": "2025-11-28T13:43:39.595439",
  "audit_version": "1.0",
  "portal_id": "145133546",
  "total_forms": {
    "hubspot_embedded": 1,
    "custom_html": 16,
    "api_based": 8
  },
  "acquisition_forms": {
    "hubspot_embedded": [
      {
        "form_id": "ad1036ce-33ec-463b-adde-2fa546324c8a",
        "form_name": "SDR Form (HubSpot Embedded)",
        "portal_id": "145133546",
        "region": "eu1",
        "target_container": "#hubspot-sdr-form-container",
        "type": "hubspot_embedded",
        "purpose": "SDR lead capture",
        "affiliate_capture": true,
        "file": "v2/base/include_form-hubspot-sdr.php",
        "page_locations": ["/sdr", "/sdr-neu"],
        "gtm_tracking_id": "hubspot-sdr-form"
      }
    ],
    "custom_html": [
      {
        "form_id": "demo-form",
        "form_name": "Main Lead Capture Form",
        "action": "/form-hs",
        "type": "custom_html",
        "purpose": "Primary lead capture form",
        "file": "v2/base/include_form-hs.php",
        "page_locations": "Component (included in multiple pages)",
        "hubspot_form_guid": "9b93ee13-fad2-4ce8-8ea2-4e588932af2a",
        "gtm_tracking_id": "demo-form-main",
        "affiliate_capture": true
      },
      {
        "form_id": "demo-form",
        "form_name": "SDR Lead Capture Form",
        "action": "/form-hs",
        "type": "custom_html",
        "purpose": "SDR lead capture",
        "file": "v2/base/include_form-hs-sdr.php",
        "page_locations": ["/sdr", "/sdr-neu"],
        "hubspot_form_guid": "9b93ee13-fad2-4ce8-8ea2-4e588932af2a",
        "gtm_tracking_id": "demo-form-sdr",
        "affiliate_capture": true
      },
      {
        "form_id": "content-form",
        "form_name": "Gated Content Form",
        "action": "/form-hs",
        "type": "custom_html",
        "purpose": "Gated content download (whitepapers, guides)",
        "file": "v2/base/include_form-gated-content.php",
        "page_locations": "Component (included in download pages)",
        "hubspot_form_guid": "c74e1237-6b52-4a16-bac7-daaf98881e63",
        "gtm_tracking_id": "content-form",
        "affiliate_capture": true
      },
      {
        "form_id": "content-form",
        "form_name": "Webinar Registration Form",
        "action": "/form-hs",
        "type": "custom_html",
        "purpose": "Webinar registration",
        "file": "v2/base/include_form-webinar.php",
        "page_locations": "Component (included in webinar pages)",
        "hubspot_form_guid": "c74e1237-6b52-4a16-bac7-daaf98881e63",
        "gtm_tracking_id": "content-form-webinar",
        "affiliate_capture": true
      },
      {
        "form_id": "emailForm",
        "form_name": "Hero Email Form",
        "action": null,
        "type": "custom_html",
        "purpose": "Quick email capture for hero sections",
        "file": "v2/base/include_email_form.php",
        "page_locations": "Component (included in hero sections)",
        "hubspot_form_guid": "c1d24914-f2a2-4371-b12a-7217553f5897",
        "gtm_tracking_id": "email-form-hero",
        "affiliate_capture": true
      },
      {
        "form_id": "emailForm",
        "form_name": "Cello Email Form",
        "action": null,
        "type": "custom_html",
        "purpose": "Cello referral email capture with ucc/celloN attribution",
        "file": "v2/base/include_email_form.php",
        "page_locations": ["/einladung"],
        "hubspot_form_guid": "a47cfeb7-4d00-4a76-971d-23a82739fb15",
        "gtm_tracking_id": "email-form-cello",
        "affiliate_capture": true
      },
      {
        "form_id": "lead-capture-form-step1",
        "form_name": "Lead Capture Popup - Step 1",
        "action": null,
        "type": "custom_html",
        "purpose": "Two-step progressive lead capture (step 1)",
        "file": "v2/components/lead-capture-popup.php",
        "page_locations": "Component (triggered on various pages)",
        "hubspot_form_guid": "9f9d4e35-d8d9-4283-93b6-1a789e0a1281",
        "gtm_tracking_id": "lead-capture-step1",
        "affiliate_capture": true
      },
      {
        "form_id": "lead-capture-form-step2",
        "form_name": "Lead Capture Popup - Step 2",
        "action": null,
        "type": "custom_html",
        "purpose": "Two-step progressive lead capture (step 2)",
        "file": "v2/components/lead-capture-popup.php",
        "page_locations": "Component (triggered on various pages)",
        "hubspot_form_guid": "9f9d4e35-d8d9-4283-93b6-1a789e0a1281",
        "gtm_tracking_id": "lead-capture-step2",
        "affiliate_capture": true
      },
      {
        "form_id": "supper-club-form",
        "form_name": "Supper Club Event Form",
        "action": "/html/form-hs.php",
        "type": "custom_html",
        "purpose": "Event registration (Supper Club)",
        "file": "v2/pages/event_supper_club.php",
        "page_locations": ["/event-supper-club"],
        "hubspot_form_guid": "c74e1237-6b52-4a16-bac7-daaf98881e63",
        "gtm_tracking_id": "supper-club-form",
        "affiliate_capture": true
      },
      {
        "form_id": "webinar-registration-form",
        "form_name": "Webinar Registration Form (Product Pages)",
        "action": null,
        "type": "custom_html",
        "purpose": "Webinar registration on product pages",
        "file": "v2/pages/product_webinar.php",
        "page_locations": ["/product/webinar"],
        "gtm_tracking_id": "webinar-registration-product"
      },
      {
        "form_id": "webinar-registration-form",
        "form_name": "Webinar Registration Form (Payroll)",
        "action": null,
        "type": "custom_html",
        "purpose": "Payroll webinar registration",
        "file": "v2/pages/product_payroll_webinar.php",
        "page_locations": ["/product/payroll-webinar"],
        "gtm_tracking_id": "webinar-registration-payroll"
      },
      {
        "form_id": "webinar-registration-form",
        "form_name": "Webinar Registration Form (Trinkgeld)",
        "action": null,
        "type": "custom_html",
        "purpose": "Trinkgeld webinar registration",
        "file": "v2/pages/webinar_trinkgeld.php",
        "page_locations": ["/webinar/trinkgeld"],
        "gtm_tracking_id": "webinar-registration-trinkgeld"
      },
      {
        "form_id": "unlock-form",
        "form_name": "ShiftOps Report Unlock Form",
        "action": null,
        "type": "custom_html",
        "purpose": "Gated ShiftOps report download",
        "file": "v2/pages/shiftops-report.php",
        "page_locations": ["/shiftops/report"],
        "gtm_tracking_id": "shiftops-unlock-form"
      },
      {
        "form_id": "exportEmailForm",
        "form_name": "Calculator Export Email Form",
        "action": null,
        "type": "custom_html",
        "purpose": "Email collection for calculator exports",
        "file": "v2/pages/tools_arbeitstage_rechner.php",
        "page_locations": ["/tools/arbeitstage-rechner"],
        "gtm_tracking_id": "calculator-export-email"
      },
      {
        "form_id": "kugExportEmailModal",
        "form_name": "Kurzarbeitergeld CSV export email gate",
        "action": null,
        "type": "custom_html",
        "purpose": "Gated CSV export; submits to collect-lead.php (signuptype kurzarbeitergeld); GTM tools_export on download via kugExport",
        "file": "v2/pages/tools_kurzarbeitergeld_rechner.php",
        "page_locations": ["/tools/kurzarbeitergeld-rechner"],
        "gtm_tracking_id": "calculator-export-email"
      },
      {
        "form_id": "addonForm",
        "form_name": "Add-on Pricing Request Form",
        "action": null,
        "type": "custom_html",
        "purpose": "Add-on pricing inquiries",
        "file": "v2/sections/pricing-addons.php",
        "page_locations": "Component (included in pricing pages)",
        "hubspot_form_guid": "c2022eda-c9b4-4010-a02d-d920852585b1",
        "gtm_tracking_id": "addon-form",
        "affiliate_capture": true
      },
      {
        "form_id": "enterpriseForm",
        "form_name": "Enterprise Contact Form",
        "action": null,
        "type": "custom_html",
        "purpose": "Enterprise sales inquiries",
        "file": "v2/sections/enterprise-box.php",
        "page_locations": "Component (included in enterprise sections)",
        "gtm_tracking_id": "enterprise-form"
      }
    ],
    "api_based": [
      {
        "endpoint": "lead-capture.php",
        "form_name": "Lead Capture API (Two-Step)",
        "type": "api_based",
        "purpose": "Two-step progressive lead capture API",
        "file": "v2/api/lead-capture.php",
        "hubspot_form_guid": "9f9d4e35-d8d9-4283-93b6-1a789e0a1281",
        "form_guid_constant": "LEAD_CAPTURE",
        "gtm_tracking_id": "api-lead-capture",
        "affiliate_capture": true
      },
      {
        "endpoint": "collect-lead.php",
        "form_name": "Tools Lead Collection API",
        "type": "api_based",
        "purpose": "Universal form for all calculator tools",
        "file": "v2/api/collect-lead.php",
        "hubspot_form_guid": "a91b263c-7ca2-418b-b35c-9664c30e968b",
        "form_guid_constant": "TOOLS",
        "gtm_tracking_id": "api-collect-lead",
        "affiliate_capture": true
      },
      {
        "endpoint": "submit-template.php",
        "form_name": "Template Download API",
        "type": "api_based",
        "purpose": "Template download form submissions",
        "file": "v2/api/submit-template.php",
        "hubspot_form_guid": "11e392f7-aece-4969-8c39-402ee6cb2330",
        "form_guid_constant": "TEMPLATE",
        "gtm_tracking_id": "api-submit-template",
        "affiliate_capture": true
      },
      {
        "endpoint": "addon-request.php",
        "form_name": "Add-on Pricing Request API",
        "type": "api_based",
        "purpose": "Add-on pricing inquiries",
        "file": "v2/api/addon-request.php",
        "hubspot_form_guid": "c2022eda-c9b4-4010-a02d-d920852585b1",
        "form_guid_constant": "ADDON",
        "gtm_tracking_id": "api-addon-request",
        "affiliate_capture": true
      },
      {
        "endpoint": "generate_excel.php",
        "form_name": "Excel Generator API",
        "type": "api_based",
        "purpose": "Excel template generation",
        "file": "v2/api/generate_excel.php",
        "hubspot_form_guid": "c2022eda-c9b4-4010-a02d-d920852585b1",
        "form_guid_constant": "EXCEL",
        "gtm_tracking_id": "api-generate-excel"
      },
      {
        "endpoint": "export-workdays.php",
        "form_name": "Workdays Export API",
        "type": "api_based",
        "purpose": "Workdays calculator export",
        "file": "v2/api/export-workdays.php",
        "hubspot_form_guid": "a91b263c-7ca2-418b-b35c-9664c30e968b",
        "form_guid_constant": "WORKDAYS",
        "gtm_tracking_id": "api-export-workdays",
        "affiliate_capture": true
      },
      {
        "endpoint": "shiftops-hubspot.php",
        "form_name": "ShiftOps Report API",
        "type": "api_based",
        "purpose": "ShiftOps report generation",
        "file": "v2/api/shiftops-hubspot.php",
        "hubspot_form_guid": "41d07332-6697-4daa-b27e-dd60515f9c0f",
        "form_guid_constant": "SHIFTOPS",
        "gtm_tracking_id": "api-shiftops",
        "affiliate_capture": true
      },
      {
        "endpoint": "shiftops-nps.php",
        "form_name": "ShiftOps NPS Survey API",
        "type": "api_based",
        "purpose": "NPS survey submissions",
        "file": "v2/api/shiftops-nps.php",
        "hubspot_form_guid": "804459f7-c18d-4da6-8a0b-a81f44bb8275",
        "form_guid_constant": "SHIFTOPS_NPS",
        "gtm_tracking_id": "api-shiftops-nps"
      }
    ]
  },
  "form_guids": {
    "LEAD_CAPTURE": "9f9d4e35-d8d9-4283-93b6-1a789e0a1281",
    "TOOLS": "a91b263c-7ca2-418b-b35c-9664c30e968b",
    "TEMPLATE": "11e392f7-aece-4969-8c39-402ee6cb2330",
    "ADDON": "c2022eda-c9b4-4010-a02d-d920852585b1",
    "SHIFTOPS": "41d07332-6697-4daa-b27e-dd60515f9c0f",
    "SHIFTOPS_NPS": "804459f7-c18d-4da6-8a0b-a81f44bb8275",
    "WORKDAYS": "a91b263c-7ca2-418b-b35c-9664c30e968b",
    "EXCEL": "c2022eda-c9b4-4010-a02d-d920852585b1",
    "MAIN_LEAD_CAPTURE": "9b93ee13-fad2-4ce8-8ea2-4e588932af2a",
    "DEMO_FORM": "535143d6-9521-45b0-bea3-c13b078b8668",
    "CONTENT_WEBINAR_EVENT": "c74e1237-6b52-4a16-bac7-daaf98881e63",
    "HERO_EMAIL": "c1d24914-f2a2-4371-b12a-7217553f5897"
  },
  "form_handler_mappings": {
    "/form-hs": {
      "handler": "html/form-hs.php",
      "forms_handled": [
        "demo-form (9b93ee13-fad2-4ce8-8ea2-4e588932af2a)",
        "demo-form demo (535143d6-9521-45b0-bea3-c13b078b8668)",
        "content-form (c74e1237-6b52-4a16-bac7-daaf98881e63)"
      ]
    }
  },
  "notes": {
    "hubspot_embedded": "HubSpot embedded forms use hbspt.forms.create() and require onFormSubmit/onFormSubmitted callbacks for tracking",
    "custom_html": "Custom HTML forms submit to /form-hs or use direct HubSpot API calls. Form title determines which HubSpot form GUID is used.",
    "api_based": "API-based forms submit directly to HubSpot Forms API v3. Tracking must be implemented client-side before API call."
  }
}
