Skip to main content

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.

Note

Both full and limited visibilty 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.


Anchor to Set up Google Analytics for your app listingSet up Google Analytics for your app listing

  1. Log in to your Partner Dashboard.
  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.

Anchor to Migrating from Universal Analytics to Google Analytics 4Migrating 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:

Anchor to Full-funnel app install attributionsFull-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.

Events sent to Google Analytics
Event nameParametersDescription
shopify_app_install
  • api_key
  • shop_id
  • shop_name
  • shop_url
Sent when a merchant finishes installing an app.
shopify_app_ad_click
  • api_key
  • surface_type
  • surface_detail
Sent when a merchant visits an app listing from a Shopify App Store ad click.

To generate an API secret:

  1. Log into your Google Analytics.
  2. Click on the Admin icon in the bottom left corner.
  3. Click on Data Streams under Property settings.
  4. Select the measurement stream which corresponds to the Measurement ID which you have added to your app listing.
  5. Click on Measurement Protocol API secrets and click Create to generate a new API Secret.

To add the API secret to your app listing:

  1. Log in to your Partner Dashboard.
  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), ensure you have upgraded to Google Analyitics 4.
  7. Enter your API Secret.
  8. Click Save.

Anchor to Google e-commerce eventsGoogle e-commerce events

To enhance tracking for e-commerce related interactions, the following events have been implemented:

E-commerce events sent to Google Analytics
Event nameParametersDescription
view_item
  • currency
  • value
  • items
  • item_id
  • item_name
  • price
  • quantity
Sent when a merchant views an app's details page
add_to_cart
  • currency
  • value
  • items
  • item_id
  • item_name
  • price
  • quantity
Sent when a merchant clicks the Install button

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 sent to Google Analytics
Event nameParametersDescription
Add App button
  • event_category: Always returns Shopify App Store.
  • event_label: The app's handle.
Sent when a app user clicks Install on an App Listing page.
Open app button
  • event_category: Always returns Shopify App Store.
  • event_label: The app's handle.
Sent when a app user clicks Open on an App Listing page.

Anchor to Set up Facebook Pixel for your app listingSet up Facebook Pixel for your app listing

  1. Log in to your Partner Dashboard.
  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 E. Tracking section, next to 3. Facebook Pixel (optional), enter your Facebook Pixel tracking ID.
  7. Click Save.

To enhance tracking for e-commerce related interactions, the following events have been implemented:

E-commerce events sent to Meta Pixel
Event nameParametersDescription
ViewContent
  • content_ids
  • content_name
  • currency
  • value
Sent when a merchant views an app's details page
AddToCart
  • content_ids
  • content_name
  • currency
  • value
Sent when a merchant clicks the Install button

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:

The additional parameters shown in the Google Analytics or Facebook Pixel dashboard

These are noteworthy parameters which can appear in the URL and their meaning:

ParameterDescriptionPossible values
localeThe 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)
  • pl: Polish
  • pt-PT: Portuguese
  • pt-BR: Portuguese (Brazilian)
  • es: Spanish
  • sv: Swedish
  • th: Thai
  • tr: Turkish
surface_typeThe 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_detailDetails 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_positionThe 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_positionThe 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.

Was this page helpful?