You can get more information about how merchants are finding your app listing in the Shopify App Store by tracking your listing traffic with Google Analytics or Facebook Pixel. [Optimize your listing](/docs/apps/launch/marketing#improving-your-app-listing) for both merchants and the Shopify App Store search engine, by gaining a better understanding of how merchants currently discover your app.
> Note
> Both [full and limited visibilty](/docs/apps/launch/distribution/visibility) apps can add Google Analytics or Facebook Pixel tracking, but limited visible apps won't show up in Shopify App Store search results or category pages.
## Set up Google Analytics for your app listing
1. Log in to your [Partner Dashboard](https://partners.shopify.com/organizations).
2. Click **Apps**.
3. Click the name of your app.
4. Click **Distribution**.
5. Click **Create listing** or **Manage listing**, and then click the listing that you want to edit.
6. In the **Tracking information** section, next to **Google analytics code (optional)**, enter your GA4 measurement ID.
7. Click **Save**.
### Migrating from Universal Analytics to Google Analytics 4
Google Universal Analytics is being sunset in July 2023. If you previously used Universal Analytics for your app listing and you want to migrate to Google Analytics 4, then follow the [process to set up Google Analytics](#set-up-google-analytics-for-your-app-listing), but replace your UA tracking ID with your new GA4 tracking ID.
Depending on how you use Universal Analytics, you might need to perform the following additional steps:
- If you use Universal Analytics audiences, then you need to [migrate audiences to GA4](https://support.google.com/analytics/answer/11184423).
- If you use Universal Analytics to track Google Ad conversions on your app listing, then you need to [migrate conversion tracking to GA4](https://support.google.com/analytics/answer/11184423).
### Full-funnel app install attributions
To provide full details of the app installation funnel, the Shopify App Store uses [Google Analytics 4's Measurement Protocol](https://developers.google.com/analytics/devguides/collection/protocol/ga4) for server-side events (like app installation). To receive these events, an app listing must be on Google Analytics 4 and have entered an API secret generated in the Google Analytics UI.
The following events are sent to Google Analytics and display in the Real-time view. However, event parameters might take up to 24 hours to propagate and need to be added as an [Event-scoped Custom Dimension](https://support.google.com/analytics/answer/10075209?hl=en#zippy=%2Ccreate-an-event-scoped-custom-dimension%2Ccreate-a-custom-metric%2Canalyze-an-event-scoped-custom-dimension).
Parameter |
Description |
Possible values |
locale |
The language that the merchant has selected in the Shopify App Store. |
zh-CN : Chinese (Simplified)
zh-TW : Chinese (Traditional)
cs : Czech
da : Danish
nl : Dutch
fi : Finnish
fr : French
de : German
hi : Hindi
it : Italian
ja : Japanese
ko : Korean
nb : Norwegian (Bokmal) 193
pl : Polish
pt-PT : Portuguese
pt-BR : Portuguese (Brazilian)
es : Spanish
sv : Swedish
th : Thai
tr : Turkish
|
surface_type |
The type of page the merchant came from to get to your app listing. |
home : The home page of the Shopify App Store.
search : The organic search result on the Shopify App Store.
search_ad : The paid search result on the Shopify App Store.
category : One of the category pages on the Shopify App Store.
collection : One of the collection pages on the Shopify App Store.
story : One of the story pages on the Shopify App Store.
partners : One of the partner pages on the Shopify App Store.
app_details : One of the app listing pages on the Shopify App Store.
app_group : One of the app extension pages on the Shopify App Store.
|
surface_detail |
Details about the page that the merchant came from. |
- For
home , this is the descriptive handle of the section of the home page where the merchant found your app.
- For
search , this is the merchant's search query.
- For
category , this includes the titles of the category and the subcategories, joined by a hyphen.
- For
collection , this is the title of the collection where the merchant found your app.
- For
story , this is the descriptive handle of the section of the story page where the merchant found your app.
- For
app-details , this is the unique handle of the app listing page where the merchant found your app.
|
surface_inter_position |
The section on the page where the merchant found your app. |
- For
home , this is the section of the Shopify App Store home page where the merchant found your app. The sections are numbered from the top, starting with 1.
- For
search , this is the page of search results where the merchant found your app.
- For
category , this is the page of category results where the merchant found your app.
- For
collection , this is the page of collection results where the merchant found your app.
- For
story , this is the section of the story page where the merchant found your app. The sections are numbered from the top, starting with 1.
- For
app-details , this is the section of the app listing page where the merchant found your app. The sections are numbered from the top, starting with 1.
|
surface_intra_position |
The position within the section of the page where the merchant found your app. The positions are numbered left to right, top to bottom, starting with 1. |
- For
home , this is the position of your app within the section.
- For
search , this is the position of your app on the results page.
- For
category , this is the position of your app on the category page.
- For
collection , this is the position of your app on the collection page.
- For
story , this is the position of your app within the section.
- For
partners , this is the position of your app on the partner page.
- For
app-details , this is the position of your app within the section.
|