# Configuring Google Analytics 4 for BigCommerce

> ⚡ Getting started with Google Analytics 4 is quick and easy.

Before Fueled’s free [Google Analytics 4 Connector App for BigCommerce](https://www.bigcommerce.com/apps/google-analytics-4-attribution-suite/) 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: .

## Creating a New GA4 Property <a href="#block-42c2a643cf9f4147a5130002ec2ebc99" id="block-42c2a643cf9f4147a5130002ec2ebc99"></a>

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.

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/d2ddfc80-9be7-4d26-8cc2-b07c309a4924/Image_2022-09-08_at_5.50.32_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

Then, name your GA4 property.

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/3e954fe7-f059-4cb4-9e5b-acd8f64f42f8/Image_2022-09-08_at_5.53.33_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

Once your GA4 property is created, you’ll want to choose “Web” as your platform for collecting data, as described below.

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/dc789746-b85b-476c-ad46-29dbb49b22db/Image_2022-09-08_at_5.54.34_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

Enter the URL of your BigCommerce storefront. (If your site is accessed with “www” in the website URL, make sure you included that.)

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/b7598c35-642a-4cb3-93eb-4b86da9d1c33/Image_2022-09-08_at_5.56.36_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

## Getting Your GA4 API Credentials <a href="#block-7f5d9c4132d14a93be489a89cd9d9909" id="block-7f5d9c4132d14a93be489a89cd9d9909"></a>

Once you’ve created your GA4 Property, you’ll want to create a Measurement Protocol API Secret, clicking on the configuration section highlighted below.

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/e64b5ac6-0c6f-4c51-99cf-ef441388c45b/Image_2022-09-08_at_5.57.48_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

Click “Create.”

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/367ff0fd-37a5-4f11-8a15-4b1c1c19db34/Image_2022-09-08_at_6.00.03_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

Copy the Secret Key, as described below, as well as your Measurement ID. You will need these two values when configuring our BigCommerce App.

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/36dfa2cf-ffda-4d7c-8d8c-c1ec20434944/Image_2022-09-08_at_6.00.49_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

## Enabling Google Signals <a href="#block-5e6246e289334c1aa362bea1db2ce3b5" id="block-5e6246e289334c1aa362bea1db2ce3b5"></a>

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.

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/1ea03173-0733-4851-b561-3a4fc3703dd0/Image_2022-09-08_at_6.02.33_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>

## Confirming Your Setup <a href="#block-9654506cc84c4470a770b85d16c91708" id="block-9654506cc84c4470a770b85d16c91708"></a>

Once you’ve set up Google Analytics 4 and [you’ve configured Fueled](/apps/bigcommerce-marketplace-app/google-analytics-4-connector/configuring-fueleds-bigcommerce-app.md) to push event data into your GA4 property, you should soon see events flowing in GA4’s “Realtime Reports,” as described below.<br>

<figure><img src="https://images.spr.so/cdn-cgi/imagedelivery/j42No7y-dcokJuNgXeA0ig/2eddf932-7310-4e75-b50c-d62592cd2cf3/Image_2022-09-08_at_6.05.48_PM/w=3840,quality=80" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.fueled.io/apps/bigcommerce-marketplace-app/google-analytics-4-connector/configuring-google-analytics-4-for-bigcommerce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
