WordPress.org

Forums

WP-Piwik
[resolved] Tracking Code in wp_footer (2 posts)

  1. Marc Troendle
    Member
    Posted 2 years ago #

    Hallo,

    how can i get the Piwik-Trackingcode from the head to the footer (WP_FOOTER)?

    THX Marc

    http://wordpress.org/extend/plugins/wp-piwik/

  2. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    Piwik is using an asynchronous tracking code. So browsers will not wait until the piwik.js fail is loaded before your site is shown and it is not recommended to move it to the site's footer. If you like to do so, you have to switch to a WP-Piwik version earlier than 0.9.9.0. (With 0.9.9.0 async tracking was included to stay compatible to Piwik 1.11.)

    See http://piwik.org/docs/javascript-tracking/#toc-where-can-i-find-the-piwik-tracking-code

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Piwik
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.