C# Class GA.NET.MVC.GoogleAnalyticsHtmlHelper

显示文件 Open project: erikzaadi/GA.NET

Public Methods

Method Description
GoogleAnalytics ( this helper, string GoogleAnalyticsID ) : string

Renders the html and javascript needed to include for Google Analytics Tracking

GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName ) : string

Renders the html and javascript needed to include for Google Analytics Tracking

GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName, string Domain ) : string

Renders the html and javascript needed to include for Google Analytics Tracking

GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName, string Domain, string Referer ) : string

Renders the html and javascript needed to include for Google Analytics Tracking

GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName, string Domain, string Referer, string UserVariable ) : string

Renders the html and javascript needed to include for Google Analytics Tracking

Method Details

GoogleAnalytics() public static method

Renders the html and javascript needed to include for Google Analytics Tracking
public static GoogleAnalytics ( this helper, string GoogleAnalyticsID ) : string
helper this
GoogleAnalyticsID string Google Analytics ID (UA-xxxxxx-x)
return string

GoogleAnalytics() public static method

Renders the html and javascript needed to include for Google Analytics Tracking
public static GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName ) : string
helper this
GoogleAnalyticsID string Google Analytics ID (UA-xxxxxx-x)
PageName string Name of page (shown in the Google Analytics Dashboard)
return string

GoogleAnalytics() public static method

Renders the html and javascript needed to include for Google Analytics Tracking
public static GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName, string Domain ) : string
helper this
GoogleAnalyticsID string Google Analytics ID (UA-xxxxxx-x)
PageName string Name of page (shown in the Google Analytics Dashboard)
Domain string Domain to track sub.domain.com
return string

GoogleAnalytics() public static method

Renders the html and javascript needed to include for Google Analytics Tracking
public static GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName, string Domain, string Referer ) : string
helper this
GoogleAnalyticsID string Google Analytics ID (UA-xxxxxx-x)
PageName string Name of page (shown in the Google Analytics Dashboard)
Domain string Domain to track sub.domain.com
Referer string Refering page
return string

GoogleAnalytics() public static method

Renders the html and javascript needed to include for Google Analytics Tracking
public static GoogleAnalytics ( this helper, string GoogleAnalyticsID, string PageName, string Domain, string Referer, string UserVariable ) : string
helper this
GoogleAnalyticsID string Google Analytics ID (UA-xxxxxx-x)
PageName string Name of page (shown in the Google Analytics Dashboard)
Domain string Domain to track sub.domain.com
Referer string Refering page
UserVariable string Special variable to pass to analytics
return string