Overview
pg_track_events event destinations
Supported Destinations
| Destination | Processed Events | Raw DB Events |
|---|---|---|
| Mixpanel | ✅ | ❌ |
| PostHog | ✅ | ❌ |
| Amplitude | ✅ | ❌ |
| Google BigQuery | ✅ | ✅ |
| AWS S3 | ✅ | ✅ |
Configuration
Referencing environment variables
To reference an environment variable for secrets, use the $NAME_OF_VAR syntax.
For example, to set the Mixpanel project token via an environment variable called MIXPANEL_PROJECT_TOKEN, you would use the $ syntax below:
Destination event name filters
The filter property allows you to control which events are sent to each destination by matching against event names using glob patterns.
Common glob patterns:
*- Match all eventsuser_*- Match events starting with "user_"*_completed- Match events ending with "_completed"*payment*- Match events containing "payment" anywhere in the name