Version 3.28.1
Fixed
generate_leadfired twice for any lead with email, phone and a click ID.cuft-dataLayer-utils.jspushed the broadgenerate_lead(email present) and then, inside thequalify_leadblock, dual-fired a secondgenerate_leadwith the strict payload andcuft_deprecated: true/cuft_migrate_to: "qualify_lead". That dual-fire was meant to last one version after the April 2026 event rename (3.27.0) and was never removed. It is gone;generate_leadnow pushes and records at most once per submission.qualify_leadis unchanged, and thecuft_generate_lead_enabledgating added in 3.28.0 still applies. A GTM trigger on the event namegenerate_leadalone needs no change beyond seeing one event per lead instead of two; a trigger conditioned oncuft_deprecatedequalstruewill stop firing and should be migrated toqualify_lead, which was always the intended replacement.- Gravity Forms pushed
generate_leada second, independent way.CUFT_Gravity_Forms::track_submission()(PHP, hooked togform_after_submission) also generated an inlinegenerate_leaddataLayer push, on top of the client-side push every framework already fires viacuft-dataLayer-utils.js. For Elementor Pro, CF7 and Ninja Forms the equivalent server-side inline script never reaches the browser (their forms submit by AJAX, so the hook fires on a request whose response carries no enqueued script tag), but Gravity Forms can complete the same request as a full page render, in which case the inline script did print and run. Removed the server-sidegenerate_lead_event()push; Gravity's server-sideform_submitpush is unaffected.
Installation
Automatic Update
If you already have the plugin installed, it should automatically detect this update. Go to Plugins in your WordPress admin and click Update Now.
Manual Installation
- Download the
choice-uft-v3.28.1.zipfile from the assets below - In WordPress admin, go to Plugins → Add New → Upload Plugin
- Choose the downloaded zip file and click Install Now
- Activate the plugin after installation
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
Support
For issues or questions, please visit: https://github.com/ChoiceOMG/choice-uft/issues