C#

Dotnet SDK

The Evntaly C# SDK offers a robust and flexible solution to integrate event tracking, user identification, and analytics into your .NET applications.

Installation

Install the Evntaly C# SDK using NuGet Package Manager:

Initialization

Initialize the SDK with your Developer Secret and Project Token - Chech Here

Tracking Events

For custom event tracking, use the Track method.

User Identification

Identify a user to associate events with a specific profile.

Enabling and Disabling Tracking

You can enable or disable event tracking globally.

Methods

Method
Description
Example Usage
Available Since

Track

Tracks a custom event.

evntaly.Track(new Event { Title = "Event" })

v1.0.0

IdentifyUser

Identifies a user for analytics.

evntaly.IdentifyUser(new User { ID = "user-123" })

v1.0.0

DisableTracking

Disables all event tracking.

evntaly.DisableTracking()

v1.0.0

EnableTracking

Enables all event tracking.

evntaly.EnableTracking()

v1.0.0

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.

Last updated