web-event-tracker-sdk
v1.0.0
Published
Auto-capture web events like page views, button clicks, and link clicks.
Maintainers
Readme
Web Event Tracker SDK
Auto-capture web events like page views, button clicks, and link clicks with minimal setup.
Installation
npm install web-event-tracker-sdkUsage
import EventTracker from 'web-event-tracker-sdk';
EventTracker.init({
apiKey: 'YOUR_API_KEY',
endpoint: 'https://your-collector.com/events',
});Features
- Auto-captures page views, button clicks, and link clicks
- Sends events to your endpoint
- Easy integration
Build & Publish
npm run build
npm publish