π Website π Docs π₯ Start for Free!
The easiest Dev-Centric Analytics tool.
Litlyx is , Open-Source, Plug-In everywhere Javascript is Supported. Setup in less then 30 seconds, with just One-Line of code.
Sign-up on Litlyx cloud using OAuth & name your project to get your project_id to connect Litlyx to your website OR Self-Host Litlyx with Docker.
<script defer data-project="project_id_here" src="https://cdn.jsdelivr.net/gh/litlyx/litlyx-js/browser/litlyx.js"></script>
Importing Litlyx with a direct script already tracks 10 KPIs such as Page visits
, Browsers
, Devices
, OS
, Real-Time Online Users
, Unique Session
, Countries
, Average Session Time
.
You can install Litlyx using npm
, yarn
, or pnpm
:
npm i litlyx-js
Litlyx natively supports all JS/TS frameworks. You can use Litlyx in all WordPress Websites by injecting JS code using a plug-in. Litlyx work in serverless enviroments with Cloud (or Edge) Functions.
Import litlyx-js library into your code:
import { Lit } from 'litlyx-js';
Once imported, you need to initialize Litlyx:
Lit.init('your_project_id');
After initialization, Litlyx will automatically track Analytics such as Page visits
, Browsers
, Devices
, OS
, Real-Time Online Users
, Unique Session
, Countries
, Average Session Time
.
With Litlyx, you can create your own events to track in your project.
Lit.event('click_on_buy_item');
If you want more dept tracking, you can use the metadata
field, like this:
Lit.event('click_on_buy_item', {
metadata: {
'product-name': 'Coca-Cola',
'price': 1.50,
}
});
You can create your Tailor-Made Experience at ease.
Lit can compare data, query specific metadata, visualize charts, and much more just by having a simple conversation
with him.
First thing first Fork this repository.
Then run the following command:
docker-compose build
then, after the build finish, run:
docker-compose up
on your localhost you will see your own instance of the Litlyx Dashboard.
For more info read our documentation. (will be improved in the near future using Mintlify!)
If you need more information, help, or want to provide general feedback, feel free to join us onDiscord
Every kind of contribution is accepted in this stage of the project. In the future we will onboard you better.
Litlyx is licensed under the Apache 2.0 license.