magento-2-google-analytics

Set Up Magento 2 Google Analytics in 5 Effortless Steps

For Magento stores, a successful content strategy that attracts potential customers to your website and drives sales is made from an exact website analysis. When saying about this task (website analysis), Google Analytics is a tool nobody should ignore by its great support. 

Right in this post, BSS Commerce shares with you 5 easy steps to set up Magento 2 Google Analytics for useful reports about your Magento website. 

CHECK OUT Magento 2 SEO Extension  to give a complete SEO solution for your website.  

What is Google Analytics and Why Websites Needs It

Google Analytics (GA) is a free tool powered by Google and the most popular digital analytics software. This incredible tool allows you to analyze and track all details about visitors’ behavior and even what goes on your website in real-time. 

By using Google Analytics, you can get closer to reach valuable customer insights. As a result, you know how to drive your content in the right direction. So, how does Google Analytics benefit web owners?   

  • Introduce a completely free but thorough and quality analytics tool 
  • Process data after collecting from your content pages, then give you detailed reports
  • Give admins the ability to create customization reports using the drag and drop interface 
  • Operate with a clear and usable interface, so it can be integrated with other tools without difficulty, such as Google AdWords, Google Search Console, etc. 
  • Dig visitors on your website deeply with age, gender, interest, device, and location
  • Provide information about social networks which bring visitors to your site, reveal which platforms you should target 
  • Review how your content work through Unique Page View, Time On Page, Bounce Rate, Page Value, etc. 
  • Easily track how much your business is processing 

5 Steps to Set Up Magento 2 Google Analytics in Your Store

Step 1: Sign up a Google Analytics account 

The very first step is obviously to create your Google Analytics account (If you have already signed up, just skip this step). You need to login to your Google account for or create a new one if you haven’t had yet. 

Now, go to Google Analytics to create your account at https://www.google.com/analytics/

After you choose “Create Account,” create an account name and select what you want to measure (Web, Apps), the screen will display this form: 

google-analytics

Enter your website name and its URL, then complete other information. Click “Get Tracking ID” once you finish the form. In this way, you’ve already done this step. 

Step 2: Get a tracking code 

To set up Magento 2 Google Analytics, you have to add a Google Analytics code to your Magento 2. To get the code, let’s navigate the left side of the Analytics dashboard and choose the Admin Tab

In the Admin Tab, select Tracking Infor and open Tracking Code. The screen will display the Tracking ID that you need. 

tracking-code-google-analytics

Step 3: Enable Google Analytics API in Magento 

After getting the code from Google Analytics, you must go to your Magento backend, navigate Store => Configuration => Sales. Under the Sales panel, open Google API

When Google Analytics is opened, follow these steps: 

  • Set Enable as Yes 
  • Copy the Google Analytics tracking code and paste it in Account Number
  • Set Enable Content Experiments as Yes  
  • Finally, choose Save Config
magento-2-google-analytics

Step 4: Set Enhanced Ecommerce Tracking 

You cannot miss this step when setting up Magento 2 Google Analytics. Let’s turn back to Google Analytics, find Ecommerce Settings on the left panel and click on it. 

After that, switch Ecommerce set-up and Enable Enhanced Ecommerce Reporting to “On.”

To finish this step, don’t forget to save changes. 

google-analytics-settings

Step 5: Check to ensure everything works correctly 

Last but not least to set up Magento 2 Google Analytics, you should check all the things if they work correctly. 

It’s super easy. Just open your website in the frontend, then see how Google Analytics shows you in the Realt-time report at Overview. You can check Overview, Location, or Traffic Sources to make sure everything goes right if your access is tracked correctly. 

Wrapping Up

By completing the above 5 steps to set up Magento 2 Google Analytics without difficulty, you have a powerful tool to support your eCommerce business from now on. Your job is to use the reports in a clever way for proper content strategy in the long run.

To boost traffic more effectively, you also can improve SEO for your Magento store. Here are posts that might useful for you. 

Write A Comment

Name

( 1 ) Comment

  • Hadil

    thank you very nice website article