Skip to content

croct-tech/croct

v1.0.0MIT

Agent skills for building with Croct: SDK integration, CLI, content modeling, CQL audiences, event tracking, personalization, and A/B testing.

croct-track-events

Use when collecting data with Croct: tracking events with croct.track, useCroct().track, or the standalone track from @croct/plug/api; choosing built-in events (goalCompleted, eventOccurred, orderPlaced, productViewed, cartModified, checkoutStarted, leadGenerated, interestShown, postViewed, userSignedUp) and knowing which are auto-tracked; writing profile or session attributes with user.edit() / session.edit() patches (set, combine, increment, custom.*); identifying users with identify, anonymize, setToken, userId, userIdResolver; signed user tokens, anonymity scope, sessions, identity resolution; sharing identity across subdomains with cookies; proxying api.croct.io via baseEndpointUrl because ad blockers drop requests; bot exclusion. Phrasings: "track a conversion", "tracking plan", "send purchase events", "events not showing up", "experiment says track your goal", "two sessions on login".

Read SKILL.md at the source

Pinned to revision 6d1ad55caa27, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.