Configuring Google Analytics 4
Last updated
Last updated
⚡ Getting started with Google Analytics 4 is quick and easy.
Before Fueled’s free Google Analytics 4 Connector App for Shopify can be installed, you’ll either need to set up a new Google Analytics 4 property, or to get the Measurement ID and and an API key from an existing property.
If you already have a GA4 property, please skip to: Getting Your GA4 API Credentials.
If you don’t have a Google Analytics 4 property enabled, click on the “Admin” link in the bottom left-hand corner of the Google Analytics UI to view the settings of your Google Analytics account.
From there, you will want to create a new property, clicking the link displayed in the screenshot below.
Then, name your GA4 property.
Once your GA4 property is created, you’ll want to choose “Web” as your platform for collecting data, as described below.
Enter the URL of your Shopify storefront. (If your site is accessed with “www” in the website URL, make sure you included that.)
Once you’ve created your GA4 Property, you’ll want to create a Measurement Protocol API Secret, clicking on the configuration section highlighted below.
Click “Create.”
Copy the Secret Key, as described below, as well as your Measurement ID. You will need these two values when configuring our Shopify App.
While not required, we recommend that you enable Google Signals in your “Data Collection” settings, as described below. Google Signals will allow you to enrich your attribution reports in GA4 with demographic data about your shoppers. Google Signals also unlocks additional attribution models, including new models powered by machine learning.
With server-side tracking, Fueled tracks all purchase events into Google Analytics, including point-of-sale orders and recurring billing events. This provides accurate tracking, but it can create some confusion in standard Google Analytics reports, if you can't filter or group orders by their source.
To solve for this, we recommend that you set up a "Custom Dimension" in your GA4 property, so that you can differentiate these order sources.
To do so, visit:
Admin > Custom Definitions
Here, you'll want to click "Create Custom Dimension" to set up the following:
You'll want ot set the Dimension name to Affiliation
.
You'll want to provide a Description that you will remember.
You'll want to choose the Event paramenter: affiliation
.
After completing these steps, you'll want to wait 24-48 hours for this custom dimension to populate in your Google Analytics reports. Then, you can use it as a custom filter or grouping option in your conversion reports.
Note: This custom dimension will not apply retroactively to historical purchase events.
Once you’ve set up Google Analytics 4 and you’ve configured Fueled to push event data into your GA4 property, you should soon see events flowing in GA4’s “Realtime Reports,” as described below.
It's important to note that Google Analytics' primary reports experience a 24-48 hour "data lag." Please give those reports time to populate, as you will only see data immediately within GA4's real-time reporting tool.