Tag: statistics


I have read few notes on the topic “Adding Google Analytics to an ELGG installation”. Interestingly, many of them pointed that elgg does not have a sophisticated tool or interface for adding google analytics to elgg.
But we have a simple and clean method to add google analytics to a elgg application.

To add Google analytics to your elgg install, do the following steps.

#1: Login to your Google Analytics account and get the GA Code.
#2: Create a file called analytics.php in your /mod/theme_plugin/views/default/footer/analytics.php. Create “footer” directory if its not already created.
#3: Paste the GA code in the file.
#4: enable the theme that contains the new file.

That’s it. You should have Google analytics up and running at your site now.