tracking-scripts

Installation
SKILL.md

Tracking Scripts & Cookie Consent

Replo sites manage analytics/marketing scripts through a single consent-aware registry so they only load with the visitor's consent (GDPR/CCPA). This skill is the source of truth for adding or changing those scripts.

Where managed scripts live

All managed tracking scripts are entries in the scripts array passed to the single <ReploScripts> component in the site's root layout at app/layout.tsx, in the site repo you cloned. Do not create or author files under src/app/:

import type { ReploScriptEntry } from "@replohq/sdk/consent/types";
Installs
13
Repository
replohq/skills
GitHub Stars
1
First Seen
Aug 31, 2026