Embed events

Track embedded form activity with JavaScript events

When a form lives inside your website, the surrounding page may need to know what happened. Maxforms embed events help teams connect form activity to analytics, conversion tracking, or custom website interactions when event tracking is enabled.

Illustration of JavaScript events flowing from an embedded form

Why it helps

Form JavaScript Events for cleaner online forms

Use the right feature deliberately so the form is easier to complete, easier to manage, and easier to connect to the rest of your work.

  • Connect embedded form behavior to analytics and conversion tracking.
  • Listen for activity from standard and popup embeds when event tracking is enabled.
  • Use form lifecycle context without rebuilding the form experience yourself.
  • Keep tracking logic on the website while Maxforms handles the form workflow.

Workflow

Common form javascript events workflows

  1. Embed the form with event tracking enabled.
  2. Listen for the Maxforms embed event stream on the parent page.
  3. Send relevant events to analytics, CRM, or internal scripts.
  4. Test view, start, submit, and completion behavior before relying on reports.

Connection workflow

Form JavaScript Events without extra copy-and-paste work

Connect form responses to the places your team already works so submissions can trigger the next step more reliably.

Connect the destination

Choose the integration, webhook, sheet, embed, or event workflow that should receive form activity.

Keep context intact

Send the submitted details and workflow context needed for follow-up, reporting, or automation.

Watch the handoff

Use clearer setup and testing paths so connected workflows are easier to maintain.

FAQ

Frequently asked questions

Are JavaScript events a replacement for webhooks?

No. JavaScript events are useful on the website page; webhooks are better for server-side automation.

Should analytics be tested after embedding?

Yes. Always test embedded forms in the live website context because browser settings, consent tools, and analytics scripts can affect tracking.

Ready to transform your forms?

Stop rebuilding forms on every project. Install MaxForms and start collecting submissions in minutes.