Google Analytics 4 (GA4) Setup & Overview

Google Analytics 4 (GA4) Setup & Overview

Overview:

This is the new standard for Google tracking as you may already know. You will need to create a new GA4 property and provide the data stream measurement id e.g. G-xxxxxxxx . Ideally we will also need to be given access to this account so we can double check the tracking initially and setup the tracking for the Search results.

Please give access to retailsportssystems.co.uk@gmail.com unless it already has access.

You will find numerous guides online on how to create the GA4 property and give access, bearing in mind GA4 is still a work in progress so things, menus etc. can still change.

Feature availability:

  • v2.2.2

  • Any shop site

How to use:

1. Data Stream - measurement ID

A. Go into the clubs Google Analytics account





Once this has been provided it needs to be added into the back office and Google Tag Manager.

Search results tracking

While we're here in the Analytics we can also go through this bit of the setup.

From the same screen mentioned above where you can see the measurement ID look in the Events section, > Enhanced measurement > Measuring > click on the settings / cog icon (Configure enhanced measurement)



In the section that opens go against site search and click on show advanced settings and add the word “criteria” in the search term query parameter input > and then click Save at the top

B. Back office ID's setup

file maintenance > sys config > google > GA4 measurement ID.

Please do not skip adding the GA4 measurement ID into the back office otherwise it will not trigger any tracking.

You will also need to make sure there is a Google Tag Manager id as we will be carrying on the rest of the setup in Google Tag Manager



2. GA4 events and variables import

Navigate to the club's tag manager account and ensure the id at the top right matches what is setup in the back office and what is coming from your Google Analytics GA4 property



A. Process the import

From within Google Tag Manager click on the admin tab at the top and then on import container under the container dropdown.


In the window that opens:

  • browse for the import file

    • should be attached to this document, but if you don’t have one you can request the “GA4 Configuration Import file for GTM” via our Helpdesk (GTM GA4 Configuration.json)


  • select the default workspace

  • Choose the merge import option

    • Overwrite conflicting tags or Rename if that makes sense for you scenario

  • click the Confirm button at the bottom



B. Check the import

Tags, you should expect to see at least these:



[CHANGE ME] GA4 Configuration - [club name]

Google Analytics: GA4 Configuration

Initialization - All Pages

add_payment_info

Google Analytics: GA4 Event

add_payment_info

add_shipping_info

Google Analytics: GA4 Event

add_shipping_info

add_to_cart

Google Analytics: GA4 Event

add_to_cart

begin_checkout

Google Analytics: GA4 Event

begin_checkout

purchase

Google Analytics: GA4 Event

purchase

remove_from_cart

Google Analytics: GA4 Event

remove_from_cart

search

Google Analytics: GA4 Event

search

select_item

Google Analytics: GA4 Event

select_item

view_cart

Google Analytics: GA4 Event

view_cart

view_item

Google Analytics: GA4 Event

view_item

view_item_list

Google Analytics: GA4 Event

view_item_list

Triggers

add_payment_info

Custom Event

add_shipping_info

Custom Event

add_to_cart

Custom Event

begin_checkout

Custom Event

purchase

Custom Event

remove_from_cart

Custom Event

search

Custom Event

select_item

Custom Event

view_cart

Custom Event

view_item

Custom Event

view_item_list

Custom Event

Variables

Ecommerce Coupon

Data Layer Variable

Ecommerce Currency

Data Layer Variable

Ecommerce Item List ID

Data Layer Variable

Ecommerce Item List Name

Data Layer Variable

Ecommerce Items

Data Layer Variable

Ecommerce Payment Type

Data Layer Variable

Ecommerce Search Term

Data Layer Variable

Ecommerce Shipping

Data Layer Variable

Ecommerce Shipping Tier

Data Layer Variable

Ecommerce Tax

Data Layer Variable

Ecommerce Transaction ID

Data Layer Variable

Ecommerce Value

Data Layer Variable

C. Amend the GA4 Configuration Tag

As per the import the GA4 Configuration Tag will be setup as a dummy one.

In order to link GA4 to this Tag Manager property you need to go into tags from the sidebar and click on the tag responsible for the GA4 Configuration. It will likely look something like this, click on it:

[CHANGE ME] GA4 Configuration - [club name]


In the window that opens:

  • change the name to “GA4 Configuration - [club name]”

  • DO NOT SKIP this step - populate the measurement ID with the G-xxxxxxx id from your Analytics account (same as back office)

  • click the Save button



D. Amend the GA4 Measurement ID against each event

You will need to go through each GA4 Event and update the Measurement ID with the one belonging to your account.



3. Publish and check the tracking

A. Publish / Submit GTM Changes

In GTM click on the blue Submit button at the top right of the screen.

Give your version a name like “GA4 Configuration” and then you can double check further down the screen that you’re only submitting changes done by you as others may have made changes to your GTM previously if you have given access to 3rd parties to add other tracking / widget code which has not been published yet.

If you are all happy you can click on Publish.



B. Check the tracking

Next to the Submit button at the top there is a Preview button which you need to click.



Next up it will ask for the site URL.





This will open another tab for you with the website where you can navigate and this will show you the tracking events fired in the other tab.

Example for add to cart event:

  • click on the event

  • see if the event is also showing up under Tags Fired, if so you can click it to double check the data being passed

    • the event will only be picked up by Tag Manager and Analytics if it shows up in the Tags Fired section



Upon clicking on the event under Tags Fired you should see something like this



    • Related Articles

    • GA4 Tracking & Reporting Analytics General Customer Guidance

      Module overview The Google Analytics integration was rebuilt with the introduction of GA4. The logic follows the Google guidance and most of the “magic†happens within Google’s product, Google Tag Manager. Website Logic In simple terms we ...
    • Bulk Min/Max Setup

      **** Before adding Min/Max levels to stock, the branches which require the levels must have "Allow Store Replenishment" ticked within File Maintenance > Branch Maintenance. **** Picking Rules Explained Select one for one if you would like the system ...
    • Google Categories - Set Up

      How Do I Set Up Google Categories? Disclaimer of Warranty and Liability No representations or warranties, expressly or implicitly, of any kind are made by or with respect to anything contained within this document. For example, this document does not ...
    • How Do I Setup A Bundle?

      How Do I Create the Bundle This will be the product that will contain all of the bundle items. This needs to be a product on its own. Stock > Stock Amendment > Search for product > Apply to All Records > Scroll Down Active (needs to be ticked) ...
    • System Overview

      https://www.youtube.com/watch?v=H6Gtej1O8ic System Overview this video will give you an overview of the V2 menu system. which has the following categories Settings Stock Reporting Mail Order Customer EPOS Settings this area of the system is about ...