Track form submissions with Google Tag Manager

You can count embedded form submissions as conversions when you turn on form events and have Google Tag Manager send the event to your data layer.

  1. Open your form's Share tab, choose Embed Form, then select Standard, Popup, Slider, or Full page.
  2. Under Options, switch on Track form events. It's off by default.
  3. Choose Get the code and copy the snippet. Add it to the page where you embed your form.
  4. In your Google Tag Manager setup, add a tag that listens for MakeForm:submit and pushes a conversion event to your data layer. Check Google Tag Manager's help for setup details.

When Makeform accepts a submission, the page your form is embedded on receives the MakeForm:submit browser event.

HTML
<script>
window.addEventListener('MakeForm:submit', function (e) {
  // e.detail.formId, e.detail.data
});
</script>

Makeform doesn't provide a GTM container ID field or push events to your data layer automatically. Your GTM setup has to listen for the event and make that push.

This works for embedded forms only. A form opened at its own Makeform link can't run your GTM container.

The event carries your respondents' answers in e.detail.data. Anything your tag forwards from it leaves your site, so send only what you need.