Google Analytics

  • Built in
  • Free plan
  • Tracking

Add your GA4 measurement id and Onlyform sends an event for every view, start, step and completion, so your funnels include the form.


How it works

Form events in your GA4 property

Onlyform loads gtag with your measurement id on the form page and fires a named event at each stage of the response.

  • Named events

    form_view, form_start, form_step and form_submit, each with the form id and name as parameters.

  • Respects consent

    If the respondent declines analytics cookies, no events are sent.

  • Works in embeds

    Embedded forms send events to the same property, with the host page URL attached.

Setting it up

Two steps

Per form, or once for the workspace to cover every form.

  1. 1

    Copy your measurement id

    In GA4, open Admin, Data streams and copy the id that starts with G-.

  2. 2

    Paste it into Tracking

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

Reference

Events sent

Every event carries form_id and form_name as parameters.

EventWhen it firesExtra parameters
form_viewThe form page loadsembed
form_startThe first answer is givenquestion_id
form_stepA question is completedquestion_id, question_index
form_submitThe response is submittedresponse_id

If something looks wrong

Troubleshooting

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

Events are not showing in GA4

GA4 real-time can lag a minute; the DebugView shows events immediately. Check the id starts with G- and that consent was granted.

Can I use Universal Analytics?

No. Universal Analytics stopped processing data in 2023; only GA4 is supported.

Do events count as conversions?

Mark form_submit as a key event in GA4 and it will.

See your forms in your funnels

Available on every plan. Paste a measurement id and every form reports itself.