Skip to content

Commit 69ab2e9

Browse files
guitavanoclaude
andauthored
chore: remove all Plausible analytics references (#1583)
Plausible integration is no longer used. This removes the scripts, components, loaders, sections, and stale comments referencing it. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 18d422e commit 69ab2e9

7 files changed

Lines changed: 4 additions & 239 deletions

File tree

analytics/components/DecoAnalytics.tsx

Lines changed: 0 additions & 105 deletions
This file was deleted.

analytics/loaders/DecoAnalyticsScript.ts

Lines changed: 0 additions & 86 deletions
This file was deleted.

analytics/manifest.gen.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22
// This file SHOULD be checked into source version control.
33
// This file is automatically updated during development when running `dev.ts`.
44

5-
import * as $$$0 from "./loaders/DecoAnalyticsScript.ts";
6-
import * as $$$1 from "./loaders/OneDollarScript.ts";
7-
import * as $$$$$$0 from "./sections/Analytics/DecoAnalytics.tsx";
5+
import * as $$$0 from "./loaders/OneDollarScript.ts";
86

97
const manifest = {
108
"loaders": {
11-
"analytics/loaders/DecoAnalyticsScript.ts": $$$0,
12-
"analytics/loaders/OneDollarScript.ts": $$$1,
13-
},
14-
"sections": {
15-
"analytics/sections/Analytics/DecoAnalytics.tsx": $$$$$$0,
9+
"analytics/loaders/OneDollarScript.ts": $$$0,
1610
},
1711
"name": "analytics",
1812
"baseUrl": import.meta.url,

analytics/scripts/plausible_scripts.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

analytics/sections/Analytics/DecoAnalytics.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

posthog/components/PostHog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const snippet = () => {
4343
}
4444
// 2000 bytes limit
4545
const truncate = (str: string) => `${str}`.slice(0, 990);
46-
// setup plausible script and unsubscribe
46+
// setup tracking script and unsubscribe
4747
globalThis.window.DECO.events.subscribe((event) => {
4848
if (!event || event.name !== "deco") {
4949
return;

website/components/Clickhouse.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const snippet = ({ siteId, siteName, serviceEndpoint, userId, sessionId }: {
257257
utm_content: getUrlParam("utm_content"),
258258
utm_term: getUrlParam("utm_term"),
259259
referrer: document.referrer,
260-
referrer_source: getReferrerSource(document.referrer), // benchmark: plausible
260+
referrer_source: getReferrerSource(document.referrer),
261261
ip_city: undefined, // get server side
262262
ip_continent: undefined, // get server side
263263
ip_country: undefined, // get server side

0 commit comments

Comments
 (0)