Advanced Google Analytics for Joomla

Why not take advantage of the latest features provided by Google Analytics? With Advanced Google Analytics plugin you can track custom variables, track events, track multiple domains and subdomains, anonymize IP addresses and much more. Advanced Google Analytics is a complex Joomla plugin that will generate and insert the appropriate GA tracking code in all your website pages.

The following tutorial will show you how to easily configure this Google Analytics tracking plugin:

If you don’t have a Google Analytics account you should create one. Follow this video tutorial How to Set Up Google Analytics on Your Website to learn how to properly setup your own Google Analytics account.

Advanced Google Analytics Settings

To access plugin’s configuration page, go into your Joomla Backend, click on Extensions -> Plug-in Manager, click on System – Advanced Google Analytics and select Basic Options tab.

You should start the setup by getting your Property ID, which is required for the plugin to work properly. To get profile’s Property ID, enter into your Google Analytics account. The Property ID should be listed on the home screen, next to your profile name. Copy the Property ID, which should look something like this UA-XXXXXXXX-X, paste it in the plugin’s field called Google Analytics ID and apply the settings using the Save button.

The parameter called Domain Name should be filled in with your domain name or subdomain name (the www is required if your website uses www).

For the Tracking Mode, Single Domain is what most of you should use, the other two methods called Domains and Subdomains and Multiple Domains are sometimes required on more advanced tracking configurations, for multiple subdomains or domains tracking.

Custom Variables

The Custom Variables will help generate reports showing visitors activity by custom segments. Advanged Google Analytics for Joomla has four predefined segments: category, authors, year and user. For each of these segments, a separate report will be generated. Category, authors and year segments will allow you to have a quick overview on what’s popular on your website and the user segment will give you an idea about your users engagement (this custom variable will track if a user is logged in or not while browsing your website).

You can access Custom Variables reports in your Google Analytics account by going to Audience -> Custom -> Cusom Variables.

Event Tracking

Event tracking is just awesome, is a Google Analytics feature which allows you to track events like clicks on external links or clicks on downloads. To enable this feature you will need to set Enable Events Tracking to Yes. Events like clicks on outbound links or clicks on mailto are tracked out of the box. A Downloads Filter is available for tracking downloads; you can use the default filter or you can customize it as you wish. Just remember to use this “|” separator when adding a new file extension to the list.

To display the events in real-time go to Real-Time -> Events, on your Google Analytics account. You can also access all your Events reports by going to Content -> Events -> Overview.

Additional tracking Settings

Using Anonymize IP option you will be able to comply to some legislation requirements from different countries. Setting Admin Tracking to No will help generating clean reports. Visits, page hits or any other actions generated by you or other administrators will be automatically excluded from your reports.

For more details and a short demo follow the above video tutorial.

Plugin Download Plugin Support

To find more details on how this extension works and how your data is used, read Data Usage Policy for my Extensions.


  1. says

    How does one go about creating the four custom variables: category, authors, year and user?

    When I go into my analytics account, those custom variables are not displayed.


  2. says

    Site Crashed – after using this. ?????
    Homepage and Admin:
    Fatal error: Class ‘JParameter’ not found in /home/www/ on line 23

    Help please

    • Alin Marcu says

      That’s because you’ve installed a wrong version, probably j2.5 plugin on a j3.0 website!

    • Alin Marcu says

      Probably after all accounts will be automatically migrated and a Universal Analytics stable (still beta now) version will be available.