Tags: facebook/facebook-for-woocommerce
Tags
fix(pixel): align build_event with dedup unit tests The release/3.7.3 -> 3.7.4 merge resolved build_event into a single-template form (always emitting wcFacebookPixelFiredEvents; if(!(id)||!fired[id])) that broke FacebookCommercePixelIsolatedExecutionTest: - test_build_event_adds_browser_dedup_guard_when_event_id_is_present - test_build_event_does_not_add_browser_dedup_guard_without_event_id Restore the reviewed if/else behavior (#3939 + Signals Gateway routing): dedup guard only when an event_id is present, plain fbq/Signals fire when not. Matches the resolution used merging 3.7.3 into main (#3959).
Improve Lead event support for WPForms and Contact Form 7 (#3923) * fix: WPForms Lead pixel/CAPI flow and remove debug logging * fix(wpforms): fire CAPI Lead only after successful form submission * fix(wpforms): replace new Function() with script element injection * refactor(wpforms): simplify get_event_name method_exists chain * fix(wpforms): guard ajax listener on WPForms enqueued and fix orphaned test * fix(wpforms): drop unused params and add space after function keyword
PreviousNext