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".
Pinned to revision 6d1ad55caa27, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/croct-track-events/SKILL.md
- skills/croct-track-events/references/delivery.md
- skills/croct-track-events/references/event-types.md
- skills/croct-track-events/references/user-and-session.md
Every link opens the file at its source, pinned to the revision this page describes.