I am using piwik to find analyse on website have got the js code from setting option of the piwik.
<!-- Piwik -->
var _paq = _paq || ;
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script');
Have pasted above code just above
Just a guess, maybe instead of
var u="//piwik-techforumatos.rhcloud.com/"; try
var u="http://piwik-techforumatos.rhcloud.com/"; or
If it doesn't work, it would be great if you could remote debug your PhoneGap app and let us know if there are any errors
Bravooo!!!!......Thanks a lot...
var u="http://piwik-techforumatos.rhcloud.com/"; works for me...
Searched a lot for this and final you helped. hope on next version piwik site will give the proper js code. because its very difficult to debug third party lib.
@tsteur do you reckon we should do something to prevent such issues in the future (product improvement, or otherwise a FAQ maybe?)
Was thinking about this as well. Not sure what best solution would be. If we had a type "PhoneGap App" (similar to type Mobile App or Intranet) then we could generate the tracking code differently based on that but it will maybe not happen that we have such a type.
An option in the tracking code generator is maybe too much as only a very few sites are actually PhoneGap apps. Maybe a FAQ entry? But this will be hard to find. Not sure what to do. FAQ seems like easiest solution for now.