universal-analytics 1.1.0

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#.

Install-Package universal-analytics -Version 1.1.0
dotnet add package universal-analytics --version 1.1.0
<PackageReference Include="universal-analytics" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add universal-analytics --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Google Universal Analytics

NuGet Badge

GitHub
Open Collective
Patreon

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

IntelliSense

Demo

Mvc Demo Web App

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.

mvc showcase

Google Universal Analytics

NuGet Badge

GitHub
Open Collective
Patreon

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

IntelliSense

Demo

Mvc Demo Web App

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.

mvc showcase

  • .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.

Version History

Version Downloads Last updated
1.1.0 232 2/8/2020
1.0.0.8 3,589 3/30/2014
1.0.0.7 506 3/30/2014
1.0.0.6 489 3/30/2014
1.0.0.5 514 3/30/2014
1.0.0.4 481 3/30/2014
1.0.0.3 530 12/18/2013
1.0.0.2 516 12/17/2013