Skip to content

tracker-js@4.8.0

Latest

Choose a tag to compare

@Blaumaus Blaumaus released this 20 Oct 19:59
· 8 commits to main since this release

🔥 Major updates

Automatic outbound link tracking

You can now automatically track clicks on external links. Outbound link tracking is disabled by default and can be enabled during initialisation:

swetrix.init('YOUR_PROJECT_ID', {
  events: { outboundLinks: true },
})
swetrix.trackViews()

Clicks appear in Traffic → Pages → Outbound links, separately from custom events. Tracking supports dynamically added links, nested elements, and middle-clicks without delaying navigation.

Learn more