> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/integrations/shopify-to-google-analytics/littledata-shopify-install-guide.md).

# Littledata to Google Analytics installation guide

This guide shows you how to connect your Shopify store to the Google Analytics 4 (GA4) destination in the Littledata app. It takes about 5 minutes.

### Before you start

* You have the Littledata app installed on your Shopify store, with Shopify connected as a source.
* You can sign in to a Google account with at least **Editor** access to the GA4 property you want to use.
* That GA4 property has a web data stream. If it doesn't, [create a data stream in GA4](https://help.littledata.io/integrations/shopify-to-google-analytics/create-a-data-stream-in-ga4) first.
* You can turn off other Google Analytics tracking on your store (for example Shopify's Google & YouTube sales channel or another tracking app).

### Connect Google Analytics 4

{% stepper %}
{% step %}

#### Add the destination

Open the Littledata app and click **Add destination**. The **Destinations** page opens.
{% endstep %}

{% step %}

#### Choose Google Analytics 4

Under **Available in your plan**, find **Google Analytics 4** and click **Connect**. The setup opens on the **Connect your store to Google Analytics** screen.
{% endstep %}

{% step %}

#### Read the overview

Read the short overview, then click **Continue**.
{% endstep %}

{% step %}

#### Choose your tracking preferences

On **Set up your tracking**, pick one option and click **Continue**:

* **Use best practices** (recommended): uses the Shopify order name as the order identifier, the Shopify variant ID as the product identifier, and tracks all events. You can change this later.
* **Customize your tracking**: lets you choose identifiers and events yourself. Go to the next step.

If you picked **Use best practices**, skip to **Connect your Google account**.
{% endstep %}

{% step %}

#### Customize your tracking (optional)

On the **Order & product identifiers** screen, choose an **Order Identifier** and a **Product Identifier**, then click **Continue**.

On the **Tracked events** screen, untick any events you don't want sent to GA4, then click **Continue**. We recommend tracking all events.
{% endstep %}

{% step %}

#### Connect your Google account

On **Connect your Google account**, click **Connect**. Google's sign-in page opens in a new tab. Choose the Google account that can access your GA4 property.

On the permissions screen, if Google shows checkboxes, tick all of them (or **Select all**) so Littledata can see and edit your Google Analytics data. If you leave the Google Analytics ones unticked, Littledata can't list your properties. Then click **Continue** and go back to the Littledata app tab.

You'll see **Choose your property** and your Google email address in place of **No account connected**.
{% endstep %}

{% step %}

#### Choose your property

Under **Connect your Google Analytics property**, open the **Choose your property** list and pick the property that should receive your data. Click **Continue**.

If you don't see your property, click **Refresh properties**. If you signed in with the wrong Google account, click **Change account**.
{% endstep %}

{% step %}

#### Disconnect GA4 in Shopify's Google & YouTube channel

On **Disable other tracking apps**, you need to remove any other tracking that sends store data to GA4, so you don't count events twice. Start with Shopify's Google & YouTube sales channel, if you use it.

Click the **Google Sales Channel** link on the screen. It opens **Google & YouTube** in your Shopify admin (you'll also find it under **Sales channels** in the left menu).

Scroll to the card titled **Your Google Analytics property**, which shows your G- measurement ID, and click **Disconnect** on that card.

Don't click the **Disconnect** next to your Google account email, just above it. That one unlinks your whole Google account from Shopify, including Merchant Center, product listings and Google Ads.
{% endstep %}

{% step %}

#### Remove manually added Google tags

Still in **Google & YouTube**, open its **Settings** page. In the **Google tags** section, click **Manage**. If a G- tag for your GA4 property is listed under manually added tags, delete it, click **Save**, then **Complete setup**.

Tags listed as installed from your connected services can't be removed here. Disconnecting the property in the previous step takes care of those.
{% endstep %}

{% step %}

#### Turn off any other GA4 tracking

* **Custom pixel:** if you added GA4 or Google Tag Manager as a custom pixel, go to **Settings** > **Customer events** in Shopify admin, open the **Custom pixels** tab and click **Disconnect** on that pixel.
* **Theme code:** remove any `gtag` or Google Tag Manager snippet you pasted into your theme.
* **Another tracking app:** uninstall it, or turn off its Google Analytics tracking (see that app's docs).
  {% endstep %}

{% step %}

#### Confirm and continue

Back in the Littledata app, tick **I have disabled other tracking apps** and click **Continue**.
{% endstep %}

{% step %}

#### Wait for tracking to install

You'll see **Adding tracking** while Littledata adds its tracking scripts and webhooks to your store. This moves on by itself. When it's done, you'll see **You're connected! Here's where to go next.**

{% hint style="warning" %}
Since mid-2026, the Google & YouTube channel also sends purchases to GA4 from Shopify's servers. Removing tags from your theme isn't enough: disconnect the property in the channel, or purchases will be counted twice.
{% endhint %}

{% hint style="info" %}
If a property can't be selected because it has no data stream, create a web data stream for it in GA4, then click **Refresh properties**.
{% endhint %}
{% endstep %}
{% endstepper %}

### Check that it works

{% stepper %}
{% step %}

#### Check the Littledata app

Open the Littledata app home page. The **Google Analytics 4** card shows **Connected**.
{% endstep %}

{% step %}

#### Check GA4

Visit your store in a new browser window and view a product. In GA4, click **Reports** in the left menu, then **Realtime overview**. Within a few minutes you'll see your visit and events like `page_view` and `view_item` in **Event count by Event name**.
{% endstep %}
{% endstepper %}

### Related articles

* [How it works: Shopify to Google Analytics](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4)
* [Create a data stream in GA4](https://help.littledata.io/integrations/shopify-to-google-analytics/create-a-data-stream-in-ga4)
* [How to fix duplicate tracking in GA4](https://help.littledata.io/integrations/shopify-to-google-analytics/fix-duplicate-tracking-ga4)
* [FAQ: Shopify to Google Analytics](https://help.littledata.io/integrations/shopify-to-google-analytics/faq-shopify-to-google-analytics)
