My favorites | Sign in
Logo
                
Search
for
Updated Jan 10, 2009 by zwetan
GoogleAnalyticsAPI  
Analytics AS3 API.

see: Google Analytics JS API

note:
a - sign indicate something not implemented
a + sign indicate something added to the AS3 API but that does not exists in the JS API
a ~ sign indicate something that work differently in the AS3 API compared to the JS API
a # sign indicate something deprecated in the JS API and removed (or not implemented) in the AS3 API

com.google.analytics.v4.GoogleAnalyticsAPI

  • Basic Configuration
    Methods that you use for customizing all aspects of Google Analytics reporting.
    see: JS API
  • getAccount():String;
    getVersion():String;
    #initData():void;
    +resetSession():void;
    setSampleRate( newRate:Number ):void;
    setSessionTimeout( newTimeout:int ):void;
    setVar( newVal:String ):void;
    trackPageview( pageURL:String = "" ):void
  • Campaign Tracking
    Methods that you use for setting up and customizing campaign tracking in Google Analytics reporting.
    see: JS API
  • setAllowAnchor( enable:Boolean ):void;
    setCampContentKey( newCampContentKey:String ):void;
    setCampMediumKey( newCampMedKey:String ):void;
    setCampNameKey( newCampNameKey:String ):void;
    setCampNOKey( newCampNOKey:String ):void;
    setCampSourceKey( newCampSrcKey:String ):void;
    setCampTermKey( newCampTermKey:String ):void;
    setCampaignTrack( enable:Boolean ):void;
    setCookieTimeout( newDefaultTimeout:int ):void;
  • Domains and Directories
    Methods that you use for customizing how Google Analytics reporting works across domains,
    across different hosts, or within sub-directories of a website.
    see: JS API
  • -cookiePathCopy( newPath:String ):void;
    ~getLinkerUrl( url:String = "", useHash:Boolean = false ):String;
    ~link( targetUrl:String, useHash:Boolean = false ):void;
    -linkByPost( formObject:Object, useHash:Boolean = false ):void;
    setAllowHash( enable:Boolean ):void;
    setAllowLinker( enable:Boolean ):void;
    setCookiePath( newCookiePath:String ):void;
    setDomainName( newDomainName:String ):void;
  • Ecommerce
    Methods that you use for customizing ecommerce in Google Analytics reporting.
    see: JS API
  • addItem( item:String, sku:String, name:String, category:String, price:Number, quantity:int ):void;
    addTrans( orderId:String, affiliation:String, total:Number, tax:Number, shipping:Number, city:String, state:String, country:String ):void;
    trackTrans():void;
  • Event Tracking
    Methods that you use for setting up Event Tracking in Google Analytics reporting.
    see: JS API
  • +createEventTracker( objName:String ):EventTracker;
    #trackEvent( action:String, label:String = null, value:Number = NaN ):Boolean;
    trackEvent( category:String, action:String, label:String = null, value:Number = NaN ):Boolean;
  • Search Engines and Referrers
    Methods that you use for customizing search engines and referral traffic in Google Analytics reporting.
    see: JS API
  • addIgnoredOrganic( newIgnoredOrganicKeyword:String ):void;
    addIgnoredRef( newIgnoredReferrer:String ):void;
    addOrganic( newOrganicEngine:String, newOrganicKeyword:String ):void;
    clearIgnoredOrganic():void;
    clearIgnoredRef():void;
    clearOrganic():void;
  • Web Client
    Methods that you use to customize web client information tracking in Google Analytics reporting.
    see: JS API
  • getClientInfo():Boolean;
    getDetectFlash():Boolean;
    getDetectTitle():Boolean;
    setClientInfo( enable:Boolean ):void;
    setDetectFlash( enable:Boolean ):void;
    setDetectTitle( enable:Boolean ):void;
  • Urchin Server
    Methods that you use for configuring your server setup when you are using
    both Google Analytics and the Urchin software to track your website.
    see: JS API
  • getLocalGifPath():String;
    getServiceMode():ServerOperationMode;
    setLocalGifPath( newLocalGifPath:String ):void;
    setLocalRemoteServerMode():void;
    setLocalServerMode():void;
    setRemoteServerMode():void;

Comment by eduardocereto, Jul 30, 2009

createEventTracker do exist in ga.js but it's not documented and considered deprecated. as well as trackEvent without category.


Sign in to add a comment