github Swetrix/swetrix tracker-js@4.7.0

latest release: tracker-node@3.5.0
4 hours ago

🔥 Major updates

Page title tracking

Pageviews now automatically include the current document.title, including pageviews recorded during SPA navigation.

You can override the title through the trackViews callback:

swetrix.trackViews({
  callback: (payload) => ({ ...payload, title: 'Documentation' }),
})

You can also pass payload.title when calling pageview(). Set the title to null or '' to skip title collection.

Titles are limited to 2,048 characters. Changing the document title alone does not trigger a new pageview.

Don't miss a new swetrix release

NewReleases is sending notifications on new releases.