<![CDATA[ How to use Analytics (and Google Analytics Dashboard)? - My Forums]]> https://forums.modx.com/thread/?thread=104071 <![CDATA[How to use Analytics (and Google Analytics Dashboard)?]]> https://forums.modx.com/thread/104071/how-to-use-analytics-and-google-analytics-dashboard#dis-post-559743 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)?]]>
wyrdling Jul 20, 2018, 02:20 PM https://forums.modx.com/thread/104071/how-to-use-analytics-and-google-analytics-dashboard#dis-post-559743
<![CDATA[Re: How to use Analytics (and Google Analytics Dashboard)?]]> https://forums.modx.com/thread/104071/how-to-use-analytics-and-google-analytics-dashboard#dis-post-559755
Giving yourself the permission is kind of complicated unless the extra creates the necessary Policy and Policy Template for you. If it does, you can probably create a Context Access ACL policy for the Administrator group using that GA Policy.

If you don't have to mess with it that often, you may be able to get in just by making yourself a sudo user (temporarily) in Manage -> Users (it's a checkbox). You may have to flush permissions, then log out and back in for it to take effect.]]>
BobRay Jul 20, 2018, 09:45 PM https://forums.modx.com/thread/104071/how-to-use-analytics-and-google-analytics-dashboard#dis-post-559755