Google Tag Manager

  • Built in
  • Free plan
  • Tracking

Load your Google Tag Manager container on the form page and use form events from the data layer to trigger any tag you already manage.


How it works

Your container, our data layer

Onlyform loads the container and pushes form events into the data layer. Build triggers on those events and reuse the tags you already have.

  • Data layer events

    form_view, form_start, form_step and form_submit are pushed with the form id and name.

  • Any tag

    Ads, analytics, pixels — anything your container manages can fire on form events.

  • Consent aware

    Consent state is pushed first so Consent Mode tags behave correctly.

Setting it up

Two steps

Per form, or once for the workspace.

  1. 1

    Copy your container id

    In Tag Manager, copy the id that starts with GTM-.

  2. 2

    Paste it into Tracking

    In the form's Integrations tab, open Google Tag Manager, paste the id and switch it on.

If something looks wrong

Troubleshooting

The 3 things behind almost every support ticket on this connection.

Triggers are not firing

Use Tag Manager's preview mode on the form URL to see data layer pushes. Event names are case-sensitive.

Can I use GTM and GA4 together?

Pick one. Loading GA4 both directly and through your container double-counts events.

Does it work in embeds?

Yes. The container loads inside the embed and events include the host page URL.

Reuse the tags you already have

Available on every plan. Paste a container id and build triggers on form events.