Menu Content

Support

> Forums, FAQs & Paid Support
  • Page:
  • 1

TOPIC: Necessary preparations for E-Commerce Tracking?

Necessary preparations for E-Commerce Tracking? 15 years, 5 months ago #21290

  • jesperkronholm
  • OFFLINE
  • Posts: 1
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
The topic has been locked.

Re: Necessary preparations for E-Commerce Tracking? 15 years, 3 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.
The topic has been locked.

Re: Necessary preparations for E-Commerce Tracking? 15 years, 1 month 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.
The topic has been locked.
  • Page:
  • 1
User Login Empty