Track your listing traffic
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 for both merchants and the Shopify App Store search engine, by gaining a better understanding of how merchants currently discover your app.
Set up Google Analytics for your app listing
Anchor link to section titled "Set up Google Analytics for your app listing"- Log in to your Partner Dashboard.
- Click Apps.
- Click the name of your app.
- Click Distribution.
- Click Create listing or Manage listing, and then click the listing that you want to edit.
- In the Tracking information section, next to Google analytics code (optional), enter your GA4 measurement ID.
- Click Save.
Migrating from Universal Analytics to Google Analytics 4
Anchor link to section titled "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, 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.
- If you use Universal Analytics to track Google Ad conversions on your app listing, then you need to migrate conversion tracking to GA4.
Full-funnel app install attributions
Anchor link to section titled "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 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.
Event name | Parameters | Description |
---|---|---|
shopify_app_install |
|
Sent when a merchant finishes installing an app. |
shopify_app_ad_click |
|
Sent when a merchant visits an app listing from a Shopify App Store ad click. |
To generate an API secret:
- Log into your Google Analytics.
- Click on the Admin icon in the bottom left corner.
- Click on Data Streams under Property settings.
- Select the measurement stream which corresponds to the Measurement ID which you have added to your app listing.
- Click on Measurement Protocol API secrets and click Create to generate a new API Secret.
To add the API secret to your app listing:
- Log in to your Partner Dashboard.
- Click Apps.
- Click the name of your app.
- Click Distribution.
- Click Create listing or Manage listing, and then click the listing that you want to edit.
- In the Tracking information section, next to Google analytics code (optional), ensure you have upgraded to Google Analyitics 4.
- Enter your API Secret.
- Click Save.
Google e-commerce events
Anchor link to section titled "Google e-commerce events"To enhance tracking for e-commerce related interactions, the following events have been implemented:
Event name | Parameters | Description |
---|---|---|
view_item |
|
Sent when a merchant views an app's details page |
add_to_cart |
|
Sent when a merchant clicks the Install button |
Other events
Anchor link to section titled "Other events"You might want to track the following additional Shopify-specific events in Google Analytics. These events are triggered client-side from the Shopify App Store.
Event name | Parameters | Description |
---|---|---|
Add App button |
|
Sent when a app user clicks Install on an App Listing page. |
Open app button |
|
Sent when a app user clicks Open on an App Listing page. |
Set up Facebook Pixel for your app listing
Anchor link to section titled "Set up Facebook Pixel for your app listing"- Log in to your Partner Dashboard.
- Click Apps.
- Click the name of your app.
- Click Distribution.
- Click Create listing or Manage listing, and then click the listing that you want to edit.
- In the E. Tracking section, next to 3. Facebook Pixel (optional), enter your Facebook Pixel tracking ID.
- Click Save.
URL parameters
Anchor link to section titled "URL parameters"After you've set up Google Analytics or Facebook Pixel for your app listing, Shopify passes additional URL parameters when a merchant visits your app listing from the Shopify App Store. You can see parameters such as the following in your Google Analytics or Facebook Pixel dashboard:
These are noteworthy parameters which can appear in the URL and their meaning:
Parameter | Description | Possible values |
---|---|---|
locale | The language that the merchant has selected in the Shopify App Store. |
|
surface_type | The type of page the merchant came from to get to your app listing. |
|
surface_detail | Details about the page that the merchant came from. |
|
surface_inter_position | The section on the page where the merchant found your app. |
|
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. |
|