My favorites | English | Sign in

More personalization in Google Friend Connect New!

Google Analytics

Tracking API: Web Client

This reference describes all the methods that you use to customize web client information tracking in Google Analytics reporting.

GATC Web Client Methods

Method Details

_getClientInfo()

    _getClientInfo(bool)
    Gets the flag that indicates whether the browser tracking module is enabled. See _setClientInfo() for more information.

    parameters

      Boolean   1 if enabled, 0 if disabled.

_getDetectFlash()

    _getDetectFlash(bool)
    Gets the Flash detection flag. See _setDetectFlash() for more information.

    parameters

      Boolean   1 if enabled, 0 if disabled.

_getDetectTitle()

    _getDetectTitle(bool)
    Gets the title detection flag.

    parameters

      Boolean   1 if enabled, 0 if disabled.

_setClientInfo()

    _setClientInfo(bool)
    Sets the browser tracking module. By default, Google Analytics tracks browser information from your visitors and provides more data about your visitor's browser settings that you get with a simple HTTP request. If you desire, you can turn this tracking off by setting the parameter to false. If you do this, any browser data will not be tracked and cannot be recovered at a later date, so use this feature carefully.

    parameters

      Boolean   true or false Defaults is true, and browser tracking is enabled. If set to false, browser tracking is disabled.

_setDetectFlash()

    _setDetectFlash(enable)
    Sets the Flash detection flag. By default, Google Analytics tracks Flash player information from your visitors and provides detailed data about your visitor's Flash player settings. If you desire, you can turn this tracking off by setting the parameter to false. If you do this, any Flash player data will not be tracked and cannot be recovered at a later date, so use this feature carefully.

    parameters

      Boolean   true or false Defaults is true, and Flash detection is enabled. false disables Flash detection..

_setDetectTitle()

    _setDetectTitle(enable)
    Sets the title detection flag. By default, page title detection for your visitors is on. This information appears in the Contents section under "Content by Title." If you desire, you can turn this tracking off by setting the parameter to false. You could do this if your website has no defined page titles and the Content by Title report has all content grouped into the "(not set)" list. You could also turn this off if all your pages have particularly long titles. If you do this, any page titles that are defined in your website will not be displayed in the "Content by Title" reports. This information cannot be recovered at a later date once it is disabled.

    parameters

      Boolean   enable Defaults to true, and title detection is enabled. If set to false, title detection is disabled.