Using Google Analytics

Last updated

Would you like to know more about your sales and buyers? You can:

  • get detailed statistics about your site traffic and traffic sources,
  • track metrics like pageviews and bounce rates,
  • measure conversions and sales,
  • see search keywords that your customers use during shopping,
  • use remarketing to reconnect with people that visited your store.

Connect your Ecwid store to the free and powerful Google Analytics service to have access to lots of stats and get insights into how your existing and potential customers find and use your store.

In this article:

Creating a Google Analytics account

If you already have a Google Analytics account, you can proceed to the next section and connect it to your Ecwid store.

If you don’t have a Google Analytics account, follow these steps first to create it:

  1. Go to http://www.google.com/analytics/.
  2. Click Start for Free in the top right corner.
  3. Sign in to your Google Account or create a new Google/Gmail account
  4. Click Sign Up in the top right corner to start using Google Analytics service.
  5. Fill in your Account Name, Website Name, Website/Starter Site URL, and select an Industry Category and Reporting Time Zone.

New GA account

  1. Under Data Sharing Options, check the boxes next to the options that you want.

Data sharing

  1. Click Get Tracking ID.
  2. Agree with the Google Analytics Terms of Service Agreement that opens.
  3. Google Analytics will generate a Tracking ID for you — copy it for later use:

image4.png

Now you have a Google Analytics tracking ID for your site and can add it to your Ecwid control panel to link both. Read on to learn how.

Connecting your store to Google Analytics

It is really easy to connect your Ecwid store to your Google Analytics account:

  1. Sign into your Google Analytics account.
  2. Proceed to Account → Property Settings:

property setting

  1. Copy the Tracking ID:

Tracking ID in GA

  1. Open Ecwid control panel → Settings → General → Tracking & Analytics.
  2. Paste your Tracking ID in Google Analytics ID field:

Tracking ID in Ecwid

  1. Click Save or press Ctrl + S to save the changes.
  2. Open your Google Analytics account again.
  3. Click Admin.
  4. Click Ecommerce Settings under the View column:

Ecommerce Settings

  1. Switch the toggle to ON under Enable Ecommerce:

Enable Ecommerce

  1. Click Save.

That’s it. You’ve connected your Ecwid store to Google Analytics and enabled the Ecommerce Tracking (Standard Reports) in your Google Analytics settings. The first results in Google Analytics reports will appear in about 24 hours.

Enabling remarketing with Google Analytics

Besides getting e-commerce reports, you can also use remarketing with Google Analytics to show your ads to your store visitors on other sites and thus remind them to return and make a purchase in your store.

You can deliver ad content specifically targeted to the interests they expressed during their previous visits to your store. For example, a group of visitors who spent time investigating specific products but didn’t add anything to their shopping carts might be swayed by additional ads for those products. A group of visitors who added items to their shopping carts but didn’t complete the purchase might be enticed with a coupon for free shipping or a discounted price. A group of visitors who have made purchases has demonstrated not only an interest in your products, but a willingness to buy, and so you have an opportunity to cross sell other products in which they may be interested.

Check this article for other ways of using retargeting to grow sales.
Before setting up remarketing with Google Analytics, you should update your privacy policy to notify site visitors that you collect traffic data via Google advertising cookies.

You can set up remarketing with Google Analytics in the following steps:

  1. Set up Google Analytics in your store.
  2. Register a Google Ads account, if you haven't yet.
  3. Place your Google Ads conversion tracking code on the order confirmation page of Ecwid store as described here: Google Adwords and Ecwid.
  4. Link your Analytics and Google Ads accounts together.
  5. Enable remarketing in Ecwid control panel → Settings → General → Tracking & Analytics:

Remarketing enabled

  1. Add remarketing lists and the corresponding ads in your Analytics and Google Ads accounts.

Getting reports with Google Analytics

You can get useful reports when using free and powerful Google Analytics service with your store, such as:

Real-time reports about where your active store visitors are geographically located, what pages they are viewing, if they are browsing your store via Desktop or a mobile device, the keywords and websites that brought them to your store, etc. You can see top live data in Real-Time → Overview or check each subsection separately using the menu on the left:

image15.png

Stats about Audience. You can view detailed information about your store visitors like their city, language, browser, operating system, their engagement, if they are new or returning customers. You can segment your store visitors by different criteria and see the reports for each segment:

Audience

Make sure to choose the necessary date range in the top right corner to see the stats for that period.

Acquisition data. Find out the biggest traffic sources that are sending buyers to your store - whether your store visitors mostly come from Google.com or other search engines, if they visited your store directly (used a bookmark or typed in your store address in their browser) or came to your store by clicking a link on some website or on a social network.

Acquisition

