Skip to content

v3.18.39 — Consolidate ddTrack() (GA4 Release F)

Choose a tag to compare

@frisoftltd frisoftltd released this 19 Aug 11:39
· 7 commits to main since this release

Removes 3 byte-identical local ddTrack() copies (cart.js, frontend.js, menu-page.js) in favor of one shared window.ddTrack() in tracking.js. Pure refactor — all 11 call sites verified unchanged in event name and parameters. Added explicit dd-tracking script dependency to all 3 consuming files' enqueues, since correct load order was previously incidental rather than guaranteed. Closes the GA4/tracking investigation's Release F. See RELEASE.md.