If you use Google Adwords advertising for your Magento web store, you will probably need this module. This module will be very useful, because Magento doesn’t have functionality for tracking Adowrds conversion. Feel free to download module and use it on personal responsibility. I’m using this module on web store without any problems.
You need to know that this module will track Adwords conversion over checkout/success page. At checkout/success page will be executed javascript (this is code of Block for checkout/success page):
< ?php /** * * @category Inchoo * @package Inchoo Google Adwords * @author Domagoj Potkoc, Inchoo Team */ class Inchoo_Adwords_Block_Block extends Mage_Core_Block_Abstract { public function __construct() { parent::__construct(); $this->setGoogleConversionId(Mage::getStoreConfig('adwordsmodule/inchoad/google_conversion_id'));
$this->setGoogleConversionLanguage(Mage::getStoreConfig('adwordsmodule/inchoad/google_conversion_language'));
$this->setGoogleConversionFormat(Mage::getStoreConfig('adwordsmodule/inchoad/google_conversion_format'));
$this->setGoogleConversionColor(Mage::getStoreConfig('adwordsmodule/inchoad/google_conversion_color'));
$this->setGoogleConversionLabel(Mage::getStoreConfig('adwordsmodule/inchoad/google_conversion_label'));
}
protected function _toHtml()
{
$html = "";
if(Mage::helper('inchoo_adwords')->isTrackingAllowed()){
$this->setAmount(Mage::helper('inchoo_adwords')->getOrderTotal());
$html .= '
<!-- Google Code for Purchase Conversion Page -->
<script type="text/javascript">
/* < 


