@chordcommerce/analytics
21 min
v1 22 2 (2026 05 04) bug fixes identify/track/page now await in flight reset() before sending, eliminating identity bleed when events fire immediately after logout v1 22 1 (2026 03 20) bug fixes allow postmessages from null origin sandboxed iframes in web pixel listener v1 22 0 (2026 03 20) features unified custom web pixel v1 21 3 (2026 03 06) bug fixes prevent duplicate cdp script injection in react strictmode v1 21 2 (2026 02 19) bug fixes race condition in onetrust consent adapter v1 21 1 (2026 02 11) (internal release tooling — no user facing changes) v1 21 0 (2026 01 20) features add sessionstorage persistence for consent event queue (events queued during consent wait now survive instance recreation) v1 20 0 (2026 01 12) features add trackordercompleted convenience method v1 19 0 (2025 12 08) features consent stamp events with fresh consent via cdp configure consent add g etcategories / isconsentready to all adapters consent add onetrust api utilities module bug fixes add awaits to fix race conditions stamp initial consent event after cdp fully initialized v1 18 1 (2025 10 10) bug fixes retry onetrust consent handler setup v1 18 0 (2025 09 23) features create a commonjs build for sites on older node/webpack v1 17 0 (2025 09 04) features add addsourcemiddleware (segment parity) v1 16 1 (2025 08 28) bug fixes track method waits for cdp ready v1 16 0 (2025 08 21) features add configurable awaitconsenttimeout option v1 15 0 (2025 07 31) features add segment support bug fixes guard chord cdp dontsend configuration when api not yet available v1 14 1 (2025 07 23) bug fixes normalize cdpdomain to avoid double slashes in urls v1 14 0 (2025 07 21) features add consent preferences updated event bug fixes prevent duplicate consent processing on page load v1 13 0 (2025 06 30) features add optional props argument to page method v1 12 2 (2025 05 30) bug fixes awaitconsent option v1 12 1 (2025 05 27) bug fixes add isresetting chord cdp called first resolve event only after both cdp promises resolved increase speed of consent management check v1 12 0 (2025 05 01) features add support for onetrust cmp v1 11 0 (2025 04 23) bug fixes wait before setting initial consent features add support for ketch cmp v1 10 0 (2025 04 10) features add built in consent managment support, shopify v1 9 1 (2025 04 09) bug fixes support chord cdp and segment in parallel v1 9 0 (2025 03 24) features add chord cdp support v1 8 0 (2024 03 21) features add tracknavigationclicked add trackcheckoutstepcompleted add trackcheckoutstepviewed add trackvariantclicked add trackloginstarted add tracksubscriptioncancelled add trackpaymentinfoentered v1 7 0 (2024 03 07) features add type parameter to chordanalytics v1 6 0 (2024 03 05) features publish to npm registry v1 5 1 (2024 02 14) bug fixes address linter errors and warnings remove no longer needed eslint disableds v1 5 0 (2024 01 19) features add cdp and logger methods to chordanalytics add comments for cdp() and logger() v1 4 0 (2024 01 18) features add enablelogging option v1 3 0 (2024 01 17) features add page method to chordanalytics v1 2 0 (2024 01 16) features support function to return the cdp instance v1 1 1 (2023 12 07) bug fixes clean up input types v1 1 0 (2023 12 07) features set up eslint config for core package v1 0 3 (2023 12 05) bug fixes semantic release config file format update package for node compatibility v1 0 2 (2023 12 05) bug fixes add missing dep to liquid package update module type to support imports v1 0 1 (2023 12 05) bug fixes remove zero price fallback strip null values from arrays update tracking plan to latest v1 0 0 (2023 12 05) features rename package initial release