How to Connect WooCommerce to Google Analytics

How to Connect WooCommerce to Google Analytics

Connecting WooCommerce to Google Analytics allows you to parse your online store. You may be wondering what the use of analyzing online store purchases is?

You need to know that by analyzing your online store, you can know your strengths and weaknesses in your online business and advertising, and thus improve your weaknesses and use new strategies to sell more of your products. You may want to do an A / B test on your site or show two different pages to different users to choose the best design and user interface. To have these tests and conclusions, you must use Google Analytics.

This article will review the benefits of connecting WooCommerce to Google Analytics and teach you how to connect WooCommerce to Google Analytics with the WooCommerce Google Analytics Integration plugin. If you also have an online store, this article is for you. So stay tuned for the rest of this article.

What is Google Analytics

Google Analytics is a free tool for site analysis. This tool can capture the behavior of users on your site, the amount of incoming traffic, conversion rate, number of online users on the site, how long the user stays on the site pages, and the type of device used by users who entered the site and many other valuable information and data. Make it available to web admins. Knowing this information will improve and optimize your website. So far, we know that Google Analytics is a powerful tool for analytics, so if you have an online store to achieve more success and sales, you need to review and analyze your store by knowing information such as:

  1. Product page views in WooCommerce
  2. Product added to cart
  3. Remove the product from the cart
  4. Analyze and initiate the purchase process by users
  5. Analysis and review of completed purchases by users
  6. Review and analysis of abandoned shopping carts

By knowing the above information, you can understand what causes more sales and what deters users from buying. By obtaining this essential and valuable information, you can use new strategies and strategies to achieve more sales and success. But you should note that the WooCommerce Store Builder plugin cannot display high-value data and information. To access this valuable information, you must connect WooCommerce to Google Analytics.

Learn how to connect Google Analytics to WordPress

Previously, in the article site registration in Google Analytics, we entirely taught you how to connect Google Analytics to WordPress, but here we will review it again.

To connect Google Analytics to WordPress, first, go to analytics.google.com. You must first log in to your Google Account and enter your username and password. Then, when you enter the site, click on the Start measuring option as shown below.

Learn how to connect WooCommerce to Google Analytics
Learn how to connect WooCommerce to Google Analytics

Then select a name in the Account name field and click Next. After this step, you need to create a property (property), put your property name in the property name field, and click Next. Pay attention to the pictures below to understand the description given.

Specify your Google Analytics account name
Specify your Google Analytics account name
After selecting the name, click on the NEXT option
After selecting the name, click on the NEXT option

In the next section, we need to add a property or property. In the property name section, enter a name for your property and then click Next.

Enter your site name. For example MihanWP
Enter your site name. For example MihanWP

In the “Reporting time zone” section, your time zone for reporting and reporting is specified, and in this section, you must select your time zone in Iran and then click Next. Take a look at the image below to understand the concepts above.

Reporting time zone
Reporting time zone

Set the next part “currency” or pricing unit to your store currency.

currency
currency

In the next section, it is “advanced options.” In this section, you must specify whether this property is Universal Analytics or made with the new version of Google Analytics 4. Do not check the box to get this property for you with the latest version of Google Analytics. To be created. Then click Next.

universal property
universal property

As you can see in the image below, it asks you for some information about your type of business, such as what fields you work in? We chose the field of business here. And here is some information on what is the size of your business? How many employees do you have? Check these here. And then click create.

Add your business information.
Add your business information.

Finally, check the rules and then click on “I Accept.” In this part, a property was created, and eventually, it asks you what your property platform is? It is a web or Android app or ios app that we have selected in this web section, and then it will ask you for the website address, in which you must enter the website address and select a stream name for it.

Now in the Google Analytics panel, in the admin section, click on the Setup Assistant option, and from the Tag installation section, click on your website, then a window will open for us. Click the Global Site tag and copy the code shown. Now you need to put this code in your WordPress. To do this, you can manually paste this code before the header package tag in the header.php file, or you can download the Insert Headers and Footers plugin from the WordPress repository and enable it. After installing this plugin, go to the insert Headers and Footer section, post the code related to Google Analytics and click save.

Connect WooCommerce to Google Analytics

This plugin connects Google Analytics with WooCommerce and analyzes your online store. With this plugin, you will be able to explore your store details. Online store analysis is critical, and by installing this plugin, you can get important information such as the number of page views of products in WooCommerce, deleting and adding the product to the shopping cart, checking abandoned shopping carts, and much other helpful information and with this valuable information Drive your online store for improvement.

Install and launch the WooCommerce Google Analytics Integration plugin

The original version of the plugin is available on the WordPress repository.

Then in the plugin upload section, select the download file and then click on the install option and activate it after installation.

Now in the WooCommerce configuration section, there is an option called “Integration,” which asks you for Google Analytics information to connect WooCommerce to Google Analytics:

After installing the plugin, enter the integration section
After installing the plugin, enter the integration section
Enter an ID or Google Analytics ID
Enter an ID or Google Analytics ID

As shown in the image above, enter the Google Analytics site in the “Google Analytics Tracking ID” section, and after registering, it will give you a code (ID) that you must enter in this section. Also, in the “Set up a domain name” field, enter the domain address of your online store website.

Go to analytics.google.com  and click on the gear in the lower-left corner to get the Google Analytics tracking ID. You will enter the settings. Now click on the Tracking info option.

And after creating an account, you can copy and paste the tracking ID as shown below.

Copy your Analytics ID and ID
Copy your Analytics ID and ID

Then you have to adjust the Ecommerce Settings settings in Google Analytics. To do this, click on the scenes in gear in the lower-left corner of your screen and click on Ecommerce Settings.

Then enable Enable ECommerce and Enhanced Ecommerce Reporting on the opened page and then click Save. Take a look at the image below to understand the description given.

eCommerce set_up
eCommerce set_up

Go back to the WooCommerce configuration section, activate the “Advanced eCommerce” checkbox, and click Save Changes.

We quickly installed the WooCommerce Google Analytics Integration plugin. Now, just 48 hours later, enter the e-commerce section and see and analyze your site’s sales directly in Google Analytics.

What we learned

Suppose you have a WooCommerce online store to sell more of your products and succeed in your business. In that case, you need to analyze your site and check many statistics and data to get accurate information and statistics from your online store. Get you to need to use an analytics tool. The best analytics tool is Google Analytics, provided free of charge by Google.

But if you want to get accurate information from the online store, such as obtaining precise site traffic statistics, product purchase statistics, abandoned shopping cart statistics, product deletion cart statistics, shopping cart completion statistics, and much other helpful information, you must use your WooCommerce Connect to Google Analytics. There are different ways to connect WooCommerce to Google Analytics, one of which is to use the WooCommerce Google Analytics Integration plugin. This plugin is straightforward and light for analyzing WooCommerce in Google Analytics.

In this article, we have entirely taught you how to connect WooCommerce to Google Analytics through the WooCommerce Google Analytics Integration plugin. I hope this article has been helpful for you ،, be happy and prosperous.

Is there any particular point that would complete this article?