Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

tracking doesnt work
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: tracking doesnt work

tracking doesnt work 13 years, 4 months ago #23074

  • Mbit
  • OFFLINE
  • Posts: 35
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?

Re: tracking doesnt work 13 years, 4 months ago #23316

  • martguy
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.

Re: tracking doesnt work 13 years, 4 months ago #23319

  • Mbit
  • OFFLINE
  • Posts: 35
thx for the answer!

This change from 3 to 4 should happen if i have 4 steps in order to check out?
i changed what you suggested in the code.. i just did an order but didnt see anything yet to appear in analytics.. i ll wait some days and let you know !
  • Page:
  • 1
Přihlášení uživatele Prázdný