Socket
Book a DemoInstallSign in
Socket

focusflick

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focusflick

๐Ÿ“ˆ Focus Flick: Plug-and-play web analytics for user focus, scroll, blur, click, and behavior tracking

1.0.9
latest
npmnpm
Version published
Maintainers
1
Created
Source

FocusFlick SDK

Track user attention like never before.
FocusFlick is a lightweight, privacy-first JavaScript SDK for capturing focus, blur, mouse activity, and session analytics in real-time.

๐Ÿš€ Installation

npm install focusflick

๐Ÿง  Basic Usage

import FocusFlick from 'focusflick';

const flick = new FocusFlick({
  siteOwnerId: 'ff_yourID123',  // Required
  enableClicks: true,           // Track click events
  enableMousemove: true,        // Track mouse movement
  enableFocus: true             // Track tab focus/blur
});

flick.init();

You can retrieve the collected session data any time:

console.log(flick.getSessionData());

๐Ÿ“ฆ Features

  • Tracks click, mousemove, focus, blur, session_start, session_end
  • Stores session data in localStorage
  • Easily extendable for sending to APIs (e.g. Supabase, NocoDB, Render)
  • Fully installable via npm or available as a standalone browser script

๐Ÿ–ฅ๏ธ CDN (for non-devs)

Don't want to install via npm?

Just use the browser version:

<script src="https://www.focusflick.xyz/focusflick.min.js"></script>
<script>
  const flick = new FocusFlick({ siteOwnerId: 'ff_yourID123' });
  flick.init();
</script>

๐Ÿ” Privacy First

FocusFlick does not fingerprint or collect personal data.
All sessions are scoped to your own site domain, and you choose how data is handled (local vs. cloud).

๐Ÿ› ๏ธ Support

Need help?
Email us at support@focusflick.xyz

๐Ÿชช License

MIT License โ€” free for personal and commercial use.

Keywords

analytics

FAQs

Package last updated on 20 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.