Log in to your Luminel Dashboard and add your websiteโs domain to start tracking analytics.
Insert the following script inside your websiteโs <head>...</head> section. The script auto-detects SPA navigations and works for both static and SPA sites.
<script defer src="https://luminel.app/script.js" data-id="YOUR_WEBSITE_ID" data-dnt="false"></script>โ Attributes:
data-id โ Your Website ID (used to directly identify your site, independent of domain).data-dnt โ Honors Do Not Track when set to true. Default: false.๐ Ignores localhost by default and derives its API endpoint automatically from the script URL.
<script defer src="https://luminel.app/script.js" data-id="YOUR_WEBSITE_ID" data-dnt="false"></script>dashboard/:siteId to confirm the first page view is logged on the charts.The script tracks page views with essential, non-PII context: title, timezone, language, viewport, connection, referrer, and basic device info (browser, os, device). โ ๏ธ No cookies and no personal data are collected.
data-dnt="true".