There’s no doubt Google Analytics sets the standard when it comes to gathering information on your site’s visitors.
Analytics can show where they landed on your site, what they read, how long they stayed, what they were searching, the browser they were using, where they live, their age and even their interests.
Adding Google Analytics to your site is easy. So simple, in fact, that it takes less than a minute!
Add Google Analytics to your side in under a minute.
1. Login to your Google Analytics Account
This tutorial assumes you’ve already signed up for Google Analytics. If you haven’t already got one, it only takes a second to sign up, especially if you’ve already got an account with Google. Head to the Google Analytics site and create a new account.
2. Add the Google Analytics Code to Your WordPress Theme
Copy the tracking code. Go to your WordPress Admin and then Appearance > Editor.
Open your theme’s header.php file and directory underneath the < body > tag, paste the tracking code. Click “Update File”.
3. Check Analytics is Working On Your Site
Go back to your Google Analytics account. Click on “Admin” at the top of the page and under “Property” choose your site and then click “Tracking Info”.
If the Tracking Status is “Receiving Data,” then you’ve successfully added Google Analytics to your site.
You can now click on the “Reporting” tab at the top of the page to see your site’s analytics overview. It may take Google up to 12-24 hours to start providing you with site stats.