• Resolved Anonymous User 14556293

    (@anonymized-14556293)


    WP-Piwik says in the options, that it is connected successfully to Piwik (“WP-Piwik 1.0.3 wurde erfolgreich mit Piwik 2.14.3 verbunden. Du verwendest WordPress 4.2.4.”). But nothing is counted in Piwik or WP-Piwik.
    Indeed there are not much visitors on my sites, but I just tested by visiting myself (with another browser), and: no count.

    https://www.ads-software.com/plugins/wp-piwik/

Viewing 12 replies - 16 through 27 (of 27 total)
  • Plugin Author braekling

    (@braekling)

    You can also post your tracking code here, so I can have a look if there is anything queer. But keep in mind this will show your websites URL here.

    Thread Starter Anonymous User 14556293

    (@anonymized-14556293)

    The URL should not be a problem. The code shown in WP-Piwik is:

    <!-- Piwik -->
    <script type="text/javascript">
      var _paq = _paq || [];
      _paq.push(["setCookieDomain", "*.www.jaeck.name"]);
      _paq.push(['trackPageView']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u="//jaeck.name/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.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
      })();
    </script>

    I didn’t see any counts because in my browser I had enabled ‘Ask websites not to track me’. ??

    Plugin Author braekling

    (@braekling)

    The set cookie domain part does not look valid: This should look like _paq.push(["setCookieDomain", "*.jaeck.name"]); – do you need to track your subdomains?

    If you need subdomain tracking: Please check your Piwik and WordPress domain settings. Afaik you should define jaeck.name as main domain and add all subdomains (www.jaeck.name, sub.jaeck.name, …) which you want to track: https://piwik.org/docs/manage-websites/#add-a-website

    Otherwise: Disable Track subdomains in the same website (WP-Piwik settings).

    Thread Starter Anonymous User 14556293

    (@anonymized-14556293)

    I solved it by new-installing of Piwik and WP-Piwik. It seems, that it works now…

    Hi,

    one common reason not mentioned in this thread (which was for me the cause):
    You could have enabled in your browser the “don’t track” me option…
    So piwik code would be shown and called but not counted if you setup piwik to recognize and handle this header.

    For this case i love the addon/plugin “Ghostery” which exists for Firefox, Chrome, Opera and I think also more browser which shows you from which services you get tracked on sites.

    Daniel XAG

    (@fibmyefriblot_doj)

    Thank You all for this Thread!
    It was very inspirating to me.

    In my Case the Problem was the AdBlocker named “μBlock” in Firefox: it strips out the Piwik-Code. So i thought, the Piwik-Code was not placed in the Source Code of the Pages.
    The AdBlocker named “AdBlock” made by Michael Gundlach in Safary did not: there Piwik counts all Visitor.

    Special Thanks to harald.walker – his Hint gave me the crucial indication.

    Reiner030

    (@reiner030)

    Ah interesting… ?? To complete:
    Ghostery (Firefox, Chrome and for more browser available) normally checks / counts the advertising only.
    But you can also setup the plugin/addon to block such requests.

    I am testing a new install of Piwik and using it on WordPress for the first time (I have used it on numerous Drupal sites previously).

    The site is connected —?‘WP-Piwik 1.0.5 is successfully connected to Piwik 2.15.0. You are running WordPress 4.3.1.’ — and not generating any statistics.

    The Piwiki code is in the footer

    <!-- Piwik -->
    <script type="text/javascript">
      var _paq = _paq || [];
      _paq.push(['trackPageView']);
    _paq.push(['trackVisibleContentImpressions']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u="//piwik.example.com/";
        _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.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
      })();
    </script>
    <!-- End Piwik Code -->

    WP Spamshield is registering spam attempts… The site is https://www.veganarky.net

    The site is connected — ‘WP-Piwik 1.0.5 is successfully connected to Piwik 2.15.0. You are running WordPress 4.3.1.’ — and not generating any statistics.

    … and do you see requests to piwik in your apache/nginx log when you access your site which belong to piwik tracking URLs ?

    Thanks for the reply.

    Here’s one.

    piwik.avolvedesigns.net 111.235.64.4 - - [25/Nov/2015:14:21:36 +0000] "GET /piwik.js HTTP/1.1" 404 206 "https://www.veganarky.net/2013/12/30/dudebros-masculine-conflictions/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36"

    I have noted issues with Piwik and Drupal — https://www.drupal.org/node/2483815 and I have had to manually edit the Drupal module (to look for index.php not piwik.php) — even though my Piwik install is new and up to date.

    Any suggestions?

    [I had added Post Views Counter to the site and it is recording visits]

    Plugin Author braekling

    (@braekling)

    You request shows a 404 status code (which means not found). So your URL configuration seems to be invalid. piwik.js does not exist here: piwik.avolve…net/piwik.js

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Connected to Piwik, but no countings’ is closed to new replies.