Google Analytics enables you to collect information about who is visiting your site. You can use Google Analytics with any website. This guide describes how to add it to a WordPress site using the Google Analytics Plugin.
Step 1. Install the Google Analytics WordPress Plugin
Log in to the admin area of your WordPress. Navigate to the Add New plugins section of the WordPress dashboard (back-end). Search for the “Google Analytics” plugin. Click “Install”. Click “Activate”.
Step 2. Set up a Google Analytics Account
The plugin will automate these steps. However, if you prefer, you can do the following manually: Visit www.google.com/analytics and create an account. Create a new website entry in your new Google Analytics account for the site.
Tip: Creating a new Google Account (e.g. firstname.lastname@example.org) specifically for use with the website you are developing can make it is easier to hand-over access to services like Google Analytics without having to share login details of different services separately. This way, you can hand-over the email account and the recipient can use it to reset any passwords and access all relevant services themselves.
Once the plugin is working you will see a new widget on the main admin screen in the WordPress dashboard. Note that there is far more detailed information available if you access the analytics data using the Google Analytics pages directly.
Google Analytics will record all visits to your site. In the beginning, most of the traffic will be you, and maybe the occasional Bot that is visiting your site.
Similar information is also recorded by your web-server in the server logs. Analytics data is an essential way to understand traffic to your site and monitor the effects of different marketing campaigns, SEO, etc. As traffic to your site grow, so does the value of analytics.