So, I'm guessing that I need to use the extra called Analytics to add the tracking code to my pages - and use Google Analytics Dashboard to show the stats on the dashboard.
But ehm... I'm not sure how either of those two extras work and I can't really seem to figure it out.
This page:
https://docs.modx.com/extras/revo/analytics doesn't tell me where to put the "usage example" code - I'm guessing in the template (and according to a quick google search in the head somewhere), but it would be nice to know what best practices there are with this within the modx system (as well as if there's more I need to do). Also, which of the usage examples are recommended (I don't really know enough about this to figure out which parameters are important/relevant for my project)?
About the dashboard widgets: I've added them to the default dashboard, but nothing shows up yet - that might be because I haven't entered any info in the settings yet though (and can't until I can ask my boss what the password is for the relevant google account, so that I can set up the analytics account, but anyway...)
Also, in the "view details" part of the extra it says this:
To use this component the user needs to have "googleanalytics" permissions.
The administrator user needs to have the "googleanalytics_settings" permissions.
Are those just "oh, remember not to change this" or a "you need to set these permissions" thing? And if the latter, where and how (sorry, I haven't gotten that far in the modx guide yet, and a quick lookaround in the manager (under "manage>users") didn't really lead me to any answers)?