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.
Hi John,
do you mean https://moodle.org/plugins/local_analytics ?
TIA,
Matteo
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.
Have you contacted Bas (https://moodle.org/plugins/local_analytics) about it? He's a really nice guy .
Okay I'll try. Thanks for the advice.
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 .
Edit: guessing https://github.com/bmbrands/moodle-local_analytics/issues/11#issuecomment-330371930 to be your issue.
TIA,
Matteo
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.