Ruby
Ruby SDK
Last updated
Ruby SDK
Last updated
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.
To install the SDK using bundler
:
and then run:
or install directly using:
Initialize the SDK with your developer secret and project token:
To track an event, use the track
method with an associative array containing the event details.
To identify user details, use the identifyUser
method. This helps link events to specific users and enriches your analytics.
You can globally enable or disable event tracking for the current SDK instance. This might be useful for development/testing or respecting user consent.
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.
Huge shout-out and thank you for the legendary who developed this SDK and it has been added, reviewed and tested by the Evntaly team.