Fix: Fallback UUID generation now produces RFC-4122 v4 format (was trk_<random> which is incompatible with Shopify pixel UUID format).
Fix: Device fingerprint now appends _fallback_<timestamp> when fewer than 3 browser signals are available, matching Shopify pixel behaviour.
Fix: Flat tracking data now written to both localStorage and sessionStorage simultaneously (matching Shopify pixel’s dual-write approach).
Fix: Per-click-ID individual storage keys (_trackity_{param}, _trackity_{param}_expiry, _trackity_{param}_creation) now written alongside the v2 blob so server-side code reading individual keys finds them.
Fix: Attribution parameter cleanup now runs on a config-driven 24-hour periodic interval in addition to the one-shot page-load timer.
1.0.6
Fix: JSON payloads now serialized with a circular-reference guard and function stripper, preventing rare serialization errors from WooCommerce plugin-injected objects.
Fix: cartId and lineItemCount now included in add_to_cart payloads, matching Shopify pixel behaviour.
Fix: giftCards field added to checkout and purchase payloads (always empty array — WooCommerce has no native gift card mechanism).
1.0.5
Improvement: Attribution tracking params now include per-platform extended metadata (conversion window max, engaged-view window, cookie expiry) alongside the standard attribution window days.
Improvement: Add-to-cart AJAX handler enriches payload from cached product data on archive/collection pages where full product context is not in the page.
Improvement: Discount codes and customer marketing consent flag are now forwarded in the checkout and purchase payloads.
Improvement: Product categories are forwarded as collections in the product-viewed payload.
Improvement: Storage read now retries up to two times on transient failure before returning null.
Fix: fbclid validation updated to accept 10–14 character identifiers with mixed alphanumeric content.
Fix: Klaviyo attribution window and click-id params (kx_email, _kx) are now captured and stored in the tracking blob.
1.0.4
Fix: Meta _fbp/_fbc cookies now only forwarded when genuine click evidence exists, preventing non-Meta traffic from being attributed to Meta.
Fix: add_to_cart events are no longer deduplicated, matching Shopify pixel behaviour.
Fix: purchase event now sends a minimal fallback payload if the main handler throws, ensuring conversions are never silently lost.
Fix: add_to_cart, begin_checkout, and purchase events now retry up to 2 times with exponential backoff on network failure.
Fix: pixel API key now passed to storefront JS config for request authentication.