Adding Google Analytics
IMPORTANT: Depending on how your website developer set up your Modx account, you may not have access to your Modx site templates. If you do not, please ask your website developer to help you implement tracking stats.
- Sign up for a free Google Analytics account if you do not already have one.
- Locate your tracking code in Google Analytics by following this tutorial.
- Log in to your Modx manager.
- Click the ELEMENTS tab at the top, then click MANAGE ELEMENTS.
- Click the TEMPLATES tab if it's not already selected.
- Use the following steps for each Template that exists.
- Click on the template name.
- Scroll down through the template code until you get to the bottom.
- Look for the </body> tag located near the end of the template code.
- Paste in your Google Analytics tracking code directly ABOVE the </body> tag.
- Click SAVE.
- Do this for each template that exists in your Modx manager.
blog comments powered by Disqus