Python
Python SDK
Last updated
Python SDK
Last updated
The Evntaly Python SDK offers a seamless and flexible way to integrate event tracking, user identification, and analytics into your backend Python applications.
Install the Evntaly Python SDK using pip:
For custom event tracking, use the track method.
Identify a user to associate events with a specific profile.
You can enable or disable event tracking globally.
track
Tracks a custom event.
evntaly.track({"title": 'Event'})
v1.0.0
identifyUser
Identifies a user for analytics.
evntaly.identify_user({"id": 'user-123'})
v1.0.0
disableTracking
Disables all event tracking.
evntaly.disable_tracking()
v1.0.0
enableTracking
Enables all event tracking.
evntaly.enable_tracking()
v1.0.0
Initialize early: Always initialize the SDK as early as possible.
Avoid sensitive data: Do not pass sensitive personal data directly to the SDK.
Monitor API limits: Regularly check API limits to avoid missing critical events.
Events not appearing: Check if the SDK is initialized correctly and the API tokens are valid.
Network errors: Ensure your network allows requests to https://evntaly.com
.
For additional help, contact support at support@evntaly.com.
Initialize the SDK with your Developer Secret and Project Token - Check