How to Set Up Google analytics in Magento Step by Step

If you are running your Magento eCommerce store you may have heard about Google Analytics. Google Analytics is a freemium web analytics service offered by Google that tracks and reports website traffic. You can find out monthly (duration can be customize) total visits, location visits (city, region, country), language visits, landing page visits, organic, referral, social, email, paid visits. You can also find out website goal, income, order details and lot more.

You can have Google Analytics configured for your Magento eCommerce store and track your store performance in terms of visitors, location, landing pages and lot more.  Follow below steps to configure Google Analytics yourself, it’s pretty EASY.

Google Analytics Magento Setup Process


1. You can use your existing Google (gmail) account to sign up with Google Analytics or if you already have Google Analytics account, please login with that.

2. Once you are logged in to your Magento admin panel, click on System from menu bar and click on Configuration (See image below)

Analytics Setup Configuration Magento

3. Now Click on Google API which is in Sales category

Analytics Setup Google Api Magento


4. Enter your Google Analytics id in Google API>Google analytics , if any case you don’t have Google Analytics id, please click here to see how to find it..

Analytics Setup Account Magento

How to find your Google Analytics ID (Account Number)

Step-1. Go to Google Analytics admin

Step-2. Then click on Property Setting (Check image -1)

Step 3. Than copy tracking ID (Check image -2)

Google Analytics Admin Property Setting

Google Analytics Tracking Id

Paste your Google tracking code ID and hit save. VOILA you have configured Google Analytics on your magento store

Magento Add Analytics Id

How to verify your Google Analytics setup is done or not?

Go to your website and view home page source by clicking on command+U, if you are using Mac and Ctrl+U, if windows (having hard time to see view source code, check this video view source code). Go to bottom of the page and try to find out code similar to below if it’s there you have correctly configured Google analytics.

Verify Your Google Analytics Setup

Still having trouble setting that up, let us know and we’ll help you.

Posts you may like  –

How to make Google analytics customize report

How to block unwanted referral traffic from Google analytics report

List of Latest Google Analytics’ Spam Referral Sites


NickHow to Set Up Google analytics in Magento Step by Step

Related posts


Join the conversation
  • Jenna Haze - May 18, 2015

    Very interesting article. Good work

  • Tatsiana - May 19, 2015

    Thanks for your tutorial. Would be happy to see one about Google Tag Manager soon. 🙂

  • Seema Chauhan - May 20, 2015

    Great job. I appreciate as you have explained in an easy way!! Thanks for share

  • Jorge William - June 15, 2015

    Nice article .Carry on..

Comments are closed.