eCommerce goaltracking still not working?

Guys, if you experience issues, you can actually debug and know directly what is going wrong.

Enable debug as per: Tracking API - Analytics Platform - Matomo

Then, go to your page where the goal is triggered. Then using Firebug tool, look at the piwik.php… request and look at the “RESPONSE” and see the debug message. Paste it here

I was about to give up and throw the towel in;-)

I’ll give that debugging one shot later today and then call it quits. It’s been absorbing my days;-)

Edit: Ok, so i have tested again, made your suggested change in piwik.php and made a sale. I’m not sure how to get the results you are referring to about the post request. I have Firebug but cannot reproduce anything you mention. Couldbe my lack of knowledge on the subject, could beFirebug is not the same as the specific add-on you mention.

Weird thing though: My sale did get registered, but several other sales of today by actual clients did not. I’m puzzled.

in Firebug, look at the NET panel: http://getfirebug.com/wiki/index.php/File:Net_Panel.png

then you will see there the request to piwik.php

if you have enabled DEBUG in your piwik.php you will see all the information you need to know to find the issue and understand why it is not tracking properly

I know users using piwik on ecommerce sites and it is working, tracking more than 95% of all conversions (except some blocked with adblocks / etc.)

I really donot see any reference to any NET panel. I’m using FB 1.5.4, i’ll upgrade right now. I do still have my succes page open to be able to look into it without keep doing testorders.

I do not use the tracking image though, i did see something mentioned about that, do i need to for the program to be able to print that log?

edit; In the upgrade to 1.6 there’s a net panel. I’ll try again./

Got it:

Date: Fri, 08 Apr 2011 19:33:29 GMT
Server: Apache
X-Powered-By: PHP/5.2.10
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

Debug enabled - Input parameters:
array ( ‘idgoal’ => ‘1’, ‘revenue’ => ‘16.90’, ‘idsite’ => ‘2’, ‘rec’ => ‘1’, ‘rand’ => ‘0.8687092500247798’, ‘h’ => ‘21’, ‘m’ => ‘33’, ‘s’ => ‘30’, ‘url’ => ‘http://www…nl/checkout/onepage/success/’, ‘urlref’ => ‘http://www…nl/checkout/onepage/’, ‘_id’ => ‘45645’, ‘_idts’ => ‘1301387657’, ‘_idvc’ => ‘24’, ‘_idn’ => ‘0’, ‘_ref’ => ‘http://www…com/’, ‘_refts’ => ‘1302170813’, ‘_viewts’ => ‘1302286082’, ‘pdf’ => ‘1’, ‘qt’ => ‘1’, ‘realp’ => ‘1’, ‘wma’ => ‘1’, ‘dir’ => ‘0’, ‘fla’ => ‘1’, ‘java’ => ‘0’, ‘gears’ => ‘0’, ‘ag’ => ‘1’, ‘res’ => ‘1280x1024’, ‘cookie’ => ‘1’, )
Loading plugins: { Provider,Goals }
Current datetime: 2011-04-08 19:33:29
COOKIE piwik_visitor, rows count: 0, cookie size = 0 bytes array ( )

I must be crazy. Looks like all vars are there like they should be. Yet this last sale is not recorded in our back end. "Allow Goal to be converted more than once per visit " is checked.

you copied only a part of the request right? normally there would be more text, including the one saying that a Goal is triggered and inserted in the DB

Actually this is all


http://www. .nl/piwi/piwik.php?idgoal=1&revenue=16.90&idsite=2&rec=1&rand=0.8687092500247798&h=21&m=33&s=30&url=http%3A%2F%2Fwww. .nl%2Fcheckout%2Fonepage%2Fsuccess%2F&urlref=http%3A%2F%2Fwww. .nl%2Fcheckout%2Fonepage%2F&_id=75e43eb839959c80&_idts=1301387657&_idvc=24&_idn=0&_ref=http%3A%2F%2Fwww.erectiepillen.com%2F&_refts=1302170813&_viewts=1302286082&pdf=1&qt=1&realp=1&wma=1&dir=0&fla=1&java=0&gears=0&ag=1&res=1280x1024&cookie=1

Host: www. .nl
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; nl; rv:1.9.1.18) Gecko/20110319 Firefox/3.5.18 GTB7.1 (.NET CLR 3.5.30729)
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: nl,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www. .nl/checkout/onepage/success/
Cookie: __utma=230759879.1372531207.1299275403.1299275403.1299352762.2; __utmz=230759879.1299275403.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _pk_id.3.9e83=26abd074daf38505.1301424340.4.1301993105.1301664953

Date: Fri, 08 Apr 2011 19:33:29 GMT
Server: Apache
X-Powered-By: PHP/5.2.10
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

Debug enabled - Input parameters: <br/>array ( 'idgoal' => '1', 'revenue' => '16.90', 'idsite' => '2', 'rec' => '1', 'rand' => '0.8687092500247798', 'h' => '21', 'm' => '33', 's' => '30', 'url' => 'http://www..nl/checkout/onepage/success/', 'urlref' => 'http://www..nl/checkout/onepage/', '_id' => '45645', '_idts' => '1301387657', '_idvc' => '24', '_idn' => '0', '_ref' => 'http://www..com/', '_refts' => '1302170813', '_viewts' => '1302286082', 'pdf' => '1', 'qt' => '1', 'realp' => '1', 'wma' => '1', 'dir' => '0', 'fla' => '1', 'java' => '0', 'gears' => '0', 'ag' => '1', 'res' => '1280x1024', 'cookie' => '1', )
Loading plugins: { Provider,Goals }
Current datetime: 2011-04-08 19:33:29
COOKIE piwik_visitor, rows count: 0, cookie size = 0 bytes array ( )



Loading plugins: { Provider,Goals }<br />
Current datetime: 2011-04-08 19:33:29<br />
COOKIE piwik_visitor, rows count: 0, cookie size = 0 bytes
array (
)<br />
The visitor has the piwik cookie (idvisitor = 75e43eb839959c80) <br />
The visitor is known (idvisitor = 75e43eb839959c80,
						config_id = 7dd4ec1faf01d6b9, 
						idvisit = 5705, 
						last action = Fri, 08 Apr 2011 19:33:29 +0000, 
						first action = Fri, 08 Apr 2011 19:13:28 +0000)<br />
Visit is known. <br />
Updating visitor with idvisit=5705, setting visit_last_action_time=2011-04-08 19:33:29 and visit_total_time=1201<br />
Visitor with this idcookie and idvisit wasn't found in the DB.<br />
COOKIE piwik_visitor, rows count: 0, cookie size = 0 bytes
array (
)<br />
-> Scheduled tasks not triggered.<br />
Next run will be from: 2011-04-08 20:25:49 UTC<br />
Nothing to notice => default behaviour<br />
End of the page.<br />
<pre>array (
  '__utma' => '230759879.1372531207.1299275403.1299275403.1299352762.2',
  '__utmz' => '230759879.1299275403.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)',
  '_pk_id_3_9e83' => '26abd074daf38505.1301424340.4.1301993105.1301664953',
)</pre>Time elapsed: 0.078s<br />


I just tried again to see if i could get better results, but got nothing worth using.

There is a problem, somehow the goal is not triggered - please send me your site URL + bug description + the URL that triggered this DEBUG output + if possible, FTP access to this Piwik at matt att piwik.org, I will take a look, thanks!

Hopefully it is not some stupid thing we did wrong;-)
Sending you an email right now, thanks.

Hi There,

I have installed the piwik on my local system. Also, I have install piwik magento extension in local magento site It is working for visitor chart but I have placed one order in magento but it was not reflect in piwik. Also, Images were not load in magento piwik report so how to resolved that please help me it’s urgent.

Regards,
Ankit Modi