> 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/create-a-data-stream-in-ga4.md).

# Create a Data Stream in GA4

Google Analytics 4 allows you to add Data Streams to a Google Analytics property.

### Create a new Data Stream

Follow the steps below to create a new **web Data Stream** and get a Measurement ID.

1. In your Google Analytics account go to Admin > Data collection and modification > Data Streams\*\*,\*\* click **Add stream** and select **Web**: ![](/files/O2P9QhWvOr5wzHySojzI)
2. Enter your website's URL and your desired stream name. Then, click **Create stream.** ![](/files/uwhVPoAVQWIBGvLuIdvD)

{% hint style="success" %}
Turn on the Enhanced Measurement settings
{% endhint %}

3. You can click on the new **Data Stream** to see your Data Stream details: ![](/files/PfJIGkMbnMDM0oMOdDxz)
4. Click on the copy icon next to Measurement ID and paste this into Littledata's app to start tracking - all done!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://help.littledata.io/integrations/shopify-to-google-analytics/create-a-data-stream-in-ga4.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.
