Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 814 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 814 Bytes

Krenalis .NET SDK

The Krenalis .NET SDK lets you send customer event data from your .NET applications to your specified destinations.

SDK setup requirements

  • Set up a Krenalis account.
  • Set up a .NET source in the dashboard.
  • Copy the event write key and the endpoint.

Using the SDK

using Krenalis;

var config = new Config().SetEndpoint("<endpoint>");

Analytics.Initialize("<event write key>", config);

Analytics.Client.Track("Efg678Mnu", "Product added to cart", new Dictionary<string, object> {
    { "price", 32.17 },
});

Analytics.Client.Flush();
Analytics.Client.Dispose();

Sending events

Refer to the Krenalis events documentation for more information on the supported event types.

License

The Krenalis .NET SDK is released under the MIT license.