Web Beacon
The kenbun Web Beacon is a lightweight JavaScript snippet that automatically tracks visitor behavior on your website. Install it once and start capturing page views, scroll depth, engagement time, and custom events — all without writing any tracking code.
What It Does
The beacon provides real-time behavioral intelligence:
- Automatic Tracking: Page views, scroll depth, engagement time, outbound clicks
- Custom Events: Track button clicks, form submissions, and other interactions via API
- DataLayer Interception: Optionally capture GTM
dataLayer.push()events like purchases, form submissions, and video interactions - Visitor Identification: Associate anonymous visitors with email/ID when they identify themselves
- Passive Idle Detection: Distinguishes active engagement from idle time
- Session Continuity: Maintains visitor identity across pages and sessions
- Works with Chrome Extension: Receives events from the Chrome Extension visual tagger
The beacon is built for performance: lightweight (~5 KB gzipped), non-blocking, and privacy-friendly.