Ruby
Ruby SDK
Ruby client for interacting with the Evntaly event tracking platform. provides developers with a straightforward interface to initialize the SDK, track events, identify users, manage tracking states.
Installation
To install the SDK using bundler:
and then run:
or install directly using:
Initialization
Initialize the SDK with your developer secret and project token:
Tracking Events
To track an event, use the track method with an associative array containing the event details.
Identifying Users
To identify user details, use the identifyUser method. This helps link events to specific users and enriches your analytics.
Enabling and Disabling Tracking
You can globally enable or disable event tracking for the current SDK instance. This might be useful for development/testing or respecting user consent.
Best Practices
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.
Troubleshooting
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.
Support
For additional help, contact support at support@evntaly.com.
✨ Open-source community Achievements
Huge shout-out and thank you for the legendary Sayed El-Essawy who developed this SDK and it has been added, reviewed and tested by the Evntaly team.
Last updated