Skip to content
/ Allium Public

Google Measurement Protocol in C# for tracking Apps

License

Notifications You must be signed in to change notification settings

Kolky/Allium

Repository files navigation

Allium

Google Analytics v3 Tracker in C#. Using the Google Measurement Protocol. Most of the Enhanced E-Commerce features are not (yet) supported.

Status

Build status NuGet

Example

Basic example:

using (var session = new AnalyticsSession("UA-XXXX-Y"))
{
	// Set Parameters
	session.App.ApplicationName = "TestApp";
	session.Start();

	// Track an event
	session.TrackEventHit("Core", "Started").Send();
} // Finishes the session

Libraries

  • StyleCop.Analyzers
  • Validation

For Development/Testing

  • NUnit
  • OpenCover
  • ReportGenerator
  • RhinoMocks

For Publishing

  • NuProj