Magento 2 Google Analytics

Magento 2 Google Analytics

Magento 2 Google Analytics setup for a smooth integration between tracking in GA and your store.

Google Analytics » is a web analytics service offered by Google that tracks and reports website traffic. It comes out-of-box in each Magento 2 install and doesnt need to be downloaded only Configured

Code #

The Google Analytics Tracking Code can be obtained from your Analytics Account »

  1. In your GA Dashboard click on “Admin” in the menu on the left:

Select Admin

  1. Now you click on the “Tracking Info” then “Tracking Code” link that appears, all located in the “Property” column:

Select Tracking Info

  1. Copy the Tracking ID that is in the “UA-11111111-1” format to be pasted into Magento Admin Panel.

Copy Tracking ID

Setup #

  1. Login into your Magento Admin area

    Login

  2. From the left menu hover over “Stores” and then click on “Configuration”

    Navigate to System -> Configuration

  3. Scroll down the second left menu to “Sales” then click on “Google API”

    Navigate to Sales -> Google API

  4. In the “Google API” Dashboard select first “Enabled” to “Yes”, this will toggle the Google Analytics extension ON and allow you to specify the “Account Number”, where “Account Number” is the Code we copied from the Google Analytics account.

Set Enabled to Yes and paste the GA tracking code

ECommerce Tracking #

Anonymize IP #

Anonymize IP is a option that can be configured in the Magento backend, steps 1 to 3 can be followed from Setup and for the last step “Anonymize IP” can be set to “Yes” via select.

Anonymize IP set to Yes

Enhanced Commerce #

Enhanced Commerce is only available in the Enterprise version of Magento 2.

Content Experiements #

Not Working #

Things to check if Google Analytics are not working on your Magento 2 store:

Extension #

Published: Dec 23, 2018. Updated: September 10, 2020.


Magento 2 Elasticsearch

Magento 2 Elasticsearch

Magento 2 Elasticsearch tutorial on how to use and configure as the primary search engine.

Read
Magento Security Scan Tool

Magento Security Scan Tool

Magento Security Scan is a tool provided by the Magento team that monitors your Ecommerce store and notifies you of security breaches.

Read

Magento 2 Installation

How to setup and install Magento 2 in you server

Read

Magento 2 SEO

In this SEO guide we will help you get higher rankings by providing Magento 2 SEO Tips

Read

Magento 2 Cache

Magento 2 Cache tutorial on different usage scenarios and why Cache should be enabled on your store.

Read
Magento 2 Redis

Magento 2 Redis

Magento 2 Redis Tutorial, How to Install and Configure for Default Cache, Page Cache and Sessions Storage.

Read
Contact
Hire us


Need help with Magento 2 Google Analytics ?


Tech

Technologies we work with

Magento is an open-source e-commerce platform written in PHP
PHP is a popular general-purpose scripting language that is especially suited to web development.
MySQL is an open-source relational database management system.
Redis is an in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.
Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as APIs.
Google Tag Manager is a free tool that allows you manage and deploy marketing tags on your website / app
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic
Elasticsearch is a search engine based on the Lucene library.