Google Analytics integration in Elgg

Google Analytics provides useful information about your website visits, traffic, keyword search and others. As a website owner, you will surely want to track your website with Google Analytics. In this tutorial we are going to show you how to integrate Google Analytics tracking code with your Elgg website.

The first thing you will need to do is download the following plugin:

You may check our tutorial “How to install Elgg plugins” here:

Enable the plugin through the site administration area. Then go to your Google Analytics account and obtain the tracking ID for your site. If you do not already have a Google Analytics account, you may create one from here:

Now, in the plugins page of your Elgg website click on “Settings” next to the Google Analytics plugin:

Google Analytics integration in Elgg

Enter your Google Analytics tracking code as shown in the picture:

Google Analytics integration in Elgg


Make sure to use your own tracking ID code. Click the save button when you have entered the code.

Please note that it may take up to 48 hours until Google Analytics generate some statistics for your website