• Resolved zAfLu

    (@zaflu)


    Hi,
    first of all sorry for my english πŸ™‚

    So my problem is my WP Page isnt tracked anymore. I updated WP-Piwik to the latest version and now it doesn’t work.
    I figure out that the Tracking code isnt added anymore. I tried to reset Wp-Piwik plus i tried to reinstall it but it doesn’t helped.
    Im using the REST API and my token is fine plus the Insert tracking code method. I tried with and without Cache (without any changes). I also tried the normal tracking method and the js/index stuff.
    I checked my Template and it has the wp_footer() function.
    Piwik: 2.0.3
    WP-Piwik: 0.9.9.8.
    WP: 3.8.1
    Before I updated the WP-Piwik it worked fine for me. Any ideas?

    https://wordpress.org/plugins/wp-piwik/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author braekling

    (@braekling)

    Does WP-Piwik show the tracking code (see settings -> tracking)?

    Did you try to log out and check for the tracking code?

    Are you using some kind of a caching plugin?

    Thread Starter zAfLu

    (@zaflu)

    Hi, thanks for your reply.

    Yes the trackingcode will be shown in the settings(?page=wp-piwik/wp-piwik.php&tab=tracking).
    I tried to log out and check but no code will added. (Checked with FF/Chrome/IE)
    Im using “W3 Total Cache” BUT i tried it without installed W3 … no changes πŸ™

    Thread Starter zAfLu

    (@zaflu)

    no ideas? :/

    Plugin Author braekling

    (@braekling)

    One idea: Did you look at the header? The async tracking code is added to the page’s header.

    Thread Starter zAfLu

    (@zaflu)

    Cant find any piwik stuff in the header. you can have a look by your own @ http://www.justgameplay.de/

    Plugin Author braekling

    (@braekling)

    <!-- *** WP-Piwik - see http://wordpress.org/extend/plugins/wp-piwik/ ******** -->
    <!-- Piwik -->
    <script type="text/javascript">
      var _paq = _paq || [];
    {$options}
      _paq.push(['trackPageView']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.justgameplay.de/";
        _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>
    <!-- End Piwik Code -->
    <!-- *** /WP-Piwik *********************************************************** -->

    You Piwik code is added properly to your page’s source.

    You considered, that the code is not shown if you are logged in & admin tracking is disabled in WP-Piwik’s settings?

    You considered, that the code is not shown if you are logged in & admin tracking is disabled in WP-Piwik’s settings?

    Oh man => me silly. πŸ˜‰

    Thanks a lot!! Solved my “problem” too…

    Great plugin πŸ™‚

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘No trackin code added?’ is closed to new replies.