Shopify itself provides with some sort of basic analytics for shop owners. However, it is always nice to have more advanced tools to keep everything under control. Such a massive backup is Google Analytics. It enables you to track the visitors to your store and generates reports that will help you with your marketing. For several years, it is a must have for e-commerce and not only. So you may find find many life hacks from experience users how to work with Google Analytics. For now, we recommend to check infographic by Quichsprout to look around and check on how improve your marketing with this service. Another source is a blog post from Kissmetricks with detailed overreview of available options in Google Analytics.
Now when you are aware of Google Analytics capabilities let's get into technical details. Shopify strongly recommends that you use only the method described here to enable Google Analytics on your website. Please, follow instruction below:
You may be also interested in additional instructions from Shopify