In the Behavior section you can find out how visitors interact with your store: how many times they viewed certain store pages, how long they stayed on these pages on average, the number of times they entered and exited your store via a certain page, etc.

Behavior

In the Conversions section of your Google Analytics account you can find:

  • your top selling products/SKUs, revenue from individual product sales, the number of units sold:

Product Performance

  • your revenue on certain days:

Sales Performance

  • each transaction that occurs in your store (revenue, collected tax and shipping charges, numbers of units sold in a transaction) and the totals of these figures:

Transactions

You can quickly reach some report by clicking on a ready question in Insights section in the top right corner of your Google Analytics:
Insights
You can also gather necessary reports and quickly check them on a single page as well as get a daily/weekly/monthly report by email via a custom Dashboard in your Google Analytics account.

Understanding reports

All Ecwid product pages are dynamic and generated on the fly. A page isn't refreshed when you browse the store, Ecwid updates the HTML code on the page without reloading it. This way new pages load very fast, but to get the exact number of views of your dynamic store pages, Ecwid uses Google Analytics API - it emulates page loads so that clicks through the pages can be tracked. That is why it's necessary to set up Google Analytics in your Ecwid control panel to get the exact stats about the store, even if you’ve already added GA to your site itself.

Since Ecwid emulates page loading, the "virtual" pages appear in reports in your Google Analytics account. That is why Ecwid pages and links don't redirect to actual pages if you click on them in Google Analytics. But each "virtual" page corresponds to the respective real page in your store. Below you will find the list of virtual pages generated by Ecwid:

Virtual page in Google Analytics Corresponding page in your Ecwid store
"/product/" + productId Product page. ProductId is a unique ID of an opened product
"/category/" + categoryId Category page. CategoryId is a unique ID of an opened category
"/search/" + keywords Search page in your store
"/bag" Shopping cart page
"/checkout/address" Shipping & Delivery step of checkout
“/checkout/delivery” Shipping/Pickup Method step of checkout
"/checkout/paymentDetails" Payment Information step of checkout
"/checkout/orderPlaced" Order Confirmation page. A buyer sees it after a successful order.
"/checkout/orderFailure" Indicates an issue with order placement
"/account/settings" Settings section in customer account
"/account/orders" Orders section in customer account
"/downloadError/" Failed attempt to download a file

Here you can see an example of how a product’s virtual page looks like in Google Analytics reports:

Virtual page in GA

And here is the actual URL or that product page in Ecwid storefront:

Product page

As you can see from the above images, both the URL of the actual product page and its virtual analog in Google Analytics have the same product ID. Check your storefront or export the products to see what ID belongs to what product.

In some reports, you can switch from Page to Page Title to see your product names instead of virtual pages (e.g. in Behavior → Site Content → All Pages):
Page Title

Tracking conversions

You can track conversions by setting up a goal in your Google Analytics account. Thus you will know how many visitors visit your store, how many of them complete the purchase and at what pages the rest of them leaves your store without buying. With this information at hand, you see what pages you should optimize to increase the conversion rate.

Here is how you can create a Converted goal for your store:

  1. Go to your Google Analytics account.
  2. Click Admin in the bottom left corner.
  3. Click Goals under View column:

Goals

  1. Click +New Goal.
  2. In the Goal Setup that opens choose Custom:

Custom goal

  1. Click Continue.
  2. Enter intuitive Goal Name and choose the Destination as your goal type:

Destination

  1. Click Continue.
  2. In the Destination dropdown choose Regular Expression and paste /checkout/orderPlaced in the field next to it:

Regex

  1. Switch the toggle for Funnel to ON and add the steps of your goal funnel using the virtual pages from the table:

Goal Funnel steps

  1. Click Save and wait a few hours for the data to start appearing there (it can take up to 24 hours).

Now you can track conversions in Google Analytics account (Conversions → Goals → Funnel Visualization and Conversions → Goals → Goal Flow sections) to see how customers interact with your store, at what pages they leave it and what is the percentage of those who successfully reached the Converted goal.

Checking customers’ search terms

You can find out what terms your customers typed into the search field within your store when looking for necessary products:

  1. Go to Google Analytics → Behavior → Site Content → All Pages.
  2. Enter /search in the search field.

The results will contain keywords your customers used after the /search part. Example:

search terms

You can also analyze the search behavior of your customers with the help of the Cloud Search app.

Related articles

Basic reports and sales stats
Analytics and reporting apps from Ecwid app market
How to set up daily reports in Google Analytics (blog)
The Beginner’s Guide to Google Analytics for Ecommerce stores (blog)
Facebook & Google Retargeting: How to turn your visitors into customers (blog)

Back to top
Has the article answered your question?

Awesome! Thanks for your feedback!

Please send us that question. We will be happy to help by email.

Send a message