.NET Tracker
The Snowplow .NET Tracker allows you to track Snowplow events from your .NET websites and desktop applications. It's split into two libraries:
Snowplow.Tracker
This is a fully functional .NET Standard 1.4 tracking library - it will work on any platform that supports .NET Standard 1.4+ (including .NET 461+).
Snowplow.Tracker.PlatformExtensions
This is a Portable Class Library (PCL) wrapper around the core Snowplow.Tracker
library that extends functionality in platform specific ways, for example to provide geo-location information when tracking users in a Xamarin mobile application. If you're using Xamarin we encourage you to use this library.
Snowplow Demo Application
The Xamarin demo application can be deployed on Android and iOS. Simply launch the Snowplow.Demo.App.sln
solution file with Visual Studio and deploy to either emulators or actual test devices. The .NET Core Console demo application can also be loaded with Visual Studio using Snowplow.Demo.Console.sln
.
📄️ Setup
Tracker compatibility
📄️ Initialization
Assuming you have completed the .NET Tracker Setup for your project, you are now ready to initialize the .NET Tracker.
📄️ Tracker
The Tracker object is responsible for co-ordinating the saving and sending of events as well as managing the optional Session object.
📄️ Emitter
Using Snowplow.Tracker (.NET Standard) or Snowplow.Tracker.PlatformExtensions (PCL)
📄️ Subject
You may have additional information about your application's environment, current user and so on, which you want to send to Snowplow with each event.
📄️ Event Tracking
Events supported by the .NET Tracker at a glance:
📄️ Session
The Session object is responsible for maintaining persistent data around user sessions over the life-time of an application.
📄️ Platform specific functions
To support multiple platforms we provide several utility functions for fetching platform specific information.