Skip to content

tracker-node@3.5.0

Latest

Choose a tag to compare

@Blaumaus Blaumaus released this 26 Sep 17:16
· 11 commits to main since this release

🔥 Major updates

Page title tracking

Added an optional title field to trackPageView(), allowing you to send page titles alongside page paths:

await swetrix.trackPageView(ip, userAgent, {
  pg: '/docs',
  title: 'Documentation',
})

Omit title or set it to null or '' to send a pageview without a title.