How to Set Up Google Analytics on Joomla website

Google Analytics is a powerful tool for measuring your website's performance. In this tutorial, I'll explain how to add Google Analytics to Joomla website, it's easy.

1. Get a Google Analytics Tracking Code

There are many articles that describe in detail how to get the tracking code. You can read this article from W3schools.

2. Set Default Editor to None

Normally, editors block any script before saving, so you should not use editors but convert it to a regular text area. Go to System > Global ConfigurationDefault Editor : None.

Additionally, you also need to make sure you have permission to use the "script" tag. In System Configuration, go to the "Text Filters" tab, set "No Filtering" for the "Super User" user group.

3. Create a Custom module

This module is where you insert the code snippet from Google Analytics. Go to System > Site Modules > New > Custom

Copy the code from Google Analytics into this module. Other parameters are as follows:

  • Title: No
  • Position: Footer
  • Status: Published
  • Module Assignment: On all pages
  • Advanced > Module Style : None

Save this module and check the result. Good luck!

You may also like

How to upload and attach files to Joomla articles

K2 to Content Migration

File Manager Extension for Joomla

Say something here...
You are a guest ( Sign Up ? )
or post as a guest
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.


Powered By JLex Comment.