·
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.