Comment on page
Configuring Google Analytics 4
⚡ 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 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.
Google Analytics UI for adding a new GA4 property
Then, name your GA4 property.
Google Analytics UI for naming your new GA4 property
Once your GA4 property is created, you’ll want to choose “Web” as your platform for collecting data, as described below.
Google Analytics UI for adding a new "data stream" for Fueled events
Enter the URL of your Shopify storefront. (If your site is accessed with “www” in the website URL, make sure you included that.)
Second step in setting up a new data stream
Once you’ve created your GA4 Property, you’ll want to create a Measurement Protocol API Secret, clicking on the configuration section highlighted below.
Google Analytics UI for creating a Measurement Protocol API secret
GA4 UI for creating a new secret
Copy the Secret Key, as described below, as well as your Measurement ID. You will need these two values when configuring our Shopify App.
Copy/paste your Google Analytics 4 Measurement Protocol Secret into your Fueled settings.
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.
Enable Google Signals to collect demographic data on your shoppes with Google Analytics 4.
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
Go to the "Custom definitions" section in your GA4 property configuration to set up a custom dimension for order source.
Here, you'll want to click "Create Custom Dimension" to set up the following:
Add the custom dimension by clicking "Create Custom Dimension."
- 1.You'll want ot set the Dimension name to
- 2.You'll want to provide a Description that you will remember.
- 3.You'll want to choose the Event paramenter:
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 complete your setup, you should see client-side and server-side events flowing into GA4's real-time reports.
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.