Title: No trackin code added?
Last modified: August 21, 2016

---

# No trackin code added?

 *  Resolved [zAfLu](https://wordpress.org/support/users/zaflu/)
 * (@zaflu)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/no-trackin-code-added/)
 * 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/](https://wordpress.org/plugins/wp-piwik/)

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

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593468)
 * 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](https://wordpress.org/support/users/zaflu/)
 * (@zaflu)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593507)
 * 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](https://wordpress.org/support/users/zaflu/)
 * (@zaflu)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593664)
 * no ideas? :/
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593684)
 * One idea: Did you look at the header? The async tracking code is added to the
   page’s header.
 *  Thread Starter [zAfLu](https://wordpress.org/support/users/zaflu/)
 * (@zaflu)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593686)
 * Cant find any piwik stuff in the header. you can have a look by your own @ [http://www.justgameplay.de/](http://www.justgameplay.de/)
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593688)
 *     ```
       <!-- *** 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?
 *  [kuchlbauer1](https://wordpress.org/support/users/kuchlbauer1/)
 * (@kuchlbauer1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593695)
 * > 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.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [kuchlbauer1](https://wordpress.org/support/users/kuchlbauer1/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/no-trackin-code-added/#post-4593695)
 * Status: resolved