Overview
Events are the foundation of analytics in Cryptique. Every user action—from page views to transactions—is captured as an event with associated properties.Event Structure
Every event has this structure:Event Types
Auto-Events
Captured automatically only whenauto-events="true" (or Cryptique.enableAutoEvents()). Examples of implemented names:
See Auto-Events for the full catalog, script attributes, and JavaScript API.
Custom properties on each event may also include group membership fields merged from
set_group / add_group.
Custom Events
Tracked via SDK:Transaction Events
Generated from indexed smart contracts:Properties
Properties provide context to events. They come in several categories:Default Properties
Auto-captured on every event:- Identifiers
- Location
- Device & Browser
- Screen & Page
- UTM & Web3
Custom Properties
Add your own properties to events:Event-Specific Properties
Auto event payloads vary byevent_name. Examples:
element_click (abbreviated):
page_scroll:
Cryptique.walletAddress() and Cryptique.track('wallet_connected', { ... }) if needed.
Property Data Types
Best Practices
Event Naming
Usesnake_case with clear action verbs:
Property Naming
Property Values
High-Cardinality Properties
Avoid properties with unlimited unique values:Limits
Next Steps
Track Events
Learn the track() method
Auto-Events
Automatic event names and configuration
Groups
Group keys, membership, and enrichment
Default Properties
Full property reference