Join Patrick Rauland for an in-depth discussion in this video Install Google Analytics, part of WordPress Ecommerce: WooCommerce.
- [Instructor] There's a lot of things you should do after you get your store launched, but one of the few things that I recommend to every store owner to do either before launch or immediately after launch is to setup Google Analytics, and that's because the service is so useful to understand where people are coming from and what they're doing on your site before they buy. It's also a free service, so there's no harm in setting it up early and just letting it collect data. Even if you don't use it for a whole year, when you do eventually decide to use it, you'll have so much useful data.
What you don't want to do is get stuck in a place where you need that data and it's not setup, and you have to wait a couple weeks or a month to get solid data, and in that time period, your business gets into trouble. There's a free plugin called WooCommerce Google Analytics Integration that's built by the WooCommerce team, and it'll send all of your traffic and e-commerce data to Google Analytics. This plugin will handle all of your needs, and you don't have to have another Google Analytics plugin. Now, if you are already using a different plugin for Google Analytics, such as MonsterInsights, which by the way used to be Google Analytics for WordPress created by the Yoast team, then you'll either have to switch analytics plugins to the WooCommerce one, or you can get their Ecommerce Addon.
If you don't do this, it'll still track Google Analytics, it just won't track any sales and product information, which you are definitely going to want to have. I'm going to show the WooCommerce Google Analytics Integration, because it's free and also because it's built by the WooCommerce team. Let's go ahead and install it. You will need to have a Google Analytics account already setup. If you don't have one, you can pause this video and create a free account to do so, or you can watch this video, and then at the end, create your account, and enter the correct UA code.
Let's go to my site. We'll go to the admin. Plugins, Add New. You want to make sure to get the one from WooThemes. Once it's installed and activated, let's click the little banner to set it up. You can also get to it from WooCommerce, Settings, and then Integration. This top field is your Google Analytics code. When you create an account, you'll get a different code for each site that you want to track. If you open up your Google Analytics account, you can copy your UA code from right here.
For right now, I'll just put in a fake UA code. Now, if this is the only analytics plugin that you're using, you'll need to check this box to track non-e-commerce interactions, like page views. If you are using another analytics plugin, then you can leave this unchecked. I do recommend turning on Universal Analytics. It's the new system and will have much better data for you. You'll want to make sure Purchase Transactions is there, and Add to Cart Events. In your Google Analytics account, make sure that you turn on Enhanced eCommerce.
It's free so you might as well turn it on, because you get extra data. Let's go ahead and save all of this. Now we're tracking all of the data. If you are big into Google Analytics, there is WooCommerce Google Analytics Pro that gives you much greater control and lets you label specific events on your store, and then send them to Google. It's definitely not needed if you just start your business, but as your business gets bigger and as you get traction, you may want to refine and customize the data that you track in Google Analytics, and then you may want a more configurable product like this.
If you want a refresher on Google Analytics, there's a very thorough course here in the library. Check out Google Analytics Essential Training.
- Why WooCommerce?
- Installing WooCommerce
- Setting up your store
- Adding products, including images and data
- Creating a subscription product
- Setting up shipping
- Configuring payment options
- Setting up taxes
- Customizing your theme
- Connecting Google Analytics and MailChimp
- Managing orders and reports