If you're an app developer with a listing in the Shopify app store, you're going to want to understand how well your app listing is performing. How are people arriving on your listing page? What's your bounce rate? What's your install rate? By adding Google Analytics to your app listing you can see all of this. You'll have the data to understand and optimize your app listing for more traffic and installs.
There are two steps to this. Add the tracking code to your app listing, then create a goal in Google Analytics using up the 'get app button' action.
Add Google Analytics to your app listing
Open up Google Analytics, go to 'Admin' and push Property Settings.
Here you'll find your Tracking ID. Copy that to your clipboard.
Next, log in to your Shopify Partner admin and open the app you want to add the tracking to.
Push 'App listings'.
Then the language of the listing you want to track.
Go to Tracking and paste your Tracking ID in here.
Push Save and Update. Your app listing will now be tracked using Google Analytics.
Usually the tracking starts immediately, but sometimes there's a delay of a few minutes as your app listing page is cached by Shopify.
Create a goal in Google Analytics to track app installs
When a merchant pushes 'Add app', Shopify fires a 'Get App button' event to Google Analytics. Tracking this as a goal in Google Analytics lets us see interesting things like conversion rate by traffic source.
We'll set up a goal in Google Analytics for this event. Go to Admin and then Goals in GA. Push New Goal.
Give it a name and choose Event as the type. Push Continue.
Enter an Action of 'Get App button'. Leave all other fields blank. It's important you enter 'Get App button' exactly like this, without apostrophes, so that the event can be tracked.
All future goals will now be tracked. Google Analytics doesn't load in historical data for goals.
That's it. You can now use Google Analytics to track and optimize your Shopify app store listing.