| title | Easy Setup |
|---|---|
| description | Track web analytics, visitors, sessions, and custom events anywhere in just seconds. We support WordPress, Shopify, and all major website builders. |
Sign up on Litlyx and create a new workspace.
With just one line of code in your index.html — placed either at the end of the body or inside the head tag — you can start tracking data like Best Performing Pages, Unique Visitors, Real-time Users, Sources, Bounce Rate, Countries, and much more.
<script defer data-workspace="workspace_id"
src="https://cdn.jsdelivr.net/npm/litlyx-js@latest/browser/litlyx.js">
</script>Litlyx is super versatile. Use it in your favorite website builder like Wordpress, Webflow, Framer, or any platform that lets you add custom code inside the body or head tag.
<script defer data-workspace="workspace_id"
src="https://cdn.jsdelivr.net/npm/litlyx-js@latest/browser/litlyx.js">
</script>Install the Litlyx library with your favorite package manager:
```bash npm npm install litlyx-js ``` ```bash yarn yarn add litlyx-js ``` ```bash pnpm pnpm add litlyx-js ``` ```bash bun bun install litlyx-js ```Now import Litlyx in your entry-point file.
import { Lit } from "litlyx-js"Next, initialize the Litlyx library with your workspace_id in your entry-point file as follows:
Lit.init("workspace_id");Head over to the Litlyx Dashboard to explore your real-time web analytics.