Set up ClickTrail
This skill plans setup before changing files. Explicit invocation authorizes inspection, not automatic mutation.
- Read the nearest project instructions and tracking documentation.
- Detect the framework, package manager, runtime boundary, and existing consent management platform. Do not infer consent from cookie presence.
- Read
../../references/framework-routing.mdand select only a package that is currently published. Confirm withnpm view <package> version dist-tags --json. - Read
../../references/clicktrail-safety-contract.md. - Ask for the approved event taxonomy, consent-grant signal, withdrawal signal, collector destination, and retention policy when any is missing.
- Present a file-by-file plan covering installation, lifecycle, storage, withdrawal erasure, destination validation, and tests.
- Stop for approval before installing dependencies or editing code.
Never create a standalone Vue/React adapter, invent event names, call a live collector, or add a direct analytics vendor dependency during setup.