How to install Google Analytic in Joomla?

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Zinavo Tech
I've been banned!
Posts: 2
Joined: Fri Feb 05, 2021 5:35 am

How to install Google Analytic in Joomla?

Post by Zinavo Tech » Fri Feb 05, 2021 6:18 am

How to install Google Analytic in Joomla?

User avatar
Joomla! Champion
Joomla! Champion
Posts: 6756
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: How to install Google Analytic in Joomla?

Post by AMurray » Fri Feb 05, 2021 8:35 am

I can think of two options:

1. Obtain a suitable extension (plugin) such as this one but otherwise just search the JED. You will need the Analytics 'id code' so it knows what site it is monitoring.

2. Copy and paste the Google-provided code - Google provide instructions. The code is obtained from your Google (Analytics) account.

Not sure why this was posted in "SEO" forum as it's not related to search engines specifically
Regards - A Murray

User avatar
Joomla! Master
Joomla! Master
Posts: 13512
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to install Google Analytic in Joomla?

Post by toivo » Fri Feb 05, 2021 8:44 am

Some templates and template frameworks have options to include third party analytics code to the template to be part of the head or body of the page.

You can also find Joomla extensions that do the job in the following JED categories:
Toivo Talikka, Global Moderator

User avatar
Joomla! Explorer
Joomla! Explorer
Posts: 440
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece

Re: How to install Google Analytic in Joomla?

Post by changlee » Fri Feb 05, 2021 9:47 am

I will suggest you NOT to use any plugin. Just find your theme's settings and 90% probably there will be an option for custom html at HEADER area.

There you should enter the analytics tracking code.
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP:

Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Feb 09, 2021 7:25 am

Re: How to install Google Analytic in Joomla?

Post by johntyson » Tue Feb 09, 2021 8:09 am

Google Analytics is tool which is use for track your Flash, video, and social networking sites and applications.
1.You should have google analytics Account.
2. Copy the tracking code
How to install Google Analytics in Joomla:
Step 1: Log in to your Joomla site backend.
Step 2: In the control panel, go to Extensions/Templates/Templates (Site), then chose Protostar Details and Files.
Step 3: Find index.php, and add your GA tracking code right after the <head> tag. Then save it.
Last edited by Per Yngve Berg on Tue Feb 09, 2021 8:36 am, edited 1 time in total.
Reason: Manual signature removed.

User avatar
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Thu Sep 06, 2018 9:38 am

Re: How to install Google Analytic in Joomla?

Post by davidnguyen » Thu Mar 04, 2021 10:33 am


Please use this keyword "how to install google analytics in joomla" and make a search on Google. There are a lot of guides that you can refer.

Thank you
David Nguyen - JoomlaShine
Joomla Templates:
Joomla Page Builder: ... ilder.html
10+ years in Joomla business

I've been banned!
Posts: 13
Joined: Wed Feb 10, 2021 10:05 am

Re: How to install Google Analytic in Joomla?

Post by jameslarson » Tue Mar 09, 2021 8:03 am

There are several ways to connect Google Analytics to the website with Joomla. A plugin like Asynchronous Google Analytics can be used. The tracking code can also be applied using your template.

I've been banned!
Posts: 6
Joined: Fri Apr 16, 2021 3:45 am

Re: How to install Google Analytic in Joomla?

Post by hollcharles1 » Thu May 06, 2021 5:32 pm

Before installing Google Analytics into your Joomla site, you need to get the Google Tracking Code. There are different ways you can add Google Analytics to your Joomla site, such as using a default template, use other templates, or through plugins.

I've been banned!
Posts: 8
Joined: Mon May 17, 2021 9:49 am

Re: How to install Google Analytic in Joomla?

Post by charleshardiman » Wed May 19, 2021 7:31 am

To install google analytics on any website, you should have a google account and have access to the website code. Following are the steps required to integrate google analytics on your website.
1. Log in to google analytics
2. Enter the website information
3. Copy the analytics tracking code
4. Paste this code just before the closing head tag</head> on every page of your website.
5. Verify integration with google tag assistant
6.Once you configure google analytics successfully, you will see the reports within the next 24–48 hours.

Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”