c15t-scripts-docs

Read bundled, version-matched documentation for the @c15t/scripts consent-aware script integration package.

1.9k|209|Updated Jan 13, 2025
One-click install
npx skills add https://github.com/c15t/c15t --skill c15t-scripts-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c15t-scripts-docs
Source: https://github.com/c15t/c15t/tree/main/packages/scripts
Command: npx skills add https://github.com/c15t/c15t --skill c15t-scripts-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Working with @c15t/scripts requires accurate knowledge of its consent-gated script loaders, vendor configuration options, and API behavior, and generic web documentation may not match the installed package version.

Core Features & Use Cases

  • Version-Matched Local Docs: Reads documentation bundled inside the installed @c15t/scripts package, starting from AGENTS.md which indexes every per-topic Markdown file under docs/.
  • Consent-Aware Integration Guidance: Covers setup and configuration for Google Tag Manager, Google Consent Mode v2, GA4, Meta Pixel, PostHog, Amplitude, and dozens of other analytics, advertising, and widget vendors.
  • Use Case: While adding a consent-gated Meta Pixel or configuring Google Consent Mode v2 defaults, consult the local docs to get the exact options and loader behavior for the installed package version instead of guessing from outdated online articles.

Quick Start

Read the @c15t/scripts documentation to show me how to configure Google Tag Manager with Consent Mode v2 defaults.

Frequently Asked Questions about c15t-scripts-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Google Tag Manager with consent mode using @c15t/scripts?

Import googleTagManager from @c15t/scripts/google-tag-manager and pass your container ID. It loads with Google Consent Mode v2 defaults set to denied, and GTM-managed tags fire only after matching consent is granted.

What vendors does @c15t/scripts support for consent-gated loading?

It ships prebuilt loaders for Google Tag Manager, GA4, Meta Pixel, TikTok Pixel, LinkedIn Insights, Microsoft UET, X Pixel, Reddit and Snapchat pixels, plus analytics tools like PostHog, Amplitude, Mixpanel, Clarity, Plausible, and chat widgets like Intercom and Crisp.

Does @c15t/scripts support Google Consent Mode v2?

Yes. The Google Tag and Google Tag Manager helpers set Consent Mode v2 defaults to denied and send consent updates when users make a choice, mapping c15t consent categories to Google's consent signals.

Why should I read the bundled docs instead of the online documentation?

The docs ship inside the installed package, so they are version-matched to the code you actually run. Online documentation may describe newer or older behavior than your installed version.

How do I load Meta Pixel only after marketing consent?

Import metaPixel from @c15t/scripts/meta-pixel, pass your pixelId, and register it with the c15t script loader. The loader gates the pixel on marketing consent and queues vendor calls until consent is granted.