Start a conversation

How to configure and test Google Analytics

Fliplet supports Google Analytics for Web and mobile apps. Enabling tracking is pretty quick but there are a few steps you need to take to set this up: 

  1. Get the tracking codes
  2. Create a view for tracking mobile data
  3. Add the tracking codes in Fliplet Studio
  4. Test that tracking is working in your app 

You will need 2 unique tracking codes from Google Analytics to track your native app and your web app. 

How to get the tracking codes:

  1. Sign in to your Google Analytics account
  2. Click Admin
  3. In the Property column, select Create new property from the drop-down menu
  4. Select Website
  5. Provide a Website Name.  Use the name of your app
  6. Provide a Website URL. Use any URL, for example you can use your company website 
  7. Click Get Tracking ID and you'll see an ID with this kind of format: UA-XXXXXXXXX-X
  8. Do this twice to get two unique codes if you have both native and web apps 

Setup the correct view for tracking mobile data 

  1. In Google Analytics, go to the admin section and select your new property
  2. Then click on Create View
     
  3. Choose to track Mobile app data here and give your view a name, e.g Mobile view
  4. Once you've created this view, go to the Property settings under the Admin section 
  5. Click on the drop-down called Default View and change the default view from All website data to your new view for the mobile data 

Add your tracking code in Fliplet Studio:

  1. Go to Fliplet Studio 
  2. Click to edit your app and go to the App settings 
  3. Click on Add-ons
  4. Find Google Analytics in the list on the left-hand side and click the button to enable add-on
  5. Here you'll see this view where you should enter the two tracking codes for web and native:  


Testing that Google Analytics is tracking correctly

  1. Your app will need an update to apply the new tracking code: 
    • In Fliplet Viewer this will update automatically within a few minutes. 
    • Live apps, or web apps will need to be published via the Launch checklist section of Fliplet Studio
  2. Once your app has updated, load Google Analytics and click on Real-time report and Overview
  3. This report updates after 30 seconds, so make sure you are using the app during this time to test that it's tracking usage correctly


Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Johanna Gustafsson

  2. Posted
  3. Updated

Comments