universal-analytics
1.1.0
dotnet add package universal-analytics --version 1.1.0
NuGet\Install-Package universal-analytics -Version 1.1.0
<PackageReference Include="universal-analytics" Version="1.1.0" />
paket add universal-analytics --version 1.1.0
#r "nuget: universal-analytics, 1.1.0"
// Install universal-analytics as a Cake Addin #addin nuget:?package=universal-analytics&version=1.1.0 // Install universal-analytics as a Cake Tool #tool nuget:?package=universal-analytics&version=1.1.0
Google Universal Analytics
What is Google Universal Analytics?
Wangkanai Analytics is a .NET Framework lightweight server-side code that generator library that JavaScript client-side on the fly for Google Analytics analytics.js. The goal of the framework is to stay out of the way as much as possible and provide a super interaction with Google all from C#.
How do i use it?
Install-Package universal-analytics
This project provide the full source code and complied dll library for you to add reference into your visual studio projects. The library include Intellisense to help guide you write server-side code in an effective manner.
public ActionResult Ecommerce()
{
Analytics.Session session = new Session();
session.Transaction = new Transaction("1234", "store", 1.0, 1.0);
session.Transaction.Items.Add(new Item("product a", "a001", "xxx", 2.0, 1));
session.Transaction.Items.Add(new Item("product b", "b001", "yyy", 3.0, 2));
ViewBag.AnalyticSession = session;
return View();
}
Features
Demo
Official Plugins extensions
Where it originated from?
This original library that was introduced in CodePlex. The library was for .NET Framework web application to render analytics.js javascript client-side to interact with Google API from .NET language web application within the server-side code environment. Both ASP.NET WebForm and ASP.NET MVC. Its was good, but we would like to see a much more extensible and ambust platform, so we are rewriting the entire framework.
How do i contribute?
Universal Analytics is a powerful and continuous improving platform. We would like to invite developers to help maintain and add features so that this library is keep aligned with most of the popular web analytics out there.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.