Skip to main content
Requires PHP 5.0 or greater.

Installation

Add to composer.json:
Then run:
Initialize:

Configuration

Track Events

Identify

User Profiles

Group Analytics

Send Events

Set Group Properties

Group properties are set via the People endpoint with group keys:

Privacy Controls

EU Data Residency

India Data Residency

Disable Geolocation

Debug Mode

Custom Consumers

Create custom consumers for advanced data routing:

Platform Considerations

All server-side calls originate from your server’s IP. Set $ip = 0 to disable geolocation.
  • Events are queued and flushed automatically
  • Default batch size: 1000 items
  • You manage distinct_id yourself
  • No automatic identity management
  • Custom consumers for scaling

Resources