From ef34ff3dfc74114a3243997f9b0b8ab5193663ad Mon Sep 17 00:00:00 2001 From: riotcoder Date: Tue, 6 Oct 2026 02:36:11 +0000 Subject: [PATCH] feat(tenant): parked pages report to the Moshpit network crawlproof project Every parked domain page (?dn=, the branded Host, and /parking which lands there) now loads stats.js for the Moshpit network project 2cbffe9d-... alongside moshcoding.com's own tag, so parked domains and the pit's /n/ pages count in one place: crawlproof stats pit.moshcode.sh. The Script gets its own id because next/script dedupes on id || src. Co-Authored-By: Claude Opus 5.5 --- components/Tenant.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/Tenant.tsx b/components/Tenant.tsx index 35f7a4a..5901e43 100644 --- a/components/Tenant.tsx +++ b/components/Tenant.tsx @@ -1,4 +1,5 @@ import type { TenantConfig } from "@/lib/config"; +import Script from "next/script"; import WaitlistForm from "./WaitlistForm"; import AffiliateJoin from "./AffiliateJoin"; import SharePost from "./SharePost"; @@ -7,6 +8,13 @@ import CrawlProofAd from "./CrawlProofAd"; import CodeCopy from "./CodeCopy"; import { renderMarkdown } from "@/lib/markdown"; +/** + * The crawlproof.com project for the whole Moshpit network. Every parked page + * reports to it as well as to moshcoding.com's own tag in the root layout, so + * one project counts the pit's /n/ pages and the parked domains alike. + */ +export const MOSHPIT_STATS_SITE = "2cbffe9d-1b6e-43f0-85f3-3cadee132048"; + export default function Tenant({ cfg }: { cfg: TenantConfig }) { const accentStyle = { ["--tenant-accent" as any]: cfg.accent, @@ -20,6 +28,9 @@ export default function Tenant({ cfg }: { cfg: TenantConfig }) { hostname — configFor nulls these out everywhere else. */} {cfg.customCss &&