# Tracking

**Google Search Console** (Google Webmaster tool) helps you monitor your site’s presence in search results by understanding how Google views your store, **Google Analytics** helps you track and evaluate the productivity of your website activities.

Google Analytics 4 is a new kind of [property](https://support.google.com/analytics/answer/9355666) designed for the future of measurement:&#x20;

* Collects both website and app data to better understand the customer journey
* Uses event-based data instead of session-based
* Includes privacy controls such as cookieless measurement, and behavioral and conversion modeling
* Predictive capabilities offer guidance without complex models
* Direct integrations to media platforms help drive actions on your website or app

With the SearchPie guideline, you can easily integrate GA4 into your store with some simple steps below:&#x20;

**Step 1: Create your Google Analytics 4 property.**&#x20;

{% embed url="<https://youtu.be/7YtvdhLOoUE>" %}

After you have your property and create a web data stream, you should make a note of the **Tag ID** because you'll use it in Step 2.

**Step 2: Add Google Analytics 4**

1. From your Shopify admin, go to **Online store** > [**Preferences**](https://admin.shopify.com/online_store/preferences).
2. In the **Google Analytics** section, click **Manage Pixel here**.
3. Click **Connect your Google account**.
4. Select the **Tag ID** for the GA4 property that you want to connect to your Shopify store.
5. Click **Connect your Google Analytics 4 property**.

After you set up Google Analytics 4 tags, certain ecommerce events are tracked automatically. To learn more about event tracking in Google Analytics 4, refer to [Setting up Google Analytics events](https://help.shopify.com/en/manual/reports-and-analytics/google-analytics/tracking-ecommerce-events-using-analytics).


---

# 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://docs.searchpie.io/app-features/google-authority/google-search-console-and-google-analytics.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.
