Open sourceA quiet vantage point over all your sites

Cookieless analytics for every site you run.

Perch is privacy-first, self-hostable web analytics for landing pages and small site portfolios. One tiny script and one calm dashboard for every project you run, on your own Cloudflare account, with every event kept and nothing sampled.

  • MIT licensed
  • Self-hosted on Cloudflare
  • Agent-ready setup guide
<3 KBgzipped tracker
0cookies or stored IPs
100%of events, never sampled
1dashboard for every project
“Know what’s working without watching people.”No cookies. No individual profiles. No sprawling setup. Just honest signals from the sites you care about.
Who it’s for

Built for people who run more than one site.

Perch is shaped for portfolios of small sites and landing pages, not one enterprise property with a data team behind it.

Indie makers

Launching side projects? See which page is catching on, without a cookie banner in the way.

Agencies & freelancers

One Perch for every client site: one sign-in, one project dropdown, CSV export per project.

Small product teams

Track the CTAs that matter on launch pages and read campaign results without a GA4 learning curve.

Privacy-minded orgs

Visitor data stays in your Cloudflare account. No raw IPs stored, and identifiers reset daily.

One-line install

One tag. The whole picture.

Add the tracker once. Perch handles pageviews, campaigns, outbound links, and the CTA signals that tell you whether a landing page is doing its job.

index.html
<!-- Add once, just before </body> -->
<script
  src="https://perch.YOUR-ACCOUNT.workers.dev/perch.js"
  data-project-id="my-project"
  defer
></script>

<!-- Mark the clicks that matter -->
<a href="/signup" data-perch-cta="signup-hero">Start free</a>
Vanilla JavaScript · no runtime dependenciesWorks on any static page or framework
Why Perch

Simple where it should be. Capable where it counts.

Built for indie makers, small teams, and agencies who run more than one landing page, and want answers without surrendering visitor data.

01

Full data, never sampled

Every event stays queryable. No hidden 10% sample or truncated top rows.

02

Every project in one view

See which site is winning, then drill into the project behind the signal.

03

LLM-ready installation

A deterministic guide lets an agent deploy, instrument, verify, and hand over the bookmark.

04

Cookieless by design

No persistent identity, no client storage, no cross-day trail, and typically no analytics consent banner.

05

Tiny on the page

Under 3 KB gzipped, loaded with defer, and out of your rendering path.

06

Your data, your edge

Runs on Cloudflare Worker + D1 free-tier infrastructure that you control.

The useful signals

Everything a landing page needs to tell you.

Perch keeps the scope focused while covering the traffic, attention, acquisition, and conversion questions that actually shape the next iteration.

Traffic

Pageviews, daily unique visitors, sessions, engaged visits, and pages per visit.

pageviews · uniques

Engagement

CTA clicks, custom events, outbound links, scroll depth and time on page.

data-perch-cta

Acquisition

Channels (including AI assistants), referring hosts, and UTM source, medium and campaign.

utm_* · AI referrals

Audience

Country, device, browser, operating system, and language.

country-level only

Content

Top, entry and exit pages, with scroll depth per page.

top · entry · exit

Realtime

Visitors active in the last five minutes, by project and globally.

last 5 minutes

Conversions

Conversion rate per CTA and per custom event, not just one number per page.

pageview → cta

Portfolio view

Rank every project, compare periods, and spot a site that stopped sending data.

all projects

Export & API

CSV downloads and a documented, unsampled JSON rollup endpoint.

/api/rollup

Web Vitals

Optional LCP, INP, and CLS at the 75th percentile, off until you ask for it.

data-perf
How it works

From script tag to clear decisions.

No vendor cloud in the loop. Your pages talk to your Worker, your Worker writes to your database, and only you can open the dashboard.

1
Embed

Add one script

Give each landing page a stable project ID and mark the CTAs that matter.

2
Collect

Send to your edge

Your Cloudflare Worker enriches anonymous events and stores them in your D1 database.

3
Decide

