Day 10: Competition – the Numbers Are Wrong
Goal: In eight rounds you find and fix planted mishaps from across the book – snippet, proxy, goals, shields, ClickHouse and keys – against the clock and with proof. · Duration: approx. 120 min · Prerequisite: Days 0–9
Briefing
- You play on the stack from Day 9: demo site
itdrills.combehind Caddy, Plausible with PostgreSQL and ClickHouse, Mailpit. - Eight rounds, all layers: page, proxy, script, ad blocker, goal, shield, database, keys.
- Tools:
besuch.js(Day 3/4),curlwith an eye on the status code andx-plausible-dropped,clickhouse-client,psql, Caddy commands, the UI. - Every round ends with a proof command.
Round Symptom Target
1 A page is missing from the dashboard 3 min
2 Nothing arrives any more 4 min
3 Many pageviews, one visitor 4 min
4 Readers with ad blockers missing on /books/ 4 min
5 Click is counted, goal does not move 3 min
6 All visits: 202 verworfen (dropped) 4 min
7 Dashboard empty, health 500 3 min
8 After the move: API says 401 5 min
Rules of the Game
- In each round, the referee runs the referee commands – a colleague, or you yourself without looking. Then start the clock.
- Find the cause, fix it, prove it with one command. Only then stop the clock.
- Fix the cause, not the symptom: if you create a second goal for a wrong event name, switch off shields entirely or generate a new API key after Round 8, you get zero points.
- Read the hint only after the target time has run out.
Playing Field
First the most important check: Round 8 needs the backup of
.env from Day 8. Its SECRET_KEY_BASE must
match the running stack.
# on argo
cd ~/plausible/ce
cmp -s <(grep '^SECRET_KEY_BASE=' .env) \
<(grep '^SECRET_KEY_BASE=' ~/plausible/tag08/env) && echo gleich || echo VERSCHIEDEN
curl -s -o /dev/null -w '%{http_code}\n' https://plausible.lab/api/health
mkdir -p ~/plausible/tag10
date -u '+%F %T' > ~/plausible/tag10/startExpected (gleich means “same”,
VERSCHIEDEN means “different”):
gleich
200
Warning: If it says
VERSCHIEDEN, back up the current.envfirst (install -m 600 .env ~/plausible/tag08/env) – otherwise Round 8 means real data loss: all API keys would be useless afterwards.
Round 1: The new page
Situation: “The page /coming-soon/ has
been redesigned. Since then it no longer shows up in the dashboard, all
the others do.”
Referee commands:
# on argo
cd ~/plausible/site/coming-soon
sed -i '/script.js/,/<\/script>/d' index.htmlTarget time: 3 min
Hint: Does the browser send anything at all on this page?
Solution Round 1
# on argo
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.61 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/coming-soon/ | grep -c '^<-'
grep -c 'script.js' ~/plausible/site/coming-soon/index.htmlExpected:
0
0
No response because no request: the snippet is missing. Plausible cannot drop something that was never sent. Bring back the snippet from a working page:
# on argo
cd ~/plausible/site/coming-soon
sed -n '/script.js/,/<\/script>/p' ../index.html > ~/plausible/tag10/snippet
sed -i "/<\/title>/r $HOME/plausible/tag10/snippet" index.html
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.61 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/coming-soon/ | tail -1Expected (gezählt means “counted”):
<- 202 gezählt
Save your progress? Sign up for free
Round 2: The Caddyfile from the wiki
Situation: “I took the proxy section from our wiki, it worked for the other client too.” Since then: not a single visit on any page.
Referee commands:
# on argo
cd ~/plausible/proxy
sed -i 's/pa--JsuJYgBCST1JOUHGfKkS/pa-Kx81mQ2nVbT0aLzR4dWcE/' Caddyfile
docker exec caddy caddy reload --config /etc/caddy/Caddyfile 2>/dev/nullTarget time: 4 min
Hint: The pages load. Does
/js/script.js load too?
Solution Round 2
# on argo
curl -s -o /dev/null -w '%{http_code}\n' https://itdrills.com/js/script.js
grep -o 'pa-[A-Za-z0-9_-]*' ~/plausible/proxy/Caddyfile
cd ~/plausible/ce
docker compose exec -T plausible_db psql -U postgres -d plausible_db \
-tAc "select id from tracker_script_configuration"Expected:
404
pa-Kx81mQ2nVbT0aLzR4dWcE
pa--JsuJYgBCST1JOUHGfKkS
In Plausible v3.2.1 the script has a different name for each site
(Day 1). The Caddyfile points to the site of another installation; that
script does not exist here. The correct identifier is in
tracker_script_configuration – or in the snippet under
Site settings → Site installation.
# on argo
cd ~/plausible/ce
ID=$(docker compose exec -T plausible_db psql -U postgres -d plausible_db \
-tAc "select id from tracker_script_configuration")
cd ~/plausible/proxy
sed -i "s/pa-[A-Za-z0-9_-]*\.js/$ID.js/" Caddyfile
docker exec caddy caddy reload --config /etc/caddy/Caddyfile 2>/dev/null
curl -s -o /dev/null -w '%{http_code}\n' https://itdrills.com/js/script.jsExpected:
200
Save your progress? Sign up for free
Round 3: The tidied-up proxy
Situation: “I deleted the strange block at the very top of the Caddyfile, it wasn’t documented anywhere.” A few days later someone notices: many pageviews, hardly any visitors.
Referee commands:
# on argo
cd ~/plausible/proxy
sed -i '1,6d' Caddyfile
docker exec caddy caddy reload --config /etc/caddy/Caddyfile 2>/dev/null
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
date -u '+%F %T' > ~/plausible/tag10/r3
for ip in 203.0.113.71 203.0.113.72 203.0.113.73; do
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=$ip -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/books/ >/dev/null
doneTarget time: 4 min
Hint: How many different user_id values
do the three visits have? What is the user_id derived from
(Day 2)?
Solution Round 3
# on argo
sleep 5
cd ~/plausible/ce
docker compose exec -T plausible_events_db clickhouse-client -d plausible_events_db \
--query "select count(), uniqExact(user_id) from events_v2
where name = 'pageview' and timestamp >= '$(cat ~/plausible/tag10/r3)'"
head -3 ~/plausible/proxy/CaddyfileExpected:
3 1
plausible.lab {
tls internal
reverse_proxy 127.0.0.1:8000
The block with trusted_proxies is missing. Caddy
replaces X-Forwarded-For with its own view – everyone comes
from the same address, and IP + user agent + salt yield the same
user_id (Day 4). Put it back:
# on argo
cd ~/plausible/proxy
{ printf '{\n\tservers {\n\t\ttrusted_proxies static 127.0.0.1/8 ::1\n\t}\n}\n\n'
cat Caddyfile; } > Caddyfile.neu
mv Caddyfile.neu Caddyfile
docker exec caddy caddy reload --config /etc/caddy/Caddyfile 2>/dev/null
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
T=$(date -u '+%F %T')
for ip in 203.0.113.74 203.0.113.75 203.0.113.76; do
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=$ip -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/books/ >/dev/null
done
sleep 5
cd ~/plausible/ce
docker compose exec -T plausible_events_db clickhouse-client -d plausible_events_db \
--query "select count(), uniqExact(user_id) from events_v2
where name = 'pageview' and timestamp >= '$T'"Expected:
3 3
Save your progress? Sign up for free
Round 4: The quick integration
Situation: A reader writes: “I use an ad blocker. On
/books/ I can see in the network tab that your analytics
script is blocked, but not on the other pages.” An agency rebuilt the
page yesterday.
Referee commands:
# on argo
cd ~/plausible/site/books
sed -i '/script.js/,/<\/script>/d' index.html
sed 's#http://plausible.lab:8000#https://plausible.lab#' ../snippet.html \
> ~/plausible/tag10/direkt
sed -i "/<\/title>/r $HOME/plausible/tag10/direkt" index.htmlTarget time: 4 min
Hint: Where does /books/ load the
script from – and where do the other pages load it from?
Solution Round 4
# on argo
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e BLOCK=plausible -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/books/ | cut -c1-48
grep -ho 'src="[^"]*"' ~/plausible/site/books/index.html ~/plausible/site/index.html \
| cut -c1-40Expected (blockiert means
“blocked”):
blockiert https://plausible.lab/js/pa--JsuJYgBCS
src="https://plausible.lab/js/pa--JsuJYg
src="/js/script.js"
The agency copied the snippet directly from Plausible. A hostname containing “plausible” is on every blocklist; via your own domain (Day 4) there is nothing to block. Put the proxy snippet back:
# on argo
cd ~/plausible/site/books
sed -i '/plausible.lab/,/<\/script>/d' index.html
sed -i "/<\/title>/r $HOME/plausible/tag10/snippet" index.html
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e BLOCK=plausible -e IP=203.0.113.62 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/books/ | tail -1Expected (gezählt means “counted”):
<- 202 gezählt
Note:
~/plausible/tag10/snippetcomes from Round 1. If you skipped Round 1, create it with the firstsedcommand from Round 1.
Save your progress? Sign up for free
Round 5: The new button
Situation: “We relabeled the Pro button. Since then
the goal Signup for Pro does not move, even though
everything is green in the network tab.”
Referee commands:
# on argo
cd ~/plausible/site/books/sops
sed -i "s/plausible('Signup', {props: {plan: 'pro'}})/plausible('SignUp', \
{props: {plan: 'pro'}})/" index.html
date -u '+%F %T' > ~/plausible/tag10/r5Target time: 3 min
Hint: Under which name does the click end up in
events_v2?
Solution Round 5
# on argo
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.63 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/books/sops/ 'klick:#pro' | tail -1
sleep 5
cd ~/plausible/ce
docker compose exec -T plausible_events_db clickhouse-client -d plausible_events_db \
--query "select name, count() from events_v2 where lower(name) = 'signup'
and timestamp >= '$(cat ~/plausible/tag10/r5)' group by name format TSV"Expected (gezählt means “counted”):
<- 202 gezählt
SignUp 1
Counted – but as SignUp. Event names are case-sensitive
(Day 5); no goal knows this name. Fix the code, do not create a second
goal:
# on argo
cd ~/plausible/site/books/sops
sed -i "s/plausible('SignUp'/plausible('Signup'/" index.html
grep -c "plausible('Signup'" index.html
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.64 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/books/sops/ 'klick:#pro' >/dev/null
sleep 5
cd ~/plausible/ce
docker compose exec -T plausible_events_db clickhouse-client -d plausible_events_db \
--query "select name, count() from events_v2 where lower(name) = 'signup'
and timestamp >= '$(cat ~/plausible/tag10/r5)' group by name
order by name format TSV"Expected:
3
SignUp 1
Signup 1
Save your progress? Sign up for free
Round 6: The cleanup
Situation: “I deleted a duplicate rule in the
shields.” Since then every visit gets 202 – and the
dashboard stays at zero.
Referee commands:
# on argo
cd ~/plausible/ce
docker compose exec -T plausible_db psql -U postgres -d plausible_db \
-qc "delete from shield_rules_hostname where hostname = 'itdrills.com'"
docker compose restart plausible 2>&1 | tail -1
until curl -sf -o /dev/null https://plausible.lab/api/health; do sleep 2; doneTarget time: 4 min
Hint: 202 alone tells you nothing. What
does x-plausible-dropped say – and which rules apply to the
site?
Solution Round 6
# on argo
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.65 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/coming-soon/ | tail -1
cd ~/plausible/ce
docker compose exec -T plausible_db psql -U postgres -d plausible_db \
-tAc "select hostname, action from shield_rules_hostname"Expected (verworfen means
“dropped”):
<- 202 verworfen
www.itdrills.com|allow
The deleted rule was not a duplicate: what is left is an allowlist
with only www.itdrills.com, but the site runs under
itdrills.com (Day 7).
In the browser: Site settings →
Shields → Hostnames → Add
hostname, type itdrills.com, choose Create
“itdrills.com”, Add hostname.
# on argo
sleep 35
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.66 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/coming-soon/ | tail -1Expected (gezählt means “counted”):
<- 202 gezählt
Save your progress? Sign up for free
Round 7: Monday morning
Situation: Monday, 8 a.m. The dashboard has been
showing an error since the weekend. The website itself is running, and
the browser gets 202 for every visit.
Referee commands:
# on argo
cd ~/plausible/ce
docker compose stop plausible_events_db 2>&1 | tail -1Target time: 3 min
Hint: What does /api/health report, and
which service is missing from docker compose ps?
Solution Round 7
# on argo
curl -s -w ' %{http_code}\n' https://plausible.lab/api/health
cd ~/plausible/ce
docker compose ps --format '{{.Service}}' | sort | tr '\n' ' '; echoExpected:
{"sessions":"ok","postgres":"ok","clickhouse":"error","sites_cache":"ok"} 500
mailpit plausible plausible_db
ClickHouse is not running. Plausible keeps accepting and discards the buffer (Day 9) – the weekend’s visits are lost.
# on argo
cd ~/plausible/ce
docker compose start plausible_events_db 2>&1 | tail -1
until curl -sf -o /dev/null https://plausible.lab/api/health; do sleep 2; done
cd ~/plausible/pw
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
UA="$UA Chrome/140.0.0.0 Safari/537.36"
T=$(date -u '+%F %T')
docker run --rm --network host --user "$(id -u):$(id -g)" -e HOME=/tmp -e ECHT=1 \
-e UA="$UA" -e IP=203.0.113.67 -v ~/plausible/pw:/pw -w /pw \
mcr.microsoft.com/playwright:v1.65.0-noble \
node besuch.js https://itdrills.com/ >/dev/null
sleep 10
cd ~/plausible/ce
docker compose exec -T plausible_events_db clickhouse-client -d plausible_events_db \
--query "select count() from events_v2 where timestamp >= '$T'"Expected:
Container ce-plausible_events_db-1 Started
1
Save your progress? Sign up for free
Round 8: The move
Situation: “Plausible has been set up from scratch,
the databases are restored. The .env wasn’t included, so I
generated fresh keys.” Since then the marketing department’s reporting
script reports 401.
Referee commands:
# on argo
cd ~/plausible/ce
sed -i "s|^SECRET_KEY_BASE=.*|SECRET_KEY_BASE=$(openssl rand -base64 48)|" .env
docker compose up -d 2>&1 | tail -1
until curl -sf -o /dev/null https://plausible.lab/api/health; do sleep 2; doneTarget time: 5 min
Hint: Is the key in the database? What does Plausible compute its hash from?
Solution Round 8
# on argo
K=$(cat ~/plausible/api-key)
Q='{"site_id":"itdrills.com","date_range":"all","metrics":["visitors"]}'
curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $K" \
-H 'Content-Type: application/json' https://plausible.lab/api/v2/query -d "$Q"
cd ~/plausible/ce
cmp -s <(grep '^SECRET_KEY_BASE=' .env) \
<(grep '^SECRET_KEY_BASE=' ~/plausible/tag08/env) && echo gleich || echo VERSCHIEDENExpected (VERSCHIEDEN means
“different”):
401
VERSCHIEDEN
The key hash depends on SECRET_KEY_BASE (Day 8). Restore
only this one line from the backup – the rest of .env has
had the SMTP variables since Day 9:
# on argo
cd ~/plausible/ce
S=$(grep '^SECRET_KEY_BASE=' ~/plausible/tag08/env)
sed -i "s|^SECRET_KEY_BASE=.*|$S|" .env
docker compose up -d 2>&1 | tail -1
until curl -sf -o /dev/null https://plausible.lab/api/health; do sleep 2; done
K=$(cat ~/plausible/api-key)
Q='{"site_id":"itdrills.com","date_range":"all","metrics":["visitors"]}'
curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $K" \
-H 'Content-Type: application/json' https://plausible.lab/api/v2/query -d "$Q"Expected:
Container ce-plausible-1 Started
200
Warning: A new API key only fixes the symptom. All other keys, the 2FA secrets (
TOTP_VAULT_KEY) and active sessions stay broken.
Save your progress? Sign up for free
Scoring
| Round | Fault | Target time | Points |
|---|---|---|---|
| 1 | Snippet missing on one page | 3 min | 2 |
| 2 | Wrong script identifier in the proxy | 4 min | 2 |
| 3 | trusted_proxies deleted |
4 min | 2 |
| 4 | Snippet direct instead of via your own domain | 4 min | 2 |
| 5 | Event name spelled differently | 3 min | 2 |
| 6 | Hostname allowlist too narrow | 4 min | 2 |
| 7 | ClickHouse stopped | 3 min | 2 |
| 8 | New SECRET_KEY_BASE |
5 min | 3 |
Full points only within the target time, without the hint and with a proof command; otherwise half (round down). Overall time target: 30 min, maximum: 17 points.
| Points | Assessment |
|---|---|
| 14–17 | ready for the final exam (Appendix B) |
| 9–13 | good; repeat the days of the rounds you missed |
| 0–8 | work through Days 3, 4, 7 and 8 again |
The final measurement: all four pages count again, health and API are green.
# on argo
grep -l 'src="/js/script.js"' ~/plausible/site/index.html \
~/plausible/site/books/index.html ~/plausible/site/books/sops/index.html \
~/plausible/site/coming-soon/index.html | wc -l
curl -s -o /dev/null -w '%{http_code}\n' https://plausible.lab/api/health
cd ~/plausible/ce
docker compose exec -T plausible_events_db clickhouse-client -d plausible_events_db \
--query "select pathname, count() from events_v2 where name = 'pageview'
and timestamp >= '$(cat ~/plausible/tag10/start)' group by pathname
order by pathname format TSV"Expected:
4
200
/ 1
/books/ 7
/books/sops/ 2
/coming-soon/ 2
Challenge
Round 7 showed: /api/health reports the outage, but only
when someone looks – and a green health check does not prove that visits
arrive. Build a command that sends a test visit on a unique path
via your own domain and checks after 10 seconds whether
it is in ClickHouse. Output: angekommen (arrived) or
FEHLT (missing).
Hint: curl directly on
/api/event counts (Day 2). A path with date and time is
unique.
Solution
# on argo
P="/monitor/$(date +%s)/"
UA="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)"
curl -s -o /dev/null -H "User-Agent: $UA Chrome/140.0" \
-H 'Content-Type: application/json' https://itdrills.com/api/event \
-d "{\"name\":\"pageview\",\"url\":\"https://itdrills.com$P\",
\"domain\":\"itdrills.com\"}"
sleep 10
cd ~/plausible/ce
N=$(docker compose exec -T plausible_events_db \
clickhouse-client -d plausible_events_db \
--query "select count() from events_v2 where pathname = '$P'")
[ "$N" = 1 ] && echo angekommen || echo FEHLTExpected (angekommen means
“arrived”):
angekommen
In operations, a command like this runs as a cron job or push monitor
(Enterprise Note). The test visits should then be excluded with a
Pages shield (Day 7) – or deliberately collected under
/monitor/ and filtered out in the dashboard.
Save your progress? Sign up for free
Cleanup
# on argo
rm -rf ~/plausible/tag10
cd ~/plausible/proxy && head -3 CaddyfileExpected:
{
servers {
trusted_proxies static 127.0.0.1/8 ::1
Checkpoint
# on argo
curl -s -o /dev/null -w '%{http_code}\n' https://itdrills.com/js/script.js
grep -c "plausible('Signup'" ~/plausible/site/books/sops/index.html
cd ~/plausible/ce
docker compose exec -T plausible_db psql -U postgres -d plausible_db \
-tAc "select hostname from shield_rules_hostname order by hostname"Expected:
200
3
itdrills.com
www.itdrills.com
Interview Note
- “Plausible isn’t counting” – where do you start? In the
browser: does a request go out to
/api/event? If not: snippet or script. If yes: response andx-plausible-dropped. If counted: ClickHouse and goals. - Why is
202no proof?202means accepted. Dropped events get the same response, and during a ClickHouse outage accepted events are lost. - Which file matters most when moving? The
.envwithSECRET_KEY_BASEandTOTP_VAULT_KEY– without it, API keys and 2FA are useless.
Enterprise Note
- The challenge as a push monitor (Uptime Kuma, Healthchecks): it reports not just “Plausible is running” but “visits arrive” – from the snippet to the database.
- Snippet and proxy path belong in the website template, not in the
hands of every agency. A check in CI finds pages without
src="/js/script.js". - Shields, goals and event names are configuration: changes go through a ticket, event names live in a shared list with the development team.