Most people set up just one view for their Google Analytics account—it’s usually the one named “All Web Site Data”. In Google Analytics, a “View” is like a lens through which you see all your data. For example, you could apply certain filters to a view—like a view for analyzing only existing customers, or a view for excluding traffic from your own team from your reports. Having a single view is alright if you are 100% certain that you won’t be implementing any customizations on your Google Analytics properties. However, we recommend that you create 3 views:
- Main View: This is your go-to view. This is where you will be doing all your analysis. All customizations to Google Analytics should have already been properly tested in the Staging View as not to affect this view’s data.
- Staging View: Think of this view as your sandbox. If you want to test something new but are unsure how it will affect your data (e.g: creating a new filter) you will want to do it here and give it a few days before migrating the changes to the Master View.
- Unfiltered View: This view will be left untouched no matter what. No customizations whatsoever will be done to this view.
With this structure, you will always have a way to recover lost data in case something goes wrong. The Unfiltered View will always have all your data. And the Main View will have all your filters applied without errors. To set up these views, go to your Google Analytics Admin page. Under “View” click on “Create View” Insert the view details as shown below and create your “Unfiltered View”. We’re now going to create the Staging View. To do that, select the “All Web Site Data” from the dropdown. And click on “View Settings”. Click “Copy View”. In the “New view name” field, type “Staging View”, and click “Copy View”: You should now have these 3 views. Finally, rename the original “All Website Data” view and we’ll be done. To do it, select the “All Web Site Data” view, click on “View Settings”, and rename it to “Main View”. You should now be able to see your three views:
If you’ve been following along, you’ve now installed Google Analytics on your Shopify store, enabled ecommerce and enhanced ecommerce tracking, and set up your Google Analytics views like a pro.