Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Are you using a Piwik plugin for WordPress? If so which one?

    Plugin Author Matt Keys

    (@mattkeys)

    Also, did you notice any Javascript errors on your site while they were both activated?

    Thread Starter Li-An

    (@li-an)

    I just put the tracking code in the footer.php.
    How can I see eventual Javascript error ? I can make a test if you wish.

    Plugin Author Matt Keys

    (@mattkeys)

    Most browsers nowadays come with a pretty good console for viewing javascript errors. Here is a link to information about how to use the developer tools/console in google chrome: https://developer.chrome.com/devtools

    If you can report back any errors you see, that would be great.

    Or even better, if you are comfortable providing me temporary access to your wp-admin area, I might be able to do some trial/error with the code to fix any JS errors (assuming there are JS errors to diagnose).

    Thread Starter Li-An

    (@li-an)

    I can open you an admin member profile – I will send you on your contact form here https://mattkeys.me/about/ if you are OK with that.

    Plugin Author Matt Keys

    (@mattkeys)

    That would be perfect, thanks.

    Plugin Author Matt Keys

    (@mattkeys)

    Okay I have been able to take a look at your site, it seems there were actually two different problems occuring.

    1) The “Better WordPress Minify” plugin that is used on your site forces the JS from my plugin to load on all pages, even pages without a comment form. When there is no comment form the JS creates an error. This error is probably what prevented your Piwik tracking snippet from being able to load. (off topic: You should probably load your tracking snippet in the header, not the footer. So long as you use the asynchronous version of the snippet it should not effect your page speed)

    2) The way that the “Ajaxed Comments” plugin submitted its comments made it look like all comments were coming from the admin-side, which I was allowing through to fix the bug you reported a few weeks back where you couldn’t reply to comments from the admin area. I have rewrote this part of the logic so that this plugin supports ajax comment submissions properly.

    The latest version is now installed on your blog so there shouldn’t be anything that you need to change.

    Thanks again for submitting your bugs, and giving me access to your site for testing.

    Thread Starter Li-An

    (@li-an)

    Thanks for your work ! Thanks for your suggestions and very interesting comments.

    I suppose all minify plugins will behave like “Better WordPress Minify” ?

    Plugin Author Matt Keys

    (@mattkeys)

    Your welcome.

    I suppose all minify plugins will behave like “Better WordPress Minify” ?

    I have never used one before, but you are probably right.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Breaks Piwik code’ is closed to new replies.