View on GitHub

param-tracker

Universal JavaScript utility for tracking and preserving UTM parameters in links and forms โ€” compatible with browsers, Node.js, and ES Modules.

๐Ÿงช ParamTracker Demos

This folder contains standalone HTML demos showcasing different ParamTracker configurations and use cases.

Each file can be opened directly in your browser.
Make sure the /dist/tracker.min.js build exists before testing.

Available Demos

File Demo Source Description
links-basic.html LINK LINK Basic setup with links and forms keeping UTM parameters
links-ignore.html LINK LINK Ignoring links by class, pathname, or protocol
links-attributes.html LINK LINK Using manageAttributes and ignoreAttrValues
links-advanced.html LINK LINK Custom parameter propagation beyond UTMs
forms-basic.html LINK LINK Injecting UTM params into accepted forms
forms-advanced.html LINK LINK Custom include/exclude parameter rules

These examples demonstrate how ParamTracker maintains, merges, or ignores parameters based on your configuration โ€” ensuring reliable tracking across navigation and forms.