Tracking monday.com form fills in GTM / GA4 (embedded WorkForms)

Monday.com’s WorkForms embed via an iframe with no GA4 or Google Tag Manager (GTM) support and no marketplace app that adds one. The post-submit Redirect URL setting shows a consent interstitial inside the iframe, so it is not useful for tracking.

Turns out the embed emits a message we can hang on for GA4 event tracking.

You can verify this yourself: open a page with an embedded monday.com form, paste this into the console, and submit a test entry: 

window.addEventListener('message', e => console.log(e.origin, e.data));

You should see output in the console that looks like this:

{ "source": "workforms", "type": "submit_success" }

The message arrives on the parent page, so all the session data is available to send to a GA4 event.

Here’s how to set it up in Google Tag Manager (GTM):

GA4 / GTM tracking of Monday.com workform submissions

1. Add a listener (Custom HTML tag, fire on All Pages)

<script>
(function () {
  var fired = false;
  window.addEventListener('message', function (e) {
    if (e.origin !== 'https://forms.monday.com') return;
    var d = e.data;
    if (d && d.source === 'workforms' && d.type === 'submit_success' && !fired) {
      fired = true; // prevent dupes
      window.dataLayer = window.dataLayer || [];
      window.dataLayer.push({ event: 'monday_form_submit' });
    }
  });
})();
</script>

2. Add a GTM Tag (GA4 Event)

  • Google Analytics: GA4 Event
  • Add your measurement ID
  • Event Name: monday_form_fill (or whatever you want to name it)
  • Add the trigger below

3. Add a GTM Trigger (Custom Event)

  • Trigger Type: Custom Event
  • Event name: monday_form_submit
  • Fires on: All Custom Events

4. Verify and publish

GTM Preview → submit a test → both tags fire → check GA4 Realtime → publish.