Track Events
Oppla provides comprehensive event tracking capabilities including standard events, feature flag interactions, experiment conversions, and automation triggers. All events are automatically enriched with user context, IP geolocation, and session data.Using Data Attributes
Track events by adding data attributes to your HTML elements:Using JavaScript
Track events programmatically using the Oppla object:Event Properties
Add detailed properties to your events:Standard Event Types
Page Views
Track page views with automatic enrichment:User Actions
Track user interactions:E-commerce Events
Track e-commerce activities:Feature Flag Events
Track feature flag exposures and interactions:Experiment Events
Track experiment exposures and conversions:Automation Trigger Events
Trigger automated workflows based on user behavior:Cross-Product Tracking
Track users across multiple products:User Identification Events
Track user identity and properties:Performance Tracking
Monitor application performance:Event Batching
Oppla automatically batches events for performance:Important Notes
-
Automatic Enrichment:
- All events include timestamp, session ID, and user context
- IP geolocation is automatically added via ipapi.co
- Device and browser information is captured
-
Data Types:
- JavaScript method supports all data types
- HTML attributes are converted to strings
- Nested objects and arrays are supported
-
Privacy:
- Never include passwords or sensitive data
- PII should be hashed when necessary
- Respect user privacy preferences