Google Analytics e-commerce tracking
Easy EC sales management

1. What is eCommerce tracking?

First, e-commerce is "e-commerce." A form of transaction in which contracts and payments are made via networks such as the Internet, and refers to online shopping. There are basically three types. It is an integrated management type where the same brand operates multiple e-commerce, a shopping mall type such as Rakuten Ichiba, and a marketplace type such as Amazon.

And e-commerce tracking is a function that analyzes purchase behavior in e-commerce. This includes revenue, conversion rates, and average order value.


2. How to set up e-commerce tracking

Setting is only 3 steps.

① Enable e-commerce settings on Google Analytics

1. Click Manage
2. Click [E-Commerce Settings]
3. Check Enable e-commerce
4. Click [Save]
In Google Analytics, you can enable the settings by turning on "Enable e-commerce" in "E-commerce settings" in "Management".

②Add the e-commerce tracking code to the purchase completion page

Add the following script (UniversalAnalytics version) to the purchase completion page. Please replace the “$ ●● $” part.

 ga ('ecommerce: addTransaction', {// Record order data id: '$ transaction ID $', affiliation: '$ shop name $', revenue: '$ revenue $', shipping: '$ shipping $', tax : '$ Tax $'}); ga ('ecommerce: addItem', {// Purchase information id: '$ Transaction ID $', sku: '$ Product ID $', name: '$ Product name $' , category: '$ Product Category $', price: '$ Product Price $', quantity: '$ Quantity $'}); ga ('ecommerce: send'); // Send data 


③ Set the purchase completion page in the goal setting

Finally, set the purchase completion page in Google Analytics goal setting.

1. Click Manage
2. Click [Goal]
3. Click [New Goal]
Google Analytics goal setting screen
4. Goal setting is [Custom]
5. Enter [Goal Name] and set the Goal Type to [Destination Page]
6. Enter [URL of purchase completion page]
7. Turn on Funnel
8. Enter [Name and URL of each screen from cart to purchase completion page]
9. Click [Save]
How to set Google Analytics goals


3. How to see sales and orders in Google Analytics

4. How to analyze e-commerce tracking data in Anatomy

Anatomy's e-commerce option provides a simpler way to analyze Google Analytics e-commerce tracking data.

①Intuitively grasp the sales of the product, the reference source and the degree of contribution of the landing page

Google Analytics uses the product name and transaction ID to determine the sales of each product. In the case of anatomy, the number of orders is displayed in a list along with a screen capture of the actual product page, so you can easily check it.

In addition, since the referrer and landing page that the user who has received the order has passed can be checked, the pages that contributed to the order can also be checked.

②Automatically download EXCEL report of e-commerce tracking data

Anatomy's EC report automatically summarizes changes in orders, orders, and sessions in Excel. In addition, it is updated daily because daily tallying is also possible. There are also three types of counting units: daily, weekly, and monthly.

If you've compiled such data yourself into Excel, be sure to use Anatomy's EC option so that you can spend more time improving your site.

You can download a sample EC report here .

If you would like to try the EC option, please contact us via inquiry .


In order to improve the sales of EC sites, it is important to keep the site improvement PDCA on a daily basis. However, if you are using Google Analytics and it is a little difficult, please try "Anatomy" once.

If Google Analytics is set up incorrectly or incorrectly, the data at the bottom of the line can also cause incorrect decisions. If you have any concerns about Google Analytics settings, there is also a service that allows you to check the status of Google Analytics settings.

Click here for related articles ▼