コード例 #1
0
 /**
  * @link http://code.google.com/p/gaforflash/source/browse/trunk/src/com/google/analytics/ecommerce/Transaction.as#76
  * 
  * @return \UnitedPrototype\GoogleAnalytics\Internals\ParameterHolder
  */
 protected function buildParameters()
 {
     $p = parent::buildParameters();
     $p->utmtid = $this->transaction->getOrderId();
     $p->utmtst = $this->transaction->getAffiliation();
     $p->utmtto = $this->transaction->getTotal();
     $p->utmttx = $this->transaction->getTax();
     $p->utmtsp = $this->transaction->getShipping();
     $p->utmtci = $this->transaction->getCity();
     $p->utmtrg = $this->transaction->getRegion();
     $p->utmtco = $this->transaction->getCountry();
     return $p;
 }