Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Necessary preparations for E-Commerce Tracking?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Necessary preparations for E-Commerce Tracking?

Necessary preparations for E-Commerce Tracking? 13 years, 8 months ago #21290

Hi!

What are the necessary preparations to make E-Commerce Tracking work?

I have installed the plugin, entered the UA-code and activated the "E-Commerce Tracking".
But it is not submitting any information about purchases to GA.

Have I missed something?

/Jesper

Re: Necessary preparations for E-Commerce Tracking? 13 years, 7 months ago #22261

  • jaku
Hello,

it is JavaScript based, so make sure there are no conflicts in JS. Also, if you have the checkout process customized in VirtueMart, it may not work correctly.

Re: Necessary preparations for E-Commerce Tracking? 13 years, 5 months ago #23315

  • martguy
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.
  • Page:
  • 1
User Login Empty