Link tracking allows you to automatically monitor which links visitors click on your website, providing valuable insights into user behavior and navigation patterns without requiring any manual tagging.
Link tracking in Pulse automatically captures clicks on all links (<a> tags) throughout your website. For each click, Pulse records:
href attribute)This data helps you understand which links are most popular, which content drives the most engagement, and how users navigate through your site.
Link tracking is designed to work with minimal configuration. To enable link tracking:
Add the data-link-tracking="true" attribute to your Pulse tracking script:
<script
defer async
src="https://tracker.hakanai.io/hakanai.min.js"
data-site="YOUR_SITE_ID"
data-link-tracking="true">
</script>
Once enabled, the link tracker:
<a> elementAll of this happens automatically without requiring any additional code or markup on your links.
![]()
Link click data appears in your Pulse dashboard or on each page. You can see:
This information helps you understand:
One of the most powerful applications of link tracking is measuring actual content engagement. Unlike traditional metrics that only show if someone visited a page, link tracking reveals how they interacted with the content.
With link tracking, you can measure:
By analyzing link clicks within content, you can:
Link tracking provides content creators with actionable feedback:
Link tracking is designed to be lightweight and won't impact your site's performance. The event listeners use event delegation to efficiently handle all links with minimal overhead.
Link tracking only captures data about the links themselves, not personal information about the user clicking them. However, be aware that the link URL or text content might sometimes contain sensitive information depending on your site's structure.
The link tracker works in all modern browsers and degrades gracefully in older browsers. It's compatible with single-page applications (SPAs) and traditional multi-page websites.
Tracking events
Learn how to track specific events on your website with Hakanai Pulse. Measure user interactions and calculate conversion rates with event tracking.
Bot Filtering
Pulse automatically filters known bots from your analytics data to provide more accurate insights about your real human visitors.