Problem with noscript


#1

Hello,
This is my first topic and I would like to say Hello.
I have a problem with countig visit in my website. For users with javascript everythink is looks go. But if visitor have a javascript turn off (when use for example program “NoScript”) I don’t see any log in Piwik. Even if user set in program “non-blocking” my website.

I use:
Piwik 2.3
PHP Version 5.3.27
Joomla! Version Joomla! 2.5.7 Stable [ Ember ]

My code in page:


<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://www.mywebsite.com/piwik/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 1]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
    g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<noscript>
<!-- Piwik Image Tracker -->
<img src="http://www.mywebsite.com/piwik/piwik.php?&idsite=1&rec=1&urlref&_cvar={"5":["Non Bot","No Javascript"]}" style="border:0" alt="" />
<!-- End Piwik -->
 </noscript>

And one more thing:
When I use Safari in iPhone I don’t see a log of visit. But when I use for example Opera browser in this iPhone I see the log. When I use another iPhone and safari everything is ok (I see the log).
Is there anyone can help me with these issues?
Regard,
Maciej


#2

Is anyone can help me with my problem?

Regards,
Maciej


(Matthieu Aubry) #3

maybe this FAQ helps? Does Piwik track visitors without Javascript? Does Piwik track search engine bots or other spider / robots? - Analytics Platform - Matomo