We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16658
    • 11 Posts
    Maybe this topic should be "How do I install plug-ins"? I downloaded the Google Analytics plugin, which is a ".txt" file containing PHP and JS code. There are no instructions on how to install this and I just started getting into modx a couple of days ago. How do I install this?

    Thanks, - Dave
      • 9162
      • 39 Posts
      Hi there,

      If I’m not mistaken the instructions will be on the page where you downloaded it from. You’ll copy the text from the .txt file just like that into a new plugin in modx. Then you’ll need to get the configuration string/parameters and set that. This is also where you’ll add your GA user code. Then you’ll also need to link the plugin to a couple system events, which will then add the necessary code to each page.

      But all of this is explained on that page where you downloaded it from I think. Might be this page? http://modxcms.com/Google-Analytics-862.html - This is what I’m using btw and it’s working.

      Ettiene