universal-analytics 1.1.0

Suggested Alternatives

Wangkanai.Universal

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 and Polyglot Notebooks. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
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 763 2/8/2020
1.0.0.8 4,785 3/30/2014
1.0.0.7 1,198 3/30/2014
1.0.0.6 1,204 3/30/2014
1.0.0.5 1,192 3/30/2014
1.0.0.4 1,167 3/30/2014
1.0.0.3 1,141 12/18/2013
1.0.0.2 1,144 12/17/2013