Mbit wrote:
Just installed the plugin for tracking commerce transaction through google analytics. i added the UA code i used with the coded i had installed manually. the analytics for visits seems to continue working. No luck with the commerce tracking .. + at the checkout i am not able to view the source code of the page to check if more code is generated and whats going wrong.. any ideas suggestions how to start debugging?
My checkout process modified, There're only paypal payment. So I think it cause the script doesn't track purchase.
Here're the code of 'gacode.php' (plugins/system/gacode.php)
$this->purchase = (JRequest::getVar('option') == 'com_virtuemart'
&& (JRequest::getVar('page') == 'checkout.index'
&& JRequest::getVar('checkout_last_step') == 3));
$this->purchase will be tricked if you have correct checkoutstep , i fix code from == 3 to ==4 instead.