plausible-analytics

Integrate Plausible Analytics into Astro projects via a Cloudflare Worker proxy.

5|1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/teamniteo/hakuto --skill plausible-analytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plausible-analytics
Source: https://github.com/teamniteo/hakuto/tree/main/skills/plausible-analytics
Command: npx skills add https://github.com/teamniteo/hakuto --skill plausible-analytics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This skill solves the issue of standard analytics scripts being blocked by ad blockers and privacy extensions, while ensuring user data remains private by proxying requests through your own infrastructure.

Core Features & Use Cases

  • Ad-Blocker Bypass: Routes tracking requests through a first-party Cloudflare Worker endpoint to avoid domain-based blocking.
  • Privacy Compliance: Automatically strips cookies and caches scripts at the edge to minimize latency and maximize user privacy.
  • Use Case: Use this when you need to track visitor behavior on an Astro site deployed to Cloudflare without sacrificing data accuracy or user trust.

Quick Start

Ask the assistant to add Plausible analytics to the project by providing your Plausible site ID.

Frequently Asked Questions about plausible-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bypass ad blockers with Plausible Analytics on my Astro site?

Bypass ad blockers with Plausible Analytics by proxying script and event requests through a first-party Cloudflare Worker endpoint, routing traffic to your own domain to circumvent domain-based blocking. This ensures accurate visitor tracking without relying on third-party scripts.

How does a Cloudflare Worker proxy improve privacy compliance for web analytics?

A Cloudflare Worker proxy improves privacy compliance by stripping cookies and caching analytics scripts at the edge. This first-party routing mechanism minimizes latency and maximizes user trust by preventing third-party domains from handling visitor data.

Do I need a Cloudflare Workers environment to use first-party Plausible tracking?

Yes, you need a Cloudflare Workers deployment environment and a valid Plausible site ID. The proxy integration routes tracking requests through your custom Cloudflare endpoint, requiring this specific infrastructure to successfully bypass ad-blockers.

What is the best way to set up Plausible Analytics in an Astro project?

The best way to set up Plausible Analytics in an Astro project is to deploy a proxy endpoint via Cloudflare Workers. You provide your Plausible site ID to the assistant, which configures the first-party tracking integration to avoid ad-blocker interference.

Why does my Plausible Analytics script get blocked by privacy extensions?

Plausible Analytics scripts get blocked by privacy extensions because they are loaded from a third-party domain. Proxing the requests through a first-party Cloudflare Worker endpoint prevents domain-based blocking and restores data accuracy.