Repository navigation
Version 2.2.0
Woorelease changelog
- Add - Add a read-only Google Analytics tracking settings ability.
- Add - Expose JavaScript tracking formatters and utilities for custom integrations.
- Add - Track checkout shipping and payment info events.
- Dev - Add CodeRabbit configuration and ignore .claude/settings.local.json.
- Dev - Add focused unit coverage for asset metadata and tracking settings snapshots.
- Dev - Add product formatter unit coverage.
- Dev - Enable min-release-age supply-chain protection requiring npm >=11.10.0.
- Dev - Expand purchase event E2E coverage for transaction and order totals.
- Dev - Remove deprecated Products (Beta) block from E2E test coverage; Product Collection coverage supersedes it.
- Dev - Store Google Analytics tracking settings on the tracking instance.
- Dev - Update npm dependencies and transitive overrides to resolve non-breaking security advisories.
- Dev - Update npm development dependencies for security fixes.
- Fix - Ensure all settings defaults are populated in
$this->settingson fresh activation, preventing undefined array key notices. - Fix - Persist add_to_cart event across cart redirect.
- Fix - Price minor-unit rounding.
- Fix - Rename misspelled public method
enquque_tracker()toenqueue_tracker(); keep deprecated alias for backward compatibility. - Fix - Track Store API add-to-cart events without duplicate analytics events.
- Fix - Track Store API cart quantity decreases as remove_from_cart events.
- Fix - Track classic add_to_cart events without a button when single-product data is available.
- Fix - Track view_item_list, add_to_cart, and select_content events correctly when the cart is empty and products are rendered via a Product Collection block.
- Fix -
item_list_idanditem_list_nameinview_item_listGA4 events now reflect the actual page context (shop, category, tag, search) instead of hardcoded placeholder values. - Tweak - Improve tracking payload limits, cart event binding, and linker domain validation.
- Tweak - Remove the compatibility declaration for the product editor beta, which is being retired in WooCommerce 11.0.
- Tweak - WC 10.8 compatibility.
- Tweak - WP 7.0 compatibility.
- Update - Declare compatibility with WordPress 7.0 while requiring WordPress 6.9 or newer.
- Update - Format product categories in parent-first hierarchy order.
- Update - Require WooCommerce 10.7+.
- Update - Use get_order_number() for transaction_id.
What's Changed
New Features 🎉
- Add Google Analytics tracking settings ability by @nerrad in #599
- Add checkout journey events by @NeosinneR in #594
- Expose tracking helpers globally by @NeosinneR in #607
Updated ✨
- Declare WordPress 7 compatibility by @pavel-mailpoet in #601
- Update WC tested up to 10.8 by @triple0t in #603
- Format product categories by hierarchy by @NeosinneR in #605
Fixes 🛠
- Fix STORMA-36: Use page context for item_list_id and item_list_name in view_item_list events by @stuartduff in #580
- Fix STORMA-39: Backfill missing settings defaults on fresh activation by @stuartduff in #578
- Fix STORMA-159: Rename enquque_tracker() to enqueue_tracker() by @stuartduff in #579
- Track Interactivity API add-to-cart events by @NeosinneR in #595
- Fix events not tracked on empty cart page with Product Collection block by @nicdwilson in #589
- Use get_order_number() for GA4 transaction_id by @TheSteveK in #597
- Persist add_to_cart event across cart redirect by @TheSteveK in #598
- Fallback for buttonless added_to_cart events by @NeosinneR in #609
- Track Store API quantity decreases by @NeosinneR in #608
Tweaked 🔧
- Improve tracking robustness by @NeosinneR in #596
- Remove the compatibility declaration for the product editor beta by @eason9487 in #613
Developer-facing changes 🧑💻
- Add CodeRabbit configuration and ignore .claude/settings.local.json by @pavel-mailpoet in #586
- Remove deprecated Products (Beta) block from E2E tests by @NeosinneR in #593
- Update npm dependencies for security fixes by @NeosinneR in #600
- Add product formatter coverage by @NeosinneR in #604
- Move tracking settings to instances by @NeosinneR in #606
- Expand purchase event E2E coverage by @NeosinneR in #610
- Exclude development-only files from the packaged plugin by @eason9487 in #614
Other Changes
- Increase test coverage for Google Analytics integration by @NeosinneR in #615
New Contributors
- @stuartduff made their first contribution in #580
- @nicdwilson made their first contribution in #589
- @TheSteveK made their first contribution in #597
Full Changelog: 2.1.23...2.2.0