original_string: public function sendTransaction($transaction_id, $affiliation, $total, $tax, $shipping, $city, $region, $country)
      {
          $this->data['utmvw'] = '5.6.4dc';
          $this->data['utms'] = ++self::$RequestsForThisSession;
          $this->data['utmt'] = 'tran';
          $this->data['utmtid'] = $transaction_id;
          $this->data['utmtst'] = $affiliation;
          $this->data['utmtto'] = $total;
          $this->data['utmttx'] = $tax;
          $this->data['utmtsp'] = $shipping;
          $this->data['utmtci'] = $city;
          $this->data['utmtrg'] = $region;
          $this->data['utmtco'] = $country;
          $this->data['utmcs'] = 'UTF-8';
  
          $this->send();
          $this->reset();
  
          return $this;
      }
code: public function sendTransaction($transaction_id, $affiliation, $total, $tax, $shipping, $city, $region, $country)
      {
          $this->data['utmvw'] = '5.6.4dc';
          $this->data['utms'] = ++self::$RequestsForThisSession;
          $this->data['utmt'] = 'tran';
          $this->data['utmtid'] = $transaction_id;
          $this->data['utmtst'] = $affiliation;
          $this->data['utmtto'] = $total;
          $this->data['utmttx'] = $tax;
          $this->data['utmtsp'] = $shipping;
          $this->data['utmtci'] = $city;
          $this->data['utmtrg'] = $region;
          $this->data['utmtco'] = $country;
          $this->data['utmcs'] = 'UTF-8';
  
          $this->send();
          $this->reset();
  
          return $this;
      }
code_tokens: public function sendTransaction ( $ transaction_id , $ affiliation , $ total , $ tax , $ shipping , $ city , $ region , $ country ) { $ this -> data [ 'utmvw' ] = '5.6.4dc' ; $ this -> data [ 'utms' ] = ++ self :: $ RequestsForThisSession ; $ this -> data [ 'utmt' ] = 'tran' ; $ this -> data [ 'utmtid' ] = $ transaction_id ; $ this -> data [ 'utmtst' ] = $ affiliation ; $ this -> data [ 'utmtto' ] = $ total ; $ this -> data [ 'utmttx' ] = $ tax ; $ this -> data [ 'utmtsp' ] = $ shipping ; $ this -> data [ 'utmtci' ] = $ city ; $ this -> data [ 'utmtrg' ] = $ region ; $ this -> data [ 'utmtco' ] = $ country ; $ this -> data [ 'utmcs' ] = 'UTF-8' ; $ this -> send ( ) ; $ this -> reset ( ) ; return $ this ; }
docstring: Create and send a transaction object
  
  Parameter order from https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingEcommerce
  @param $transaction_id
  @param $affiliation
  @param $total
  @param $tax
  @param $shipping
  @param $city
  @param $region
  @param $country
  @return $this
docstring_tokens: Create and send a transaction object