Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_GoogleAnalytics_Block_Ga
  • Mage_GoogleAnalytics_Helper_Data
  • Mage_GoogleAnalytics_Model_Observer
  • Overview
  • Package
  • Class
  • Tree

Class Mage_GoogleAnalytics_Model_Observer

Google Analytics module observer

Package: Mage\GoogleAnalytics
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/GoogleAnalytics/Model/Observer.php
Methods summary
public
# setGoogleAnalyticsOnOrderSuccessPageView( Varien_Event_Observer $observer )

Add order information into GA block to render on checkout success pages

Add order information into GA block to render on checkout success pages

Parameters

$observer
Varien_Event_Observer
$observer
public
# injectAnalyticsInGoogleCheckoutLink( Varien_Event_Observer $observer )

Add google analytics tracking to google checkout shortcuts

Add google analytics tracking to google checkout shortcuts

If there is at least one GC button on the page, there should be the script for GA/GC integration included a each shortcut should track submits to GA There should be no tracking if there is no GA available This method assumes that the observer instance is run as a "singleton" (through Mage::getSingleton())

Parameters

$observer
Varien_Event_Observer
$observer
Properties summary
protected boolean $_isGoogleCheckoutLinkAdded false
#

Whether the google checkout inclusion link was rendered by this observer instance

Whether the google checkout inclusion link was rendered by this observer instance

Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0