01
Setup Instructions
Add this single line before the closing </body> tag on any page. The script is async, non-blocking, under 1KB, collects no PII, sets no cookies, and respects the Do Not Track header.
<script src="analytics.js" async></script>
Data is stored in localStorage under the key gfs-analytics as a rolling log of the last 1,000 page views. No data leaves the browser.
■ Add to every page for full coverage. No server-side component required.
02
Overview KPIs
--
Total Views
--
Unique Pages
--
Most Visited
--
Avg Session
■ Session length approximated from consecutive views within 30-minute windows.
03
Page View Rankings
| # | Page | Views | Distribution | Last Visit |
|---|
■ Click column headers to sort. Bar width relative to the most-visited page.
04
Activity Timeline
■ Rendered on canvas. No charting library required.
05
Navigation Flow
■ Shows the top 20 from-to pairs by frequency.
06
Device & Screen Sizes
■ Grouped by breakpoint range: mobile (<640), tablet (640-1023), desktop (1024-1439), large (1440+).
07
Export
■ Exported files contain no personally identifiable information.