Piwik does not work in Phonegap applications

I use Piwik to analyze user actions on my sites, and everything works fine when the site is displayed in a browser (on PC, Mac and in the phone’s browser).

But when I browse the same pages (with piwik code inside) inside the PhoneGap application, the application loads, loads and loads, and at the end it displays ... nothing.

What is there? JavaScript is enabled. Is there a known issue, and is Google Analytics better?

Thank.

+5
source share
1 answer

Maybe you blocked the piwik tracking url inside your phonegap config.xml?

Try adding this to your config.xml file:

<access origin="*"/>
0
source

All Articles