1. Home
  2. Magento Tutorials
  3. How to Add Google Analytics to Magento

How to Add Google Analytics to Magento

Google Analytics is an excellent tool for monitoring your website regardless if you own an online store or a blog. Its reports are invaluable when developing a strategy for content as well as marketing. Adding Google Analytics to Magento only works to improve your abilities to sell.

Analytics should be one of the first things you add to your Magento web hosting. It’s a free system that will help you track progress as the site develops and display any growth the site accumulates as you build.

In this tutorial, I’m going to show you how to add Google Analytics to Magento. Unlike some systems, Magento comes with support for Google Analytics built into it. This means you can start tracking immediately after installing the eCommerce platform.

Add Google Analytics to Magento

This first thing you need is an Analytics account and your website added to your reports. You do this by visiting Google Analytics and adding a new account in the Admin section. This is a quick registration and all it really requires is your site’s name and web URL. Google will then assign a new UA number to your account.

Visit Analytics

Copy the “UA” ID that Google provides. You will need this number for tracking to work.

Analytics UA ID

Go back to your Magento dashboard. Select the Stores section and click “Configuration.”

Store Configuration

Scroll down and click the “Sales” tab from the left menu.

Sales Menu

Scroll down the list from expanding Sales and click “Google API.”

Google API

Click to expand “Google Analytics” and select “Yes” from the Enable drop down window.

Enable Google Analytics

In the Account Number field, paste the “UA” code you copied from Google earlier. For this tutorial, we’re not going to worry about the experiments. We’re just looking to add analytics to the system.

Paste UA

Click the “Save Configuration” button on the top right of the screen.

Save UA Config

It only takes a few moments to add Google Analytics to Magento. It will show you want items people are finding the most valuable as well as how your marketing tools are impacting the site. Never underestimate the value of good data. Sometimes even the smallest of changes can lead to the greatest results. And Analytics may help find those small components.

Author: Chris Racicot

Chris is the Support Manager at GreenGeeks and has been with the company since 2010. He has a passion for gaming, scripting and WordPress. When he’s not enjoying his sleep, he’s working on his guitar skills and fiddling with 3d printing.

Updated on May 14, 2017

Was this article helpful?

Related Articles

Add A Comment