Open your dashboard

Sign in once through Cloudflare Access and use one bookmark for every project.

Dashboard preview

The high ground, without the noise.

Lead with the portfolio, spot the project drawing attention, then move into the details. Every number compares itself with the previous period, and every row is a filter.

Always compared

Every tile and chart shows the previous period, so a number is never just a number.

Every row is a filter

Click a referrer, page, country or CTA to scope the whole view to it.

Conversion per CTA

See which button earns its place, not just how many clicks the page got.

AI referrals, separated

ChatGPT, Perplexity, Claude and Gemini visits get their own channel.

A calmer alternative

Analytics on your terms.

Perch is deliberately small and self-hosted, with the portfolio view and integration path built around independent site owners.

CapabilityPerchGoogle AnalyticsCloudflare Web Analytics
Cookies / consentCookielessConfiguration-dependentCookieless
SamplingNoneCan applySampled reporting
Data ownershipYour D1 databaseVendor-hostedVendor-hosted
Global multi-project viewBuilt inAccount navigationPer-site views
Self-hostableYesNoNo
Base software priceFree / open sourceFree tierFree

Based on each product’s default setup as of November 2026; plans and settings change, so check the vendor’s documentation. Google Analytics and Cloudflare are trademarks of their respective owners.

Privacy is the architecture

Count the visit. Forget the visitor.

Perch derives the minimum useful context at the edge, hashes and discards the raw IP, and rotates anonymous identifiers every day. There is no person-level profile to browse or sell.

  • No cookies or client-side storage at all
  • No raw IP stored or returned
  • No cross-site or cross-day tracking
  • Country-level geography only
  • GDPR/CCPA-friendly, typically no banner
Privacy-policy text you can reuse

We use Perch, a cookieless analytics tool, to understand aggregate site traffic and improve this website. Perch does not store IP addresses or create cross-site profiles. Anonymous visitor identifiers rotate daily. We collect page paths, coarse country and device information, referring domains, campaign tags, and interactions such as button clicks. Do not submit personal information through analytics event properties.

FAQ

A few things worth knowing.

Short answers here. README.md and INTEGRATION.md go deeper.

Do I need a cookie banner?

Perch uses no cookies or persistent identity, so analytics alone typically does not require a consent banner. Your site may still need one for other tools; confirm requirements for your jurisdiction.

Is Perch GDPR compliant?

Perch is designed for data minimization: no raw IP storage, no cross-site profiles, daily-rotating anonymous hashes, and country-level location only. Compliance also depends on how you deploy it and what your site collects elsewhere.

What does it cost?

Perch itself is MIT-licensed. GitHub Pages, Cloudflare Workers, Access, and D1 all offer free tiers that suit personal and modest marketing traffic; a nightly summary keeps dashboard reads small. Provider usage fees may apply beyond those limits.

Can I self-host it?

Yes. That is the default model: your Worker, your D1 database, your Access policy, and your GitHub Pages site. The Deploy to Cloudflare button creates the Worker and database for you.

How accurate is it?

Perch queries every event it receives without sampling. Cookieless daily visitors and 30-minute sessions are intentionally coarse approximations, and blockers can prevent some events unless you use a first-party endpoint.

How do I add another site?

Register a new project ID, add the same tag with that ID, and instrument its CTAs. It appears automatically inside the existing project dropdown, with an install check that confirms the first events.

Will ad blockers block it?

Some privacy extensions block *.workers.dev. Serve your Worker from a subdomain of your own site, such as a.example.com, and load /perch.js from there; most of that loss goes away.

Does it work with single-page apps?

Yes. Call perch.track("pageview") after each route change. Perch reads the current path, and closes out the previous page’s scroll and time first.

Open source / free to run

Keep the code. Keep the data. Keep the bill tiny.

Perch uses GitHub Pages plus Cloudflare Worker and D1 free tiers for the traffic profile it is designed for. Fork it, inspect it, extend it, or let an LLM wire it into your next launch.