Property | Type | Description | |
---|---|---|---|
JAN_01_1970 | System.DateTime |
Method | Description | |
---|---|---|
GetGoogleAnalytics ( string GoogleAnalyticsID, System Context ) : string |
Returns the html and javascript to include for Google Analytics Tracking
|
|
GetGoogleAnalytics ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVariable ) : string |
Returns the html and javascript to include for Google Analytics Tracking
|
|
GetGoogleAnalyticsNoScriptOnly ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVariable ) : string |
Returns the html (only) to include for Google Analytics Tracking
|
|
GetGoogleAnalyticsScriptOnly ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVariable ) : string |
Returns the javascript (only) to include for Google Analytics Tracking
|
|
SecondsFromEpoch ( System.DateTime date ) : long |
Get Unix Timestamp for given DateTime
|
Method | Description | |
---|---|---|
BuildImageURL ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVar ) : string |
Get's the URL to the __utm.gif (Google Analytics Tracker)
|
|
GetNoScriptSnippetTemplate ( ) : string |
Get's the NoScript template
|
|
GetResource ( string ResourceName ) : string |
Get's an embedded resource
|
|
GetScriptSnippetTemplate ( ) : string |
Get's the Script template
|
public static GetGoogleAnalytics ( string GoogleAnalyticsID, System Context ) : string | ||
GoogleAnalyticsID | string | Google Analytics ID (UA-xxxxxx-x) |
Context | System | Http Context to take the request parameters from |
return | string |
public static GetGoogleAnalytics ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVariable ) : string | ||
GoogleAnalyticsID | string | Google Analytics ID (UA-xxxxxx-x) |
Domain | string | Domain to track |
Referer | string | Refering page |
PageName | string | Name of page (shown in the Google Analytics Dashboard) |
UserVariable | string | Special variable to pass to analytics |
return | string |
public static GetGoogleAnalyticsNoScriptOnly ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVariable ) : string | ||
GoogleAnalyticsID | string | Google Analytics ID (UA-xxxxxx-x) |
Domain | string | Domain to track |
Referer | string | Refering page |
PageName | string | Name of page (shown in the Google Analytics Dashboard) |
UserVariable | string | Special variable to pass to analytics |
return | string |
public static GetGoogleAnalyticsScriptOnly ( string GoogleAnalyticsID, string Domain, string Referer, string PageName, string UserVariable ) : string | ||
GoogleAnalyticsID | string | Google Analytics ID (UA-xxxxxx-x) |
Domain | string | Domain to track |
Referer | string | Refering page |
PageName | string | Name of page (shown in the Google Analytics Dashboard) |
UserVariable | string | Special variable to pass to analytics |
return | string |
public static SecondsFromEpoch ( System.DateTime date ) : long | ||
date | System.DateTime | DateTime to convert |
return | long |