Support » Plugins and Hacks » WP-Piwik Announcement

WP-Piwik Announcement

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

    @braekling will especially fix the caching issue which causes a lot of problems discussed here. It is almost finished… I hope to release it very soon.

    Sweet! Looking forward to it!

    Plugin Author braekling


    I’m sorry this takes some more time as expected… I moved to another city, but tomorrow I should have an internet connection at home again. Then I will continue working on WP-Piwik.

    No problem! I hope your move went well. Good luck finishing your settling in a new city. Do you already know if the problems mentioned in this post: http://wordpress.org/support/topic/problems-with-0994-till-0996?replies=4 are solved in the new version?


    first … thanks for the great work on this plugin.

    I discovered a bug that causes custom variables not to work (if the 5th pair of custom variables is not filled out). I don’t know how to send a pull request, so I post it here.

    See Line 260 of wp-piwik.php

    if (!empty($strMetaKey)) $strTrackingCode = str_replace("_paq.push(['trackPageView']);", $strCustomVars."_paq.push(['trackPageView']);", $strTrackingCode);

    To make it work, swap the variable in the if-clause (currently $strMetaKey) with $strTrackingCode.

    Current workaround would be to set the last (5th) pair of custom variables.

    Another really important feature would be the implementation of some filters to give developers more control on the output. I think this would not be too hard – just a few lines of code – and the benefit for theme-developers is great. Let me know when you need help or a suggestion.

    Currently it’s not possible to programmatically change parameters (e.g. set post terms as custom variable, change the Document Title, etc).

    Thanks for reading!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP-Piwik Announcement’ is closed to new replies.