universal-analytics 1.1.0

.NET Framework 4.5
dotnet add package universal-analytics --version 1.1.0
NuGet\Install-Package universal-analytics -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: universal-analytics, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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

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

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .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 Downloads Last updated
1.1.0 598 2/8/2020
1.0.0.8 4,633 3/30/2014
1.0.0.7 1,093 3/30/2014
1.0.0.6 1,079 3/30/2014
1.0.0.5 1,087 3/30/2014
1.0.0.4 1,055 3/30/2014
1.0.0.3 1,022 12/18/2013
1.0.0.2 1,017 12/17/2013