The tracking code is just before . Everything was working fine until we upgraded Piwik, so the problem shouldn’t be related with the page, unless piwik.js has changed between 1.10.1 and 1.11.1.
I’ve made some reseach with Firebug and I can see the page is calling piwik.php “well”. I also reviewed our Nginx logs and I can see the ‘visit’ tracking calls, so Piwik IS receiving these actions. I’ve checked our mysql just in case any table was corrupted but everything seems ok.
According to the REST api documentation, We should pass a parameter called “outlink”, but using Firebug I see the parameter passed is really “link”. Is it right?
Problem solved. Someone added a second pixel to our site, the very same day we upgraded Piwik. It was using same javascript code, so overwriting the first piwik object. Outlinks were being tracked on that second id site. Thanks for your help and excuse me for making you loose time trying to help me