Tracking your app's performance data is crucial. By analyzing the data you collect, you will learn what works and how to optimize your campaigns and improve your app to achieve better results.
The best way to track this significant data is Google Analytics. You can easily integrate your app to your Google Analytics account and play with the data flowing. As Google merged the Firebase services with Analytics, the process got easier to follow-up with. In the following sections, you will find a step-by-step explanation of that integration. Let's go!
First things first! If you want to integrate your app to a Google Analytics account, you should have one. If you don't have, you can check here to learn how to create it.
1. Creating Property
Once you navigate to your Google Analytics dashboard, you will see the 'Create Property' button. Start the process by clicking on it.
2. Property Setup
You will see a two-step sub-process to follow.
A. Select 'Apps' as the channel you want to measure in the first step.
B. Set up your property details at your convenience as shown below image. Then, click the 'Create' button to finish this sub-process.
3. Setting Up Data Streams
In this step, you need to set the data streams up. You can start with whichever you want. Here, we preferred iOS.
Setting up the iOS data stream is consisting of 6 steps in total. However, you need to complete only the first 3 of them. The rest will be handled by clicking 'Next' and 'Skip'. Here we go!
A. Register your iOS app by filling the form as shown.
⚫ The significant information you put like App Identifier (called ''iOS Bundle ID'' in iOS side and ''Package name'' in Android side) should be taken from Google Analytics page Shopney's integration dashboard as shown below. You just need to copy it in the dashboard and paste into related area respectively.
B. Provision and Configure Google cloud project by clicking the button. Wait for all the items to get checked by the system and click the 'next' button to move forward.
C. Download the config file as shown below and keep it in your computer. Don't change its name and don't open it. Because we will need it as is in the following steps of the process.
The process in iOS side is completed in your end with step C. Continue with the Android one.
Once you finish with the iOS setup and get back to the main page. You will see the 'Add Stream' button in the Firebase section. Click on it to start the process.
The Android process is consisting of 5 steps. And you will need to complete the first 2 of them. As in iOS, the rest will be handled by clicking 'Next' and 'Skip'.
A. Register your Android app by filling the form as shown. (Your package name is the same with your IOS Bundle ID.)
B. Download the config file as shown below and keep it in your computer. Don't change its name and don't ever open it. Because we will need it as is in the following steps of the process.
By downloading the Android config file you finish both sides of the process. You can click 'Next' and 'Skip' to go homepage. There is only two steps thing left.
4. Uploading Config Files To Shopney
You need to upload two config files (without opening or making any changes on them) to Shopney Google analytics integration panel to let us carry out the rest of the integration process.
a. Uploading the ''GoogleService-Info.plist''
In the 10th section of the integration panel, there is an upload button. Click on it to upload the related document as shown below.
b. Uploading the ''google-services.json''
In the 15th section of the integration panel, there is an upload button. Click on it to upload the related document as shown below.
5. Sending Server Key & Sender ID
To start this step you need to navigate to this address first: console.firebase.google.com
A. Once you land there, click on the project that you created in Google Analytics as shown.
B. Then, you will be redirected to the following page. Click to the 'Settings' icon which is on the right of 'Project Overview' and select the 'Project Settings' option as shown.
C. In the next page (Project Settings), open the 'Cloud Messaging' tab. Then, you need to copy ''SERVER KEY'' and ''SENDER ID'' which are indicated in the image below.
Then, paste them to the related fields in the Shopney's Google Analytics integration panel.
By sending the Config Docs (4) and the other significant datas (5) you will be finishing the process in your end. Lastly you should enable this integration in the Shopney's integration panel as shown below. The rest will be handled by our team.
Once we finish up with the rest of the process and complete your integration, you will be notified by our team.
''The Google Analytics integration starts to function after we release an update for your app. Therefore, you need to finish this process before your app's first launch. Otherwise, you will need to wait for the next Shopney general update release.''
Please don't hesitate to ask us if you need any further help on this issue...