Support » Plugin: WP-Piwik » How to modify the tracking code?

  • Resolved emartos


    Hi there!

    I need to modify the tracking code (specifically the <noscript> part) to add the &rec=1 parameter and track visits of users with JavaScript disabled. Both textareas (tracking code and <noscript> code) are disabled because these are previews.

    I’ve checked Piwik and WP-Piwik settings with no luck. Do I have to dive into the code of WP-Piwik and write a hack?

    Thank you in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have inserted the <noscript> code manually at the footer and it works, but it’s not the right fix. The problem is the <noscript> code inserted by WP-Piwik hasn’t the &rec=1 parameter.

    Plugin Author braekling


    Currently there is no option to add this parameter using WP-Piwik. WP-Piwik uses the tracking code delivered by Piwik itself.

    Fast solution: Disable WP-Piwik’s tracking code and put your individual tracking code manually to your site’s header and footer.

    Please keep in mind the Piwik team removed rec=1 intentionally, because you will also track bots by activating this.

    New to Piwik

    Plugin Author braekling


    Option added in

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to modify the tracking code?’ is closed to new replies.