Closed mmuszkow closed 9 years ago
It is trackScreenView, not traceScreenView.
Sorry about that, stupid typo... Anyway I still can't run the simplest example. I had this (working) code:
<script src="http://***/piwik.js"></script>
...
var piwikTracker = Piwik.getTracker('http://***/piwik.php', 2178);
piwikTracker.trackPageView();
With this one, I can see the users of my page on Piwik dashboard. Now, I switch to your library:
piwik.startTracker('http://***/piwik.php', 2178);
piwik.trackScreenView('/index.html');
and I see no info coming. I tried also index.html
, *
, /*
and empty string in trackScreenView
. What value should the path
parameter have?
Hi, I tried this code on both Android 4.4.4 and iOS 8.3 (Cordova 5.1.1):
piwik
object exists, but I get this error (on both platforms):Am I missing something?