Repository navigation
Version 3.13.0 - Avada Form Tracking Fix
π― Avada Form Tracking Fix
This release fixes Avada/Fusion form tracking and improves form identification.
β¨ New Features
- Form Title Tracking: Avada forms now include their WordPress post title in tracking events
- Improved Form ID Detection: Extracts form IDs from wrapper attributes and data-config
- Form Reset Detection: Detects successful submissions by monitoring form field resets
π Bug Fixes
- Fixed Avada Tracking: Resolved issue where Avada forms weren't being tracked due to empty field value checks
- Field Detection Logic: Added
hasField()function to check field existence vs field values - Success State Detection: Improved detection for forms that reset without showing success messages
π§Ή Code Cleanup
- Removed embedded test forms system (
cuft-test-*.js) - Removed quick tests admin functionality
- Cleaned up test forms PHP classes
- Simplified admin interface (removed 4,300+ lines of test code)
π Technical Improvements
- Add
data-cuft-had-valuetracking for field reset detection - Pass form titles via
wp_localize_scriptfor JavaScript access - Enhanced debug logging for success state detection
- Improved AJAX watcher to check field existence instead of values
π§ Breaking Changes
None - fully backward compatible
π Upgrade Notes
- Existing form tracking continues to work without changes
- Avada forms will now properly track submissions
- Form titles will appear in dataLayer events for better reporting
Full Changelog: v3.12.0...v3.13.0