How to set up Google Analytics
In this article:
What is Google Analytics and why use it?
How to link Google Analytics to your Sellfy account
What events do we send to Google Analytics?
How to gather in-depth sales data
What actions do we collect data on?
How to view enhanced e-commerce numbers using Google Analytics
What is cross-domain measurement?
What is Google Analytics and why use it?
In short, Google Analytics is a free digital analytics software offered by Google. The tool allows you to gain insight into your website traffic and visitors' behavior. It can tell you how people find your site, and what they do while they browse your store.
The information and sales data collected can be used to help increase your conversion rate, grow sales and make smart business decisions regarding your marketing strategy, for example. It's also a great way to measure the success and value of your existing marketing campaigns.
If you're not familiar with Google Analytics, here's an article to help you get started.
How to link Google Analytics to your Sellfy account
- Log into your Sellfy account
- Navigate to Integrations → Apps → Google Analytics
- In the Tracking ID input field, enter your tracking ID
What events do we send to Google Analytics?
As your visitors browse your Sellfy store, we are sending custom Google Analytics events, so you can better understand what's happening on your store site.
Category | Action | Label | When is it sent? |
---|---|---|---|
ec-ecommerce-send | product | detail | When a buyer visits a single product page |
ec-ecommerce-send | product | add-to-cart | When a product is added to cart |
ec-ecommerce-send | product | checkout-1 | When a buyer visits checkout page |
ec-ecommerce-send | product | download | When a buyer completes a purchase |
How to gather in-depth sales data
You first need to enable enhanced ecommerce, by following these steps:
- Log into your Google Analytics account
- Navigate to Admin → View → Ecommerce Settings
- Enable both E-commerce and Enhanced Ecommerce Settings
Once you enable this and data is coming in, you can access Ecommerce data by navigating to Conversions → Ecommerce
What actions do we collect data on?
We collect these basic Enhanced Ecommerce measured actions:
Action | When is the action recorded? |
---|---|
addImpression | When a buyer sees your product (in store, in related products block, on a single product page) |
detail | When a buyer visits a single product page |
add | Called when a product is added to a shopping cart. |
checkout | When a buyer visits checkout page |
purchase | When a buyer completes a purchase |
How to view enhanced e-commerce numbers using Google Analytics
What is cross-domain measurement?
Important! If you are using a Sellfy-based store, you do not need to enable cross-domain measurement.
Cross-domain measurement allows you to track sessions across two different sites with Google Analytics. This means that cross-domain measurement is for you if you, for example:
- sell products from your own website using Sellfy's embed method
- have an additional website/ blog and want to track sessions from your Sellfy store and your website or blog as one
To use cross-domain measurement, simply enter your domain in your Sellfy account > Google Analytics > Save.