# Google Analytics

Swish integrates with Google Analytics 4 and tracks the native [add to wishlist event](https://developers.google.com/analytics/devguides/collection/ga4/reference/events?sjid=489349706315954270-EU\&client_type=gtag#add_to_wishlist). This is only available in the latest version of the app and will track automatically, when GA4 is setup on your store.

If your store is still using Universal Analytics, this will not work. It is recommended by Shopify to [migrate to Google Analytics 4](https://help.shopify.com/en/manual/reports-and-analytics/google-analytics/migrating-to-google-analytics-4). They are sunsetting Universal Analytics on July, 2023.

### Opportunities

* Analyse your customers’ Wishlist engagement
* Improve your [ecommerce measurements](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag)
* Improve your [Google Ads remarketing](https://www.shopify.com/blog/6019860-how-to-use-google-remarketing-for-ecommerce)
* Improve your [Google Ads retargeting](https://www.shopify.com/blog/google-ads-retargeting)

### Wishlist purchase journey

This diagram shows how many products that were added to Wishlist have been purchased.

<figure><img src="/files/CY3Y9amIDe7Zpf6LpjDJ" alt=""><figcaption><p>Final result in Google Analytics</p></figcaption></figure>

#### Create new exploration

Open Google Analytics and follow these steps:

* Open the explore section
* Start a new funnel exploration
* Click the edit icon next to steps

#### Setup funnel steps

Setup the funnel steps as show in the screenshots below.

<div><figure><img src="/files/wPD0PlRJId4sxKzsjKuz" alt=""><figcaption><p>Funnel page 1/2</p></figcaption></figure> <figure><img src="/files/9iGgX7Q8kV6CpDeDZvLc" alt=""><figcaption><p>Funnel page 2/2</p></figcaption></figure></div>


---

# 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.swish.app/integrations/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.
