Social Proof
Small notifications of real recent activity (“Someone in Canada just signed up”, “12 people joined the waitlist today”) from your own forms, waitlist, reviews and link clicks. Real events only, anonymised, hidden when activity is low.
Beta. Social Proof is in beta: it works, but things may still break. If something breaks, report it.
On the store: Social Proof in Growth and conversion, pricing.
$7 USD per site · $21 USD for all your sites, paid once. Every purchase includes 12 months of updates, and there is a full refund within 7 days. Details: pricing.
Requirements
Section titled “Requirements”- Cloudflare® plan: Cloudflare free plan
- Works on: Cloudflare Workers; Cloudflare Pages; A site on its own server (VPS or cloud) with DNS on Cloudflare, through a Worker route in front of it (beta, tested on a live server) (hosts)
- Version: 0.4.9 (needs core 0.29.0 or later; it comes in the same download)
- Runs on the Cloudflare free plan, in the same D1 database as your other site apps. No third-party script and no data leaves your site.
- Shows only real activity already recorded on your site (form submissions, waitlist joins, approved reviews, link clicks). It never invents or pads numbers.
- Activity is read at most once a minute and shared by all page views, so busy sites stay inside the Cloudflare free limits. Shown / clicked counts are saved in batches within the daily write budget.
- Uses sessionStorage in the visitor’s browser (not cookies) to remember a dismissed toast and what was already shown.
- Works with Forms alone; better with Popups, Waitlist and Reviews. Install order doesn’t matter; removing any of them never breaks Social Proof (its messages just stop).
- Cost per visit: no writes on a page view; the activity list is read at most once a minute, and shown/clicked counts are saved in batches (about one write a minute). If the Cloudflare free database limit is reached, counting pauses and messages keep showing. Visit sources are counted by core: page views are added up in memory and saved in a few small writes about every 20 seconds, within the daily write budget; at the Cloudflare free limits counting pauses and the site is unaffected.
What it adds to the site
Section titled “What it adds to the site”- Addresses it answers:
/_proof/* - Edits pages as they are served: yes
- Has a say when a page is not found: no
- Uses the site’s brand: yes
- Core capabilities it uses:
forms - Database tables (in the site’s own D1 database):
proof_messages,proof_daily
Cookies and browser storage
Section titled “Cookies and browser storage”What the app sets in a visitor’s browser. Anything that is not necessary waits for consent.
| Name | Category | Kept in | Lasts | What it is for |
|---|---|---|---|---|
sproof_* |
preferences | sessionStorage | until the tab closes | Remembers that a visitor dismissed the activity notices, which ones were already shown and how many, so they don’t repeat during the visit. (only on pages that show social proof notices, and only if preferences are allowed (otherwise per page view only)) |
Agent tools
Section titled “Agent tools”Social Proof adds 8 tools to the site’s own agent connection. The short text under each name is what an agent sees in its tool list; the full notes are what site_tool_help returns. The shared rules for confirm, dry_run and on apply to every tool.
Read (changes nothing)
Section titled “Read (changes nothing)”proof_list
Section titled “proof_list”List the social proof messages (recent-activity toasts and counters) with source, kind, status and settings.
Read only: changes nothing.
Takes no input.
proof_templates
Section titled “proof_templates”Ready-made messages proof_create_from_template can create (recent signups, signups today, waitlist, reviews, deal clicks). Each says what it requires and what it leaves blank for you to fill in with proof_save afterwards.
Read only: changes nothing.
Takes no input.
proof_get
Section titled “proof_get”One social proof message in full, as proof_save takes it.
Read only: changes nothing.
| Field | Type | Required | What it is |
|---|---|---|---|
id |
integer | yes |
Change
Section titled “Change”proof_create_from_template
Section titled “proof_create_from_template”Create a DRAFT message from a template (see proof_templates): nothing is shown. Adapt config.text, then set it live with proof_save {id, status:“live”} when the owner is happy. Once live it only shows when there are enough real events or people.
Changes the site.
| Field | Type | Required | What it is |
|---|---|---|---|
template |
string | yes |
proof_toggle
Section titled “proof_toggle”Switch a message between live and paused. Without on it flips, which is not safe to retry. proof_save {id, status} sets the status directly too.
Changes the site.
| Field | Type | Required | What it is |
|---|---|---|---|
id |
integer | yes | |
on |
boolean | no | true: on, false: off. Sets the state (safe to retry). |
proof_display_save
Section titled “proof_display_save”Change how social proof toasts are displayed site-wide: position, timing, how many per page, pages, devices, offsets (PATCH: omitted settings keep their saved values; proof_list shows them under displaySettings).
Changes the site.
| Field | Type | Required | What it is |
|---|---|---|---|
position |
"left", "right" |
no | |
seconds |
number | no | How long a toast stays. |
gap |
number | no | |
delay |
number | no | Seconds before the first toast. |
perPage |
integer | no | |
perSession |
integer | no | |
device |
"all", "desktop", "mobile" |
no | |
include |
list of strings | no | Path patterns like /blog/*; empty = every page. |
exclude |
list of strings | no | |
offsetBottom |
integer | no | |
offsetSide |
integer | no | |
theme |
"auto", "light", "dark" |
no | |
dry_run |
boolean | no | true: save nothing; answers wouldSave (the full record) and the warnings. |
proof_save
Section titled “proof_save”Create a message (source, kind and config.text) or change one (id plus only what changes: PATCH, config keys too). Only real events are shown. A recent-event message’s text must contain {time}; a counter’s {n}.
Changes the site.
Full notes (what site_tool_help returns):
Read the saved values with proof_get. Nothing is ever made up. The answer warns when the source app isn’t installed or a form name is wrong.
| Field | Type | Required | What it is |
|---|---|---|---|
id |
integer | no | |
name |
string | no | Short name (lowercase, digits, dashes); counters use it in data-site-proof. |
title |
string | no | |
status |
"live", "paused", "draft" |
no | |
source |
"forms", "waitlist", "reviews", "links" |
no | forms (all forms except waitlist and review forms, or config.forms), waitlist, reviews, links (counters only). |
kind |
"recent", "counter" |
no | |
config |
object | no | text (tokens {who} {country} {name} {time} {n} {people} {period}), min (1 to 1000), maxAgeHours (recent, 1 to 168), window (counters: today|24h|7d|30d), forms (list of form names), slug (links), showName, nameDays, url. |
dry_run |
boolean | no | true: save nothing; answers wouldSave (the full record) and the warnings. |
proof_delete
Section titled “proof_delete”Delete a social proof message. DESTRUCTIVE: does nothing until called again with confirm:true.
Changes the site. Destructive: does nothing until it is called again with confirm.
| Field | Type | Required | What it is |
|---|---|---|---|
id |
integer | yes | |
confirm |
boolean | no | Leave out first (the answer says what would happen); then true, with confirm_token. |
confirm_token |
string | no | The answer’s confirmToken, sent with confirm:true and the same input. |
Core events
Section titled “Core events”- Listens to:
forms.submitted - Reports as conversions:
proof.clicked(Notice clicked) - Counts as actions:
proof.shown(Notice shown)
How events work: core events.
Works with your other apps
Section titled “Works with your other apps”Connects with no setup, in any install order: Forms, Waitlist, Reviews, Links & Redirects.