Setting up and configuring Google Analytics

To get started with Google Analytics, sign in to a new or existing account at https://www.google.com/analytics. Create a new Property for your Curatescape project, choosing the “Website” project type.

Navigate to “Property Settings” to view the Property Tracking ID. This is the alphanumeric string you’ll use to enable analytics in both your website (add to theme settings) and app (if applicable, send to project manager via Basic Information Checklist).

While previous Curatescape app projects used separate Google Analytics Property Tracking IDs for web and mobile, new and updated app projects will use a single Google Analytics Property ID for both web and mobile app usage. This means that by default, all usage data will appear in the main view. This will be fine for those who wish to measure their project’s impact in a more generalized way. However, if you want or need to isolate usage statistics to analyze web-only or mobile-only, you can do so using the views and filters features of Google Analytics.

Create the Mobile View

To get started, navigate to the Admin section for your project. Use the blue “Create View” button to add a new view.

59%20AM

When creating the view, choose the “Mobile” type and give it a name. Since the default view is called “All Website Data,” we’ll call this one “All App Data.”

Create Filters for each View

At this point, you’ll have two views that are more or less the same, so next you’ll need to create filters for each view so that they just show the data you want to see.

Choose the new “All App Data” view and then click on “Filters” and add a new filter. Choose the filter type “Custom,” select the “Exclude” radio button and choose the filter field called “Application?” and set it to “No” to exclude any data that is not from a mobile app. Now only mobile app data will show in your “All App Data” view.

Next you will create a similar filter for your “All Website Data” view. For this one, choose the filter type “Exclude” and again set the “Application?” filed to “Yes.” Now only browser-based data will show in your “All Website Data” view (you will still see mobile web browser stats here).

1 Like

Hi Erin,

Quick question: Have you had experience migrating data from an extant Google Analytics Services SDK to Google Analytics for Firebase? As I’m sure you’ve seen, Google Analytics Services will begin sunsetting in October of 2019. Thank you!

Hi @loganhinderliter, we recommend using the standard Google Analytics web property and creating view filters to differentiate between web and app traffic, as described above. So if your website already has a property ID, that is what you will use for the app going forward. No need to switch to Firebase. There is no way to migrate data between properties, as far as I’m aware.

Alrighty, thank you for the insight. Hope all is well!

Best,

Logan

Once you have created the google analytics account, where to do you copy and paste the tracking code?

Found it!
Admin > Appearance > Themes > Configure Theme > Analytics > Enter Google Analytics Web Property ID (example: UA-1234567-89, you do not copy and past the code as suggested on the google analytics website)