Piwik not tracking

Hi,

I have 4 sites (wordpress) set up and working with piwik,

The 5th site is a GWT web application. I took a look at the GWT plugin, the code is outdated. So I created my own minimal version, I only want to track page views and outgoing links.

So far so good, when I look at firebug, my app is issuing the right calls (I guess):

in development mode:

http://myserver.somewhere.com/piwik.js?action_name=About&idsite=5&rec=1&r=342302&h=8&m=48&s=13&url=http%3A%2F%2F127.0.0.1%3A8888%2Findex.html%3Fgwt.codesvr%3D127.0.0.1%3A9997%23AboutPlace%3A&_id=3fcf87d46474909d&_idts=1331860886&_idvc=2&_idn=0&_refts=0&_viewts=1331861898&pdf=0&qt=1&realp=0&wma=1&dir=0&fla=1&java=1&gears=0&ag=0&res=1920x1200&cookie=1

and in production:

http://myserver.somewhere.com/piwik.js?action_name=About&idsite=5&rec=1&r=122741&h=8&m=26&s=19&url=http%3A%2F%2Fgwtreferencelist.appspot.com%2F%23StatsPlace%3A&_id=3dcd665415eb7345&_idts=1331861820&_idvc=2&_idn=0&_refts=0&_viewts=1331861995&pdf=1&qt=1&realp=0&wma=1&dir=0&fla=1&java=1&gears=0&ag=0&res=1920x1200&cookie=1

I always get an HTTP 200 response code, no error on the client/ browser side.

On the server side, I see the calls on the access log:

aaa.bbb.ccc.ddd - - [16/Mar/2012:07:10:36 +0100] "GET /piwik.php?action_name=Companies%20using%20Google%20Web%20Toolkit%20%C2%BB%20pgt&idsite=1&rec=1&r=163476&h=11&m=40&s=36&url=http%3A%2F%2Fpgt.de%2F2012%2F03%2F15%2Fcompanies-using-goroo…

But the piwik frontend is not showing any tracking stats, no visitors.

On the client side I am doing the equivalent to:

p = Piwik.getTracker(scriptUrl, piwikId)
p.setDocumentTitle(title);
p.trackPageView()

This is meant to be working js code, this is just pseudocode. I am running piwik from GWT/ JSNI, and things look a little scaring there. But somehow it is working, I am getting http 200 calls to the right side. Did I forget to turn on something?

Forget it. Found the mistake.
Sorry!