larnalyticsjs
v1.0.2
Published
A package to track page views for Larnalytics.
Downloads
10
Maintainers
Readme
Larnalytics
Larnalytics is a package to track page views for your website. It supports various technologies like Vue, React, Angular, Svelte, and HTML websites.
Installation
Install the package via npm:
npm install larnalyticsjs
Example
import { trackPageViews } from 'larnalytics';
const api_key = 'YOUR_API_KEY';
const site_key = 'SITE_KEY';
document.addEventListener("DOMContentLoaded", function() {
trackPageViews(api_key, site_key);
});