Tracking Form Submissions with Custom Events

Track contact forms, lead capture forms, or any HTML form submit as a GA4 event.

Steps

  1. Go to Analytix → Custom Event Builder → New Event.
  2. Select event type Form Submission.
  3. Enter a GA4 Event Name (e.g., contact_form_submit).
  4. In the CSS Selector field, enter the selector for your form. Examples:
    • #contact-form — by ID
    • .wpcf7-form — Contact Form 7
    • form.my-form — by class
  5. Click Save Event.

Verify in GA4

After saving, submit a test form on your site. Go to GA4 → Reports → Realtime and look for your event name in the Events card. It should appear within a few seconds.

GA4 tracking code must be active on your site (via Analytix's tracking snippet or another method) for events to fire.
All Documentation Contact Support

Measure, Understand and Grow Your Audience

Connect GA4 in under a minute. Start making data-driven decisions today.

Get Analytix Now!