How to Create a Custom GA4 Event

The Custom Event Builder lets you define GA4 tracking events visually — no JavaScript or code editing required.

Create a new event

  1. Go to Analytix → Custom Event Builder.
  2. Click New Event.
  3. Choose the event type:
  • Form Submission — Fires when a specific form is submitted.
  • Click Tracking — Fires when a button or link is clicked.
  • Download Tracking — Fires when a file download link is clicked.
  • Video Engagement — Fires on play, pause, or completion of a video.
  • Custom Interaction — Define any CSS selector and trigger.
  1. Enter a GA4 Event Name (e.g., contact_form_submit). Use lowercase with underscores — no spaces.
  2. Set the CSS selector for the element to track.
  3. Click Save Event.
Custom events are stored in wp_agwp_custom_events. Analytix injects a small script on the front end that listens for the configured interactions and fires the GA4 event via gtag('event', ...).
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!