Adding Piwik tracking code to

Adding Piwik tracking code to

by John Kelmer Lomerio -
Number of replies: 6

Good day, I'm new to moodle and I'm having a problem adding the Piwik tracking code to the <head>. I tried using: $CFG->additionalhtmlhead = "Tracking code script" in my plugin to add it to the <head> but I didn't get the result that I wanted. I also tried the Piwik plugin but for some reason its not working properly. I'm using Moodle 3.1, thanks in advance.

Average of ratings: -
In reply to John Kelmer Lomerio

Re: Adding Piwik tracking code to

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi John,
do you mean https://moodle.org/plugins/local_analytics ?

TIA,
Matteo

In reply to Matteo Scaramuccia

Re: Adding Piwik tracking code to

by John Kelmer Lomerio -

Sorry for the late reply, indeed I am using [local_analytics] plugin and it seems not working correctly for my local Moodle. I tried troubleshooting it but I can't find the issue.

In reply to John Kelmer Lomerio

Re: Adding Piwik tracking code to

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Have you contacted Bas (https://moodle.org/plugins/local_analytics) about it?  He's a really nice guy smile.

In reply to Gareth J Barnard

Re: Adding Piwik tracking code to

by John Kelmer Lomerio -

Okay I'll try. Thanks for the advice.

In reply to John Kelmer Lomerio

Re: Adding Piwik tracking code to

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi John,
file your issue(s) in https://github.com/bmbrands/moodle-local_analytics/issues and share here the URL of your(s): keep a reference here will help people in this Community too wink.

Edit: guessing https://github.com/bmbrands/moodle-local_analytics/issues/11#issuecomment-330371930 to be your issue.

TIA,
Matteo

In reply to Matteo Scaramuccia

Re: Adding Piwik tracking code to

by John Kelmer Lomerio -

Thank you good Sir, I will look up to this one and file an issue if I didn't see someone posted the same issue that I'm experiencing right now.