I’ve been able to set up Google Analytics on my website by first signing up on Google Analytics, adding my website, then creating a tracking code. I copied the tracking code and pasted it into my shopify admin page and it is now successfully tracking the data. Something extra I was able to enable was eCommerce tracking. There is basic eCommerce tracking and enhanced. I went with enhanced as not only does it track transaction and data revenue, but also tracks additional info on visitors activity.