Google Analytics 4 (GA4) Setup
A guide to connect Google Analytics 4 (GA4) to your Storeganise Customer portal
- Connect Google Tag Manager to your Storeganise account
- Create a Google Analytics 4 property and Data Stream
- Configure your data stream
- Installing GA4 via Google Tag Manager
- GA4 is now installed. Let’s check it in the DebugView
- Publish your changes in Google Tag Manager
- Adding custom events
- GA4 is now installed. Let’s check it in the DebugView
You need to have Google Analytics and Google Tag Manager installed and configured before you can connect them to Storeganise Customer Portal. If you don't have GA and GTM installed, please read the following articles by Google or consult with your web development team.
- support.google.com: Set up and install Tag Manager
- support.google.com: Get started with Analytics
- support.google.com: Introducing Google Analytics 4 (GA4)
- support.google.com: [GA4] Set up Analytics for a website and/or app
Storeganise allows you to connect Google Analytics 4 (GA4) via the use of Google Tag Manager to your Customer Portal. Once connected, you can use Google Analytics to see your basic website analytics as well as add custom events to track your bookings, move-ins and even assign the value to these custom events.
Follow these steps to connect GA4 to Storeganise.
In Google Tag Manager:
Log in to your Google Tag Manager and select the workspace you want to connect to Storeganise. You can find your GTM ID in the top menu. Copy it.
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 Tag Manager ID. Paste the ID you copied in the GTM workspace.
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.
Installing GA4 via Google Tag Manager
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, we will need it to set up the Google Tag Manager.
Now log in to your Google Tag Manager. Open the container, click on Tags in the left menu, click on the New button.
You will see 2 options, Tag Configuration and Triggering.
Click on the Tag Configuration to start creating a new Tag and choose to create a new Google Analytics: GA4 Configuration.
Paste the Measurement ID that you copied earlier to the Measurement ID field. You can leave all other settings as they are.
Now click on the Triggering section and choose All Pages. This will enable GA4 on all of your pages.
GA4 is now installed. Let’s check it in the DebugView
Your GA4 should now be installed and the data should start flowing. Let’s check if everything is set up correctly.
Click on the Preview button in your Google Tag Manager workspace and enter the URL of your website. A new window with your website will open.
Open your Google Analytics account. Click on the Configure in the left menu and choose DebugView.
After DebugView opens you should now start seeing the events that fired from your Preview window.
Another option is to install a Google Analytics Debugger Chrome extension and visit your website with it. You can download the extension here:
Publish your changes in Google Tag Manager
After you have made sure that the data is flowing correctly and is displayed in GA4, you can submit your changes in your GTM container and publish it.
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 24 hours for your events to start showing in Google Analytics reports.