-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytics plugin not sending info #11
Comments
Is your Moodle install publicly available so I can have a look? |
Could you try updated to the latest version and see if there is still an issue? I have just pushed an update to Moodle.org |
Apologies, just updated and still no good unfortunately.
…On Tue, Jun 13, 2017 at 11:34 PM, Bas Brands ***@***.***> wrote:
Could you try updated to the latest version and see if there is still an
issue? I have just pushed an update to Moodle.org
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANggO6XP-WEfR_NW4X0Jpeb9SfX2ulqeks5sDp35gaJpZM4N241B>
.
|
Same thing here. I tried with piwik autogenerated code and it works. With the plugin code, it doesn't:
|
Thanks for your feedback. I don't know what the issue is yet. I will do more digging soon. |
Thanks, I'm in Moodle 3.1.5+. I did another test using the same code generated by the plugin, but injecting it manually in 'additionalhtmlhead'. That way, it works. I'll continue testing. |
The issue is that Moodle inserts the code inside the |
Good point. |
A quick workaround for this issue is to make the _paq variable global. |
Thank you erazorbg - this did fix the issue (mostly). Hits and DocumentTitle are now reported, but UserId and the User Report still sadly not... |
Applied the patches found here https://github.com/bmbrands/moodle-local_analytics/pull/12/files they also make the plugin start reporting data - but UserId still not recorded although it reflects in the page source. [Moodle 3.3, local_analytics | 1.5 (Build: 2017061300)] |
The UserId has to be a string I think. adding single quotes (') in mustache template : |
Good point @sgorange 😉. |
Good day,
Moodle 3.2.3, local_analytics 1.5 20170313
I configured the plugin, set the host name. When inspecting the site, it shows it is loading the piwik.js from the correct server. However, no data was being recorded. Verified in both boost theme and adaptable, no data.
Switch to adaptable analytics with the same settings, data being transmitted correctly.
I have turned on debugging in piwik and logged everything. There seem to be no requests to the tracker api from the local plugin. When I inspect the source code on the site, everything appears correct.
The text was updated successfully, but these errors were encountered: