# Logly > Privacy-first web analytics under 1 KB. Cookie-free, GDPR compliant by design. Works with Brave Shields and uBlock Origin. ## What Logly does Logly is a lightweight web analytics SaaS. It tracks visitors, sessions, pageviews, referrers, countries, devices and active time-on-page — without cookies, without consent banners, without storing personal data. One script tag in
is all it takes. ## Key differentiators - Script under 1 KB — zero impact on Lighthouse or Core Web Vitals - Ad blocker bypass built-in via first-party routing (no DNS setup required) - Active time-on-page: timer pauses when the tab is hidden (Page Visibility API) - EU data residency on EU-owned infrastructure — no US data transfers; served from a global edge network - Free plan: 10,000 pageviews/month, forever, no credit card ## Pricing (early access — prices locked for life) - Free: $0/mo — 10,000 pv/mo, 1 site, 1 month data retention, badge shown - Starter: $9/mo — 100,000 pv/mo, 5 sites, 6 months retention, badge optional - Pro: $29/mo — 1,000,000 pv/mo, unlimited sites, 2 years retention, badge optional - Business: $99/mo — 10,000,000 pv/mo, unlimited sites, 5 years retention, badge optional ## Installation ```html ``` Replace YOUR-SITE-ID with the ID shown in Settings after adding your site. An AI coding assistant can do this for you — give it the snippet above and ask it to add the tag to the site's . On WordPress, install the Logly plugin instead of pasting the snippet — download it from https://github.com/logly-uk/logly-wordpress (not yet in the WordPress.org directory). ## MCP server (for AI assistants) Logly publishes an open-source MCP (Model Context Protocol) server so AI assistants can query analytics directly — traffic, breakdowns, funnels, real-time visitors. Published on npm as @logly-uk/mcp. Add it to an MCP client (Claude Desktop, Claude Code, Cursor) — it runs via npx, with the env var LOGLY_API_KEY set to a Logly API key: ```json { "mcpServers": { "logly": { "command": "npx", "args": ["-y", "@logly-uk/mcp"], "env": { "LOGLY_API_KEY": "logly_..." } } } } ``` Tools: logly_list_sites, logly_stats, logly_breakdown, logly_realtime, logly_events, logly_funnels, logly_funnel_results, logly_install_snippet. Setup guide: https://logly.uk/mcp/ ## Important URLs - https://logly.uk/ — Homepage and pricing - https://logly.uk/docs/ — Documentation and quick start guide - https://logly.uk/privacy/ — Privacy policy (GDPR, no cookies, EU hosting) - https://logly.uk/terms/ — Terms of service - https://logly.uk/blog/ — Blog: practical guides on analytics, GDPR, and privacy-first tracking - https://logly.uk/vs/ — Comparisons with other analytics tools - https://logly.uk/tools/gdpr-check/ — Free GDPR Analytics Checker - https://logly.uk/tools/speed-calculator/ — Analytics Script Weight Calculator - https://logly.uk/mcp/ — MCP server: connect Logly to Claude, Cursor and other AI assistants - https://logly.uk/for/vibecoders/ — Logly for AI builders: privacy-first analytics you install by prompt - https://github.com/logly-uk/logly-wordpress — Logly plugin for WordPress (download and install) - https://app.logly.uk — Dashboard (sign in with Google or GitHub) ## Blog ### Wiring Analytics Into Your Stack: 5 API Integration Patterns URL: https://logly.uk/blog/analytics-api-integrations/ A practical guide to integrating web analytics into the rest of your business — from daily Slack digests to BI warehouses, with concrete code patterns for each. ### Beyond the Dashboard: What Your Analytics CSV Export Actually Contains URL: https://logly.uk/blog/analytics-csv-sessions-export/ Most analytics tools give you a dashboard. Few let you export the underlying session data. Here's what each CSV export type contains, when to use each one, and five practical things you can do with raw session data that the dashboard can't show you. ### You Built It with AI. Do You Know If It Works? URL: https://logly.uk/blog/analytics-for-ai-built-sites/ AI gets you from idea to a live site in an afternoon — but shipping isn't the same as working. Why AI-built sites skip the measurement step, and how to close the loop without leaving your editor. ### Analytics Not Blocked by Ad Blockers: The Complete Guide URL: https://logly.uk/blog/analytics-not-blocked-by-ad-blockers/ Ad blockers, cookie consent and wall-clock timing make most analytics undercount real traffic by 25–55%. Here's why it happens, how to measure your own gap, and how to get accurate numbers. ### How to Add Analytics to Your Site Without a Cookie Banner URL: https://logly.uk/blog/analytics-without-cookie-banner/ Add web analytics without triggering GDPR's cookie consent requirement. A practical guide to privacy-first tracking that doesn't need a banner. ### Custom Events Done Right: 8 Things to Track in Your App (with Code) URL: https://logly.uk/blog/custom-events-tracking-examples/ Pageviews tell you who showed up. Custom events tell you what they did. Eight concrete events worth tracking in a SaaS, e-commerce or content site — with copy-paste code. ### How to Evaluate an Analytics Tool Without Signing Up URL: https://logly.uk/blog/evaluate-analytics-tools-without-signup/ A practical guide to evaluating analytics tools before committing — what to test in a live demo, what claims to verify with curl, and the five red flags that should make you walk away. ### First-Party vs Third-Party Analytics: Why One Gets Blocked URL: https://logly.uk/blog/first-party-vs-third-party-analytics/ The difference between first-party and third-party analytics is the whole reason one gets blocked and the other doesn't. Here's what the terms actually mean and why it decides how accurate your numbers are. ### Funnels in 5 Minutes: Where Your Visitors Drop Off (5 Examples) URL: https://logly.uk/blog/funnels-conversion-drop-off-examples/ A funnel is a sequence of pages or events. Logly shows how many visitors complete each step — and where they leave. Five concrete examples: SaaS signup, checkout, lead magnet, docs onboarding, multi-step form. ### GDPR Analytics: What You Actually Need (and What You Don't) URL: https://logly.uk/blog/gdpr-analytics-guide/ Most sites are overcomplying with GDPR for analytics. Here's what the regulation actually requires, and how to track your site without a consent banner. ### Do You Actually Know How Your Marketing Campaign Is Performing? URL: https://logly.uk/blog/marketing-campaign-performance-funnel/ Impressions and clicks don't tell you if a marketing campaign worked. Measure campaign performance with one funnel and five custom events — no UTM forensics, no CRM. ### How to Measure How Much Traffic Your Analytics Is Missing URL: https://logly.uk/blog/measure-your-analytics-undercount/ Industry averages say ad blockers hide 25–45% of your traffic. Here's how to measure your own number instead of guessing: run a first-party tracker alongside your current analytics for two weeks and compare. ### Migrating from Google Analytics 4 to Something Simpler: The Practical Guide URL: https://logly.uk/blog/migrate-from-google-analytics-4/ A step-by-step playbook for moving off GA4 without losing historical data or breaking your reporting. The four phases, the gotchas, and how to pick the right replacement. ### Own Your Analytics Data: From CSV Export to Full Integration URL: https://logly.uk/blog/own-your-analytics-data/ Why portable analytics data matters, what a clean CSV export should give you, and how it becomes the foundation for integrating analytics into the rest of your business systems. ### Privacy-First Analytics in Practice: 6 Real-World Scenarios URL: https://logly.uk/blog/privacy-first-analytics-use-cases/ A practical look at when privacy-first analytics is the right choice — six concrete scenarios where traditional tools fall short and what to use instead. ### How to Query Your Web Analytics from an AI Assistant URL: https://logly.uk/blog/query-analytics-from-ai-assistant/ Connect your web analytics to Claude, Cursor or any MCP client and ask about traffic, funnels and real-time visitors in plain language. Here's how it works. ### Analytics for Startups: What to Measure in Year One (and What to Ignore) URL: https://logly.uk/blog/startup-analytics-what-to-measure/ Most early-stage founders measure the wrong things. Here's what your analytics actually need to tell you in year one — and how to set it up in under 10 minutes. ### How to Measure Real Time-on-Page (and Why Your Current Number Is Wrong) URL: https://logly.uk/blog/time-on-page-accuracy/ Most analytics tools report tab-open time as session duration. What you actually want is the time the visitor was looking at the page. Here's the gap, and how to close it. ### Track Outreach Email Clicks to Your Demo With One Custom Event URL: https://logly.uk/blog/track-outreach-email-clicks-custom-event/ Track email click conversions from cold outreach with one Logly custom event and a tiny redirect — no UTM soup, no CRM, no attribution pipeline. ### The True Cost of Google Analytics 4 for a Small Business URL: https://logly.uk/blog/true-cost-of-google-analytics-4/ GA4 is free at the checkout, but small businesses pay in setup time, compliance overhead, lost signal, and time-to-insight. A realistic breakdown of what 'free analytics' actually costs. ### Why Analytics Break in Brave (and What to Do About It) URL: https://logly.uk/blog/why-analytics-break-in-brave/ Brave Shields blocks Google Analytics, Tag Manager and most third-party trackers by default. Here's what actually happens at the network layer, why your dashboard never tells you, and what to do. ### Why Your Google Analytics Numbers Are Lower Than Reality URL: https://logly.uk/blog/why-google-analytics-underreports/ Ad blockers silently drop GA4 for 25–40% of your audience. Add cookie consent drop-off and you're measuring a fraction of real traffic. Here's what's happening. ### How to Add Analytics to WordPress Without Slowing It Down URL: https://logly.uk/blog/wordpress-analytics-without-slowing-it-down/ Analytics is one of the heavier things people add to WordPress. It doesn't have to be — here's how to install it without code access, without a consent banner, and without touching your database. ## Comparisons with other analytics tools ### Logly vs Fathom URL: https://logly.uk/vs/fathom/ Logly vs Fathom Analytics Honest comparison between Logly and Fathom Analytics. Both are cookie-free and privacy-first — key differences: free plan, price at 100k pageviews, and time-on-page accuracy. ### Logly vs Ga4 URL: https://logly.uk/vs/ga4/ Logly vs Google Analytics 4 Honest comparison between Logly and GA4. GA4 is free and powerful — but it requires a consent banner in the EU, loads 45 KB of JS, and is blocked by Brave and uBlock. Logly doesn't. ### Logly vs Goatcounter URL: https://logly.uk/vs/goatcounter/ Logly vs GoatCounter Honest comparison between Logly and GoatCounter. Both are ultra-lightweight and privacy-first — differences are in hosting model, free tier, ad blocker bypass, and active time-on-page. ### Logly vs Matomo URL: https://logly.uk/vs/matomo/ Logly vs Matomo Honest comparison between Logly and Matomo. Matomo is the most complete privacy-friendly analytics platform. Logly is the lightest. Here's how to choose. ### Logly vs Pirsch URL: https://logly.uk/vs/pirsch/ Logly vs Pirsch Analytics Honest comparison between Logly and Pirsch Analytics. Both are cookie-free, GDPR compliant, and EU hosted — differences are in script weight, ad blocker bypass, and which features each prioritises. ### Logly vs Plausible URL: https://logly.uk/vs/plausible/ Logly vs Plausible Honest comparison between Logly and Plausible Analytics. Both are cookie-free and GDPR compliant — see how they differ on price, free plan, and time-on-page accuracy. ### Logly vs Simple-analytics URL: https://logly.uk/vs/simple-analytics/ Logly vs Simple Analytics Honest comparison between Logly and Simple Analytics. Both are cookie-free and GDPR compliant — key differences: free plan, script size, and price for small sites. ### Logly vs Umami URL: https://logly.uk/vs/umami/ Logly vs Umami Honest comparison between Logly and Umami. Both are cookie-free and privacy-first — the real difference is whether you want to manage your own server or not. ## Documentation ### Quick start 1 Create an account Sign in at app.logly.uk with Google or GitHub. No credit card required. 2 Add your site Go to Settings → Add a site . Enter a name and domain (e.g. myblog.com ). You'll get a site ID. 3 Add the snippet Paste this inside on every page you want to track, replacing YOUR-SITE-ID with the ID from the previous step: