Skip to main content
Skip table of contents

Including Google Analytics in Aphix WebShop

Purpose and scope

Do you want to understand your customer's behavior as they navigate your WebShop? Do you need to figure out what products are top-sellers? Do you want to improve your search engine optimizations? Integrating Google Analytics with WebShop is a good starting point. Google Analytics allows you to monitor website traffic on your website and/or app.

The purpose of this feature guide is to explain how Google Analytics integrates with Aphix WebShop, what events trigger data capture, what events trigger are supported by Universal Analytics and Google Analytics 4 and how to set each up in Aphix Management Interface.

Key points

  • This feature guide does not explain how to analyse the data captured by Google Analytics on WebShop; use your Google Analytics dashboard to review reports on data captured.

  • You can integrate WebShop with either Universal Analytics or Google Analytics 4, but not both.

Benefits

Key benefits of integrating Google Analytics in Aphix WebShop are that you can:

  • Record key metrics of how your customers interact with WebShop, such as page views, bounce rate, conversion rate and purchase rate

  • Gain detailed insights into your customer's behaviour across WebShop

  • Make informed decisions about how to improve customer satisfaction

  • Improve SEO based on data captured

Introducing terms and concepts used in this article

Term

Definition

Google Analytics 4 (GA4)

captures data from different points on your website and app. The data captured is triggered by events (such as View Product or Checkout) which allows you to understand your customer's experience better and make informed decisions in order to improve business efficiency and sales.

Measurement ID

string uniquely identifying a Google Analytics 4 property, it has the format G-XXXXXXX. The Measurement ID encodes what reports and data are captured for your website and/or app.

Product code / SKU

the unique code for the product.

Search engine optimisation (SEO)

(SEO), a method of attracting more organic traffic to your website (in this case, WebShop) by making it appear higher on search engine results pages.

Tracking ID

string uniquely identifying an Universal Analytics property, it has the format UA-XXXXXX-XX. The Tracking ID encodes both your Google account number and an ID that links to what reports and data are captured for your website.

Universal Analytics

also known as Google Analytics, it captures data from different points on your website. The data captured allows you to understand your customer's experience better and make informed decisions in order to improve business efficiency and sales. It can be set up with either the standard or enhanced e-commerce attributes set. Using Universal Analytics with enhanced e-commerce set allows you to automatically collect more page views from different points on your website

How it fits together

Imagine your customer has arrived for the first time on your WebShop home page. You are interested in finding out how they navigate through your WebShop, how many products they view and eventually buy. You are keen to understand why customers leave your WebShop without purchasing anything.

Having these key insights allows you to modify your selling strategy or product portfolio in order to make more sales. When you've integrated Google Analytics with WebShop, you can capture these insights and more. 

Once you have set up GA4 to measure ecommerce events1, your customer's actions triggers these events, which allows you to capture key data. The table lists what events are supported when you have integrated WebShop with GA4, how each event is triggered and what data is captured.

Event

Trigger

Data captured

Search

When you customer enters a search term in the search bar

  • Search term

View item list

When your customer views a product category list or a search query list

  • Category ID

  • Category name

  • List of items

For each item:

  • Product code / SKU

  • Product name

  • Maximum of 5 category names

Product view

When your customer views a product

  • Product code / SKU

  • Product name

Add product

When your customer adds a product to their Cart

  • Product code / SKU

  • Product name

  • Quantity

  • Currency1

View Cart

When your customer views their Cart

  • Currency1

  • Total value

  • List of items

For each item:

  • Product code / SKU

  • Product name

  • Price

  • Quantity

Remove product

When your customer removes a product from their Cart or when the Cart is cleared

  • Currency1

  • Total value

  • List of items

For each item:

  • Product code / SKU

  • Product name

  • Price

  • Quantity

Begin checkout

When your customer moves from Checkout to the delivery details page

  • Step

  • Currency1

  • Cart value

  • Items - the following data is captured for each product

    • Product code / SKU

    • Product name

    • Currency1

    • Price

    • Quantity

Add shipping details

When moving from the delivery details page to the payment confirmation page

Add payment confirmation

When your customer has selected a payment method and are adding their payment details

Purchase

When the payment has been successful and your customer has been directed to the Success page

  • Currency

  • Transaction ID

  • Order value

  • Shipping charge

  • Tax

  • Items -  the following data is captured for each product

    • Product code / SKU

    • Product name

    • Currency1

    • Price

    • Quantity

  1. For currency, ISO-4217 standard codes are used.

Once you've captured this data, you can use these insights to help you make informed business decisions about how to improve customer engagement and increase sales.

Step by step

All versions of Google Analytics are set up in Aphix Management Interface.

Step 1: Log into Management Interface

Log in

Log into Management Interface using your username and password. This opens the dashboard of your Management Interface.

Step 2: Open Settings

Open

Click Settings. This opens the configuration area of Aphix Management Interface.

Actions available

Action 1: Set up Google Analytics 4

Read How do I configure and manage Google Analytics? to find out how to set up Google Analytics 4.

Action 2: Move from Universal Analytics to Google Analytics

Read How do I configure and manage Google Analytics? to find out how to set up Google Analytics 4.

Action 3: Set up Universal Analytics 

Set up

Note that from July 1, 2023, Google have shared that standard Universal Analytics properties will stop processing new data.

We recommend that you set up or move to Google Analytics 4 as soon as practicable.

Assumption

You have a Universal Analytics Tracking ID. Read the guide here* to set up an Universal Analytics Tracking ID.

* This links to an external site. Aphix has no control over its contents.

Enter the Universal Analytics Tracking ID into the Google Analytics Code field.

References

1 External site: Google Analytics Guide: Measure ecommerce

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.