JUser: :_load: Unable to load user with ID: 62

How to Add to Joomla, your Google Analytics code

Joomla Google Analytics PluginIf you have created a Joomla website, one of the very first things you want to do is monitor how much traffic is coming to the website.

Of course, by far the easiest way to do this and monitor the traffic to your website is through Google Analytics. Of course, to be able to do this, you'll need to add the code from Google Analytics to your Joomla website template.

This comes with a risk of forgetting some pages or messing up your template. Our Joomla Google Analytics plugin, saves you the headache and does all the dirty work for you. To save you from messing around with more code, we have also added the possibility of adding Google WebMaster verification code and Bing WebMaster Verification codes. 


This plugin from CollectiveRay provided here gives you a quick way to add the Google Analytics code to the website. Simply, install the plugin, Google Analytics code in the Joomla plugin, enable the plugin and you're done!

If you want to enable Google and Bing WebMasters verification you can also do this via the plugin.

Get the respective codes from those sites and add them to the plugin, and these will be verified by the plugin too.

 DC Joomla Google Anlaytics Plugin Parameters

Setting the Joomla Google Analytics plugin parameters

DC Google Analytics Joomla Plugin Google Bing Webmasters Parameters


Adding verification codes for Google / Bing Webmaster tools.

It would really really help if you could spare the price of a beer / coffee or less to support hosting, development and other costs.

Let's help you manage your Joomla better


Free Joomla tips ebook button

Download Buy me a Beer Version (€3) or Download (Free) 

The plugin should be fairly easy to use. Install the plugin, put in your UA-XXXXXX-X code you got from the Tracking code from Google Analytics > Admin > .js Tracking Info > Tracking Code and enable the plugin.

If you find any problem while use it, please drop a line in the comments below, and we try our best to support you. If you like it and used it, please do leave a comment with a link to your site, it would be good to know that other people have found it useful. We consider this to be just a(nother) drop in the open-source ocean.


You'll need to do a View-Source on the site to see our Tracking Code in action. 


This plugin is compatible with Joomla 2.5 and 3

Share This Please!

If you like this plugin, please do share it using our Social media buttons at the top please, we very much appreciate the additional recognition!


About the Author

One more thing... Did you know that people who share useful stuff like this post look AWESOME too? ;-)
Please leave a useful comment with your thoughts, then share this on your Facebook group(s) who would find this useful and let's reap the benefits together. Thank you for sharing and being nice!

Featured On

Inc Magazine Logo  

Sitepoint logo  

CSS Tricks logo   

webdesignerdepot logo   WPMU DEV logo   

and many more!



Get Started Now With ShutterstockShutterstock

Best Rated Caching Plugin

Make your website faster 

Monstrous B-Day Party

CLICK HERE for discounts!

Monstrous bday party

How to make your website FAST!

Step-by-step - free email course, how to make your website load in less than 1 second 


The Outstanding HungryJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get a bundle for just $9 - ONLY!

The Hungry JPEG Awesome font bundles


Work with CollectiveRay.com

CollectiveRay (formerly known as DART Creations) is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)


Disclosure: CollectiveRay is funded personally out of pure passion for helping people working with websites. We do however generate some income through recommendations of products. This means if you click on a link and purchase an item we link to, we will receive a small sum out of that sale. We usually partner with vendors to make your purchase cheaper than buying direct.


InMotion Hosting CollectiveRay Deal

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists.

David attard

Follow us on Social

Follow us on Facebook   Subscribe to our RSS Feed   Follow us on Twitter


Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to StackPath CDN!

Web Hosting stackpath


Popular Content

Joomla extensions to take your website to the NEXT level

Is your Joomla website reaching its full potential? We install many of these extensions on almost ALL of our Joomla sites - why don't you check them out our list of Joomla Extensions and see whether you can take your site to the next level?