Google Analytics Posts

Google Analytics for Magento Provides Extra Benefits

Magento offers its customers quite a wide range of statistical reports for tracking results of sales and other activities.

The native dashboard aggregates several reports featuring the number of orders, revenues, searches, new customers, or bestselling products.

Besides the dashboard, Magento provides a bunch of reports available from the Reports section in the backend. The list of available reports is rather long, and we’ll just say that except the mentioned above data they provide invoiced and shipped order reports, refunds, coupons, low stock, reviews, tags reports, and other ones.

Even so, store owners need to have more information about customers, including referral sources of traffic, the demographic portrait of visitors, and behavior characteristics. This demand can be satisfied by the Google Analytics reports, which collect information about your site using GA (Google Analytics) codes on every page of your Magento store.

Add Google Analytics Tracking to Magento

Magento has the native Google API, which allows you to embed GA tracking codes via the Configuration tab.

The whole procedure is simple and fully automated; you should just know the necessary Google Analytics account number:

  1. Firstly, you should expand the Google Analytics section in the Magento Admin Panel (System -> Configuration -> Sales -> Google API -> Google Analytics).
  2. Then enter the GA tracking ID into the Account Number field and press the “Save Config” button.

Google API

Google API

Use the Magento Configuration tab while adding GA

If your Google Analytics account is properly configured, it will start collecting information from this very moment. You can also enable the IP anonymization option in the Google API section and do not store full IP address information in order to comply with your own or local authorities’ privacy terms.

While adding Google Analytics to your Magento try to avoid some crucial mistakes, which can prevent accurate tracking:

Better use the Magento Configuration tab while adding the GA codes rather than hardcode them.
As Magento dynamically inserts transaction data to the GA code, you should insert it through the configuration page. The hard-coded tracking code may not pick up all transaction information on your checkout page.

Do not delete any code lines from the root template files.
Removal of some code lines from the root template files, which even seem to be excessive, may cause a failure of certain functionality, including GA tracking.