github Swetrix/swetrix tracker-js@4.6.0

latest release: tracker-node@3.4.0
3 hours ago

🔥 Major updates

Added selective query parameter and hash tracking to trackViews

The search and hash options can now accept allowlists:

swetrix.trackViews({
  search: ['query', 'page'],
  hash: ['pricing', 'features'],
})

This keeps unrelated URL parameters and hashes out of tracked page paths, reducing fragmented page analytics. Set either option to true to continue tracking every value as before. Hash values are matched exactly, with or without a leading #.

🙂 Minor changes

  • Error Tracking now supports stack traces of up to 64,000 characters, increased from 7,500, allowing longer framework and asynchronous call stacks to be recorded through trackError().

Don't miss a new swetrix release

NewReleases is sending notifications on new releases.