To measure your Phonegap app with Piwik, you can include the default JavaScript Tracking code in your app pages. Then you will need to make one change to the default Tracking code:

  • Locate the line: var u="//{$PIWIK_URL}";,
  • Replace it with the following: var u="http://{$PIWIK_URL}";. Note that http: or https: is pre-pended in front of your Piwik URL.

Congratulations: your Phonegap app users will be correctly tracked in Piwik.

Any questions?

Many answers and more information about Piwik You can find here:

We are social

Follow us: