Using Google Analytics with Your WordPress Site


Using Google Analytics with Your WordPress Site

Signing up for Google Analytics

To use Google Analytics, you’ll need a Google Account. Log in to Google if you already have one, or go here to sign up. Once you’ve done this, go here to begin using Analytics. You will then be guided through the setup process, where you will enter info for your site. For Account Name and Website Name, you can enter any name: this is only for your own reference. In website URL, you’ll want to choose the https:// option, and then enter the rest of the website link. Then, choose the industry category and the timezone that you’re in. Finally, read through Google’s data sharing settings and select which categories (if any) you would like Google to be able to see. Click the “Get Tracking ID” button and accept the terms. You’re now ready to enable Analytics on your site!

Connect Your Site to Google Analytics

After going through the setup process, you should be given a page that looks similar to the following:

Google Analytics tracking ID page

If you cannot find this page, you can access it from the Analytics dashboard by going to the Admin panel (gear in the bottom left), find the website you want (referred to as a “property”), clicking Tracking Info below it, and then Tracking Code. You’ll want to keep this page open, as you’ll need the Tracking ID near the top of the page. The easiest way to connect your site to Google Analytics is with a plugin; let’s look at how that’s done.

Installing and Enabling the GA Google Analytics Plugin

On the WordPress dashboard of your site, go to Plugins > Add New and search for “GA Google Analytics.” Find the plugin with the same name—with the icon of a pie chart—and click install, and then activate. Once the plugin has been activated, go to Settings > Google Analytics on the dashboard. On this page you should see a number of sections, including Plugin Settings. Click on this section to expand it, and paste your Tracking ID from the Google Analytics Dashboard into the textbox. Once you click save at the bottom, Analytics should be enabled!

Testing Analytics

After enabling Google Analytics, you can quickly test to make sure its working by switching back to the Analytics Dashboard and clicking the Send Test Traffic button. A new window should open to your website; within a minute, Google Analytics should report at least one active user—this will show up above this button. If this traffic is reported, congratulations! Analytics are working correctly. You can now check your Google Analytics Dashboard to see traffic statistics for your website.