Free WordPress plugin

Choice Universal Form Tracker

Five form plugins, one event shape. This plugin detects whichever form plugins are active on your site. It emits one consistent form_submit event for all of them, with campaign attribution attached. That way, one Google Tag Manager (GTM) tag covers the whole site.

Why this exists

Every form plugin fires its submissions differently. Say a site runs Contact Form 7 for one form and Gravity Forms for another. Each form then ends up with a different tag, a different trigger, and a different set of field names. We hit that gap on client sites with several form plugins active at once. Each form plugin needed its own analytics plumbing, so we built one plugin that normalizes all of them.

What it does

  • Detects the active form plugins automatically. It needs no configuration beyond activation, and nothing loads for a form plugin that isn't installed.
  • Supports Contact Form 7, Gravity Forms, Ninja Forms, Elementor Pro forms, and Avada/Fusion Builder forms.
  • Emits form_submit on every detected submission. The event carries the form type, form ID, and the email and phone number entered.
  • Emits generate_lead when a submission includes a valid email address. It emits qualify_lead when the submission carries an email, a phone number, and an advertising click ID.
  • Fires phone_click when a visitor clicks a phone-number link (tel:).
  • Captures UTM parameters and advertising click IDs on a visitor's first landing and holds them for 30 days. A form submitted a week after the ad click still reports the campaign that produced it. Click IDs captured: gclid, gbraid, wbraid, fbclid, msclkid, ttclid, twclid, rdt_cid, li_fat_id, snap_click_id, and pclid.
  • Marks every event with cuft_tracked: true, one reliable condition to build every GTM trigger on.

Shared lead identity

Each event can carry a lead_id, a SHA-256 hash of the visitor's lowercased, trimmed email address. With no email, it hashes their phone number in E.164 form instead. The same hash is computed server-side, so a person's analytics event and downstream CRM record share one identifier. Only the hashed values reach your analytics. This normalization matches Google Enhanced Conversions and Meta's Conversions API, so the hash doubles as an offline-conversion match key.

Built to stay out of the way

  • Needs no jQuery. The tracking scripts are plain JavaScript.
  • Makes no requests to a third-party content delivery network (CDN). Every library it needs ships with the plugin, including its own SHA-256 implementation.
  • Framework scripts load only for the form plugins present on the site.
  • Tracking failures are contained and never block a form submission.

What it can optionally connect to

Everything below stays off until you configure it; the plugin tracks forms to the dataLayer without any of it. Google Tag Manager loads only once you set a container ID. Google Analytics Measurement Protocol sends server-side events only with both a GA4 Measurement ID and an API secret. A Choice OMG click collector, or your own, receives a POST only when you enter a host for it. The plugin's readme on the WordPress.org plugin page fully details what each integration transmits, and under whose terms.

Requirements

The plugin needs WordPress 6.2 or newer and PHP 7.4 or newer. It is tested up to WordPress 7.1. Install it from the WordPress.org plugin directory. In your dashboard, go to Plugins, then Add New, and search for Choice Universal Form Tracker. It needs no WooCommerce or other ecommerce platform, because it tracks form submissions, not orders.

Who maintains it

Choice OMG maintains this plugin. We're a digital marketing and web agency in Edmonton, Alberta, founded in 2010. We run Web Optimization, Google Ads, and web design for our clients on flat monthly fees. The plugin came out of client work, as most of our tooling does.

We can help you get one clean attribution signal instead of five. If your WordPress site runs more than one form plugin, talk to us.