Knowband Blog | Ecommerce Modules

Magento Google Analytic Enhanced ECommerce – User Manual

Steps For Installation of Magento Google Analytic Enhanced

Google Analytic User Manual

This module will basically work and visible in administration panel. There is no interaction of customers with this module and only administrator has access of this module.After copy this module, a link to access this module will be displayed under System >> Google Analytic menu as shown below screen:

After clicking on this link, module page will be open as shown in below screen: There are following tabs are displaying on left side in above screens. Each tab has different functionality which are described below in details:

General Settings

On clicking the module link, this tab will be open by default as shown as above screen. This tab has setting of this module. Each setting is explained below:

NOTE: During Google API Configuration for client id , add ANALYTIC API in Google project . In javascript origin add url : https://www.example.com and in Redirect Url add url https://www.example.com/index.php/googleanalytic/adminthml_index/index

Google Dashboard

This tab will display following some Google Analytic reports . On clicking this tab screen will look like following:

Initially this tab will show blank above orange colored login strip and blank report sections . On click of the above orange strip a browser window will open for login into Google Account. Enter the credentials of your account associated with Google Analytic.

After successfully login , you will see View Selector Options as shown below.

Using these options you can select select your analytic account and its corresponding property and its view.

On the top right there is widget displaying Active users count i.e. No of users currently present on your selected website at that time. By selecting a view reports will be displayed in their sections as shown below:

Appendix-I

In Magento when a category page is loaded an event is dispatched carrying information about the products. On the basis of that information our code works. But if you are using any extension to load products on category page then you have to manually add the analytic code.

Following is the example analytic code for category page:

ga(“create”, “UA-XXXXX-Y”);

ga(“require”, “ec”);

ga(“ec:addImpression”, { “id”: “9bdd2”, “name”: “Compton T-Shirt”, “price”: “44.00”, “brand”: “Compton”, “category”: “T-Shirts”, “position”: 0, “list”: “homepage”});

ga(“send”, “pageview”);

Details:

In 1st line replace UA-XXXXX-Y with your tracking id. Repeat 3rd line for each product come up with Ajax call to add impression of each product.

In 3rd line there are various field for data to send for analysis following are list of field with their meaning:

A. id=> product id

B. name=> name

C. price=> Product price

D. brand=> products manufactuter

E. category=> product category

F. position=> product position or you can give array index or any sequence no.

G. list => name of list or current page title which is suitable and easy to identify in analytic reports .

Liked This? You’ll Like These Too