To measure your Phonegap app with Matomo (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="https://{$PIWIK_URL}";. Note that http: or https: is pre-pended in front of your Matomo (Piwik) URL.

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

Any questions?

Many answers and more information about Matomo you can find here:

We are social

Follow us: