Closed Akiyamka closed 6 months ago
@Xpirix, thanks for the tip to use the plugin, seems like a good idea, I'll try to use it
@Xpirix, I installed motomo-plugin according to its documentation, although I had no luck getting the project to work after installing it. Maybe I'm doing something wrong. Could you please take a look? Below is the error I'm getting
I have a suspicion that django 2 is too old for this plugin.
Hello @Akiyamka , I've checked it locally and had the same error too. Adding matomo
to the INSTALLED_APPS
in settings_docker.py
fixed the error. This is because django is using this file for docker environment. But I think other settings files need also to be updated to avoid the error in different environments.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
6589e3c
) 81.94% compared to head (729af55
) 81.96%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good to me. Thank you @Akiyamka.
@dimasciput can you review, merge deploy please?
@timlinux @Xpirix before deploying this we probably might need to update the privacy policy.
@dimasciput can you link to the policy in question?
Thank you for this work. I tested it locally but I assume that we need to connect to matomo.qgis.org to see if it works.
Besides, I have a few suggestions about the integration of matomo in QGIS-Django:
MATOMO_SITE_ID
andMATOMO_URL
through the settings.py and the environments variables.We could also ask @dimasciput about how the environment variables are implemented in production.