GoogleAnalytics Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Google Analytics Tracking Code. Stay in the Loop! Subscribe to our changelog. Asynchronous Tracking Forum. Collect visitor data for your website using the Google Analytics tracking code. The tracking code works by the inclusion of a block of JavaScript code on your website pages. When visitors to your website view a page, this JavaScript code executes the tracking operation for Analytics. Data about the page visit is collected and sent to the Analytics server through a list of parameters attached to a single-pixel image request. Without any customization, the tracking code snippet supplies your Analytics reports with a wide variety of data about your website pages, your visitors' loyalty, AdWords traffic sources, and more. If you want to use Analytics for other types of web analytics—such as ecommerce tracking or tracking visitors across domains—you will need to customize the tracking code.
Inheritance Hierarchy

SystemObject
  System.Web.UIControl
    ContentStudio.Site.ControlsGoogleAnalytics

Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public class GoogleAnalytics : Control

The GoogleAnalytics type exposes the following members.

Constructors

  NameDescription
Public methodGoogleAnalytics
Initializes a new instance of the GoogleAnalytics class.
Top
Properties

  NameDescription
Public propertyAccountId
The full web property ID (e.g. UA-65432-1) for the tracker object.
Protected propertyAdapter (Inherited from Control.)
Public propertyAppRelativeTemplateSourceDirectory (Inherited from Control.)
Public propertyBindingContainer (Inherited from Control.)
Protected propertyChildControlsCreated (Inherited from Control.)
Public propertyClientID (Inherited from Control.)
Protected propertyClientIDSeparator (Inherited from Control.)
Protected propertyContext (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Public propertyCustomVars
Sets a custom variable with the supplied name, value, and scope for the variable. There is a 64-byte character limit for the name and value combined.
Protected propertyDesignMode (Inherited from Control.)
Public propertyEnableTheming (Inherited from Control.)
Public propertyEnableViewState (Inherited from Control.)
Protected propertyEvents (Inherited from Control.)
Protected propertyHasChildViewState (Inherited from Control.)
Public propertyID (Inherited from Control.)
Protected propertyIdSeparator (Inherited from Control.)
Protected propertyIsChildControlStateCleared (Inherited from Control.)
Protected propertyIsTrackingViewState (Inherited from Control.)
Protected propertyIsViewStateEnabled (Inherited from Control.)
Protected propertyLoadViewStateByID (Inherited from Control.)
Public propertyNamingContainer (Inherited from Control.)
Public propertyPage (Inherited from Control.)
Public propertyPageUrl
Optional parameter to indicate what page URL to track metrics under. When using this option, use a beginning slash (/) to indicate the page URL.
Public propertyParent (Inherited from Control.)
Public propertySite (Inherited from Control.)
Public propertySkinID (Inherited from Control.)
Public propertyTemplateControl (Inherited from Control.)
Public propertyTemplateSourceDirectory (Inherited from Control.)
Public propertyTrackPageview
Gets or sets a value indicating whether [track pageview].
Public propertyUniqueID (Inherited from Control.)
Protected propertyViewState (Inherited from Control.)
Protected propertyViewStateIgnoresCase (Inherited from Control.)
Public propertyVisible (Inherited from Control.)
Top
Methods

  NameDescription
Protected methodAddedControl (Inherited from Control.)
Protected methodAddParsedSubObject (Inherited from Control.)
Public methodApplyStyleSheetSkin (Inherited from Control.)
Protected methodBuildProfileTree (Inherited from Control.)
Protected methodClearChildControlState (Inherited from Control.)
Protected methodClearChildState (Inherited from Control.)
Protected methodClearChildViewState (Inherited from Control.)
Protected methodCreateChildControls (Inherited from Control.)
Protected methodCreateControlCollection (Inherited from Control.)
Public methodDataBind (Inherited from Control.)
Protected methodDataBind(Boolean) (Inherited from Control.)
Protected methodDataBindChildren (Inherited from Control.)
Public methodDispose (Inherited from Control.)
Protected methodEnsureChildControls (Inherited from Control.)
Protected methodEnsureID (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindControl(String) (Inherited from Control.)
Protected methodFindControl(String, Int32) (Inherited from Control.)
Public methodFocus (Inherited from Control.)
Protected methodGetDesignModeState (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHasControls (Inherited from Control.)
Protected methodHasEvents (Inherited from Control.)
Protected methodIsLiteralContent (Inherited from Control.)
Protected methodLoadControlState (Inherited from Control.)
Protected methodLoadViewState (Inherited from Control.)
Protected methodMapPathSecure (Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnBubbleEvent (Inherited from Control.)
Protected methodOnDataBinding (Inherited from Control.)
Protected methodOnInit (Inherited from Control.)
Protected methodOnLoad (Inherited from Control.)
Protected methodOnPreRender
Raises the PreRender event.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodOnUnload (Inherited from Control.)
Protected methodOpenFile (Inherited from Control.)
Protected methodRaiseBubbleEvent (Inherited from Control.)
Protected methodRemovedControl (Inherited from Control.)
Protected methodRender
Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Overrides ControlRender(HtmlTextWriter).)
Protected methodRenderChildren (Inherited from Control.)
Public methodRenderControl(HtmlTextWriter) (Inherited from Control.)
Protected methodRenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected methodResolveAdapter (Inherited from Control.)
Public methodResolveClientUrl (Inherited from Control.)
Public methodResolveUrl (Inherited from Control.)
Protected methodSaveControlState (Inherited from Control.)
Protected methodSaveViewState (Inherited from Control.)
Protected methodSetDesignModeState (Inherited from Control.)
Public methodSetRenderMethodDelegate (Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTrackViewState (Inherited from Control.)
Top
Events

  NameDescription
Public eventDataBinding (Inherited from Control.)
Public eventDisposed (Inherited from Control.)
Public eventInit (Inherited from Control.)
Public eventLoad (Inherited from Control.)
Public eventPreRender (Inherited from Control.)
Public eventUnload (Inherited from Control.)
Top
See Also

Reference