Google Analytics 4 (GA4) Setup

A guide to connect Google Analytics 4 (GA4) to your Storeganise Customer portal

Important Note: Conflict between Google Tag and GA ID Setup

It is possible to have both a GTM ID (Google Tag Manager) and a GA ID (Google Analytics 4) set in your developer settings within Storeganise.

However, it's important to make sure that GTM tags do not have an active Google Tag, as the same job is already handled by gtag injected whenever GA ID is set. If the Google Tag is active, it may lead to potential clashes, causing unexpected issues in data collection, missing events for example.

This doesn't concern other tags like Google Analytics GA4 Event tags, these won't conflict with GA ID, and are useful for your Google Analytics reports.

Please note that while our system is compatible with GA4 integration, we do not offer specific configuration assistance as it is not a part of our standard offerings.

Contents


Resources

You need to have Google Analytics installed and configured before you can connect them to Storeganise Customer Portal. If you don't have GA4 installed, please read the following articles by Google or consult with your web development team.


Overview

Storeganise allows you to connect Google Analytics 4 (GA4) directly in your management portal setting.


Log in to your Storeganise account. Click on your name in the top right corner and select Main Settings.


Open Developer tab in the left menu and scroll down to Customer Portal Integrations where you will see an option to add a Google Analytics ID. Paste your Google Analytics 4 Measurement ID here and click Save.

How to get your Measurement ID?


Create a Google Analytics 4 property and Data Stream

First you have to upgrade your existing GA property to GA4 or create a new GA4 property. To create a new GA4 property go to the Admin section of your Google Analytics account by clicking Admin in the bottom left corner and then click Create Property in the Property section.

Enter the name of your property. This is usually set to the name of your company, website, brand etc. You have to set a few things here like country, reporting time zone and the main currency.

After answering a few questions, click Create and your new property will be ready. Next, we need to configure your first data stream.


Configure your data stream

Data stream is a data source from which events are sent to your GA4 property.

Under Data Streams click Add stream and choose to create a new Web data stream.

Enter the URL of your website (for example spaceup.storeganise.com). After that, enter the name of your stream so you will be able to locate it in your Google Analytics interface.

Google Analytics 4 data streams allow you to enable/disable Enhanced Measurement options. This option is designed to help marketers get as many events in the reports as possible without the need to work with developers or configure them in Google Tag Manager. You will be able to see a lot of events from the start.

You can now click on the Create stream button to create your data stream.


After creating your Data stream, you will be able to get your Measurement ID. If you don’t see this window after creating your stream, simply go to Admin, click on Data Streams and then click on your newly created Data stream.`

Copy the Measurement ID and paste it in the Google Analytics ID in the Developer tab of your Settings.


GA4 events

Your GA4 should now be installed and the data should start flowing.


Notice: It can take up to 48 hours for your events to start showing in Google Analytics reports.


After GA4 has been installed, you will be able to track default events like clicks, page views, for submit, and also custom events that are sent from the customer portal source code, which are GA4 ecommerce events:

  • sign_up (method - relevant for google signin)
  • login (method)
  • select_item (currency, items: [{ item_id, item_name, price, quantity }]) Sent at every list selection step (products, unit types, ..)
  • begin_checkout (currency, value, items: [{ item_id, item_name, price, quantity }] ) Sent when a customer completes the user account step in the order flow
  • purchase (currency, transaction_id, value, items: [{ item_id, item_name, price, quantity }] ), Sent when an order is submitted
  • select_promotion (promotion_name) Sent when a customer adds a promo code
  • add_payment_info (paymeny_type) Sent when a customer adds their payment details in Stripe and other payment gateways
List of events from GA4


Adding custom events

With GA4 connected, you are now already able to monitor your website traffic and user behavior. But you can add additional custom event to create funnels and track specific events on your Storeganise Customer Portal.

To create a new custom event, log in to GA, choose your GA4 property and click on Configure in the left navigation menu. Now click on the Create event button.

A window will appear where you can set up your custom event. Enter the name of your event, that will be displayed in reports.

After that, you can choose from a library of parameters to create an event that you need.

For example, let’s look at how to set up an event that will track a visit to a specific page on your Customer Portal and assign value to it. This can be used to track interest in a specific unit or added to a thank you page that appears when your customers successfully book a unit.

For the condition parameter, choose page_location. Copy and paste a unique part of the URL of the website you want to track and choose that parameter should contain that value. In our case, we entered a URL of a 5x5 unit in the Central warehouse.

If you want, you can assign a value to that event. 

Click on the Add modification button and first set a currency. Click the Add modification button again and add a value.

After that, save the event.

Notice: It can take up to 48 hours for your events to start showing in Google Analytics reports.


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us