As more and more readers are inquiring about Joomla related posts, we have already introduced the easy ways for building a Joomla powered website, along with a Joomla tutorial series. In this post, we’d like to continue this series concerning about how to add Google Analytics to Joomal powered site easily and effortlessly.
Keeping track of the site traffic uninterruptedly allows webmasters better handle their websites, for this practice helps them know clearly when the traffic point is and what the traffic source is, thus refine the website accordingly. At present, there are so many tracking tools available online, among which Google Analytics is the most popular and award-winning one.
Step One: Sign up for Google Analytics
In the very beginning, you need to sign up for an account of Google Analytics from here using your Gmail. Then, click the Sign Up button in the right place of the whole page. After that, you can be directed to the account information page, with which you can start a new account by entering the needed information.
Now, Google Analytics allows you to track both your websites and mobile app, so you need to choose the website tab before filling out the blanks.
The general information required includes the account name, website name, website URL, industry category, and reporting time zone. You only need to enter the real information and click Get Tracking ID button.
In terms of the data sharing setting, it allows you to have a full control over sharing your Google Analytics data. You can leave the options in default or change them based on your needs.
Step Two: Get the Tracking Code
After accepting the Terms of Service Agreement, now, you can get the tracking code that needs to be copied and pasted to your website. The code snippet is presented in the HTML format, and you can decide to monitor a single domain or to monitor multiple top-level domains.
Step Three: Paste the Code to Joomal Site
You can insert the lines of code into any webpage you want to monitor, but generally, the tracking code is pasted into the Joomla template before the closing “/head” tag to track the traffic of the entire website. Simply go to the dashboard of your Joomla website and navigate to the Extensions tab. In the dropdown menu, you can find the Template Manager to click.
After selecting your target theme, you need to navigate to the customize template page and click the link of “Edit main page template” under the Template Master Files.
Now, you can add the tracking code you have copied previously. Again, the code can be placed at any locations but before the “/head” tag.
Step Four: Start Tracking
Now, you have already added the Google Analytics to your Joomal site, so you can start monitoring the website immediately.
In the dashboard, you can get a lot of statics including the visits, average visit duration, traffic source, visit and page views by mobile, conversion rate, and many more. You are allowed to choose the type of data you want the most to show up in the dashboard, and decide the position by dragging and dropping it.
If you have used this tool for a long time, you can also check and compare the traffic for some specific periods on a daily, weekly or monthly basis.