This article discusses several ways you can use Google Analytics with a WordPress site.
Google Analytics provides detailed statistics about visitor traffic to your site. To use Google Analytics with WordPress (or with any other type of site), you must first sign up for a Google Analytics account at http://www.google.com/analytics and obtain a unique Tracking ID.
After you have set up a Google Analytics account and have the Tracking ID for your site, you can configure it for WordPress. There are two ways to do this:
There are numerous plugins that enable you to configure Google Analytics for a WordPress site, and they all function in essentially the same way—all you have to do is specify your Tracking ID, and the plugin takes care of the rest.
Here are some popular Google Analytics plugins for WordPress:
Plugins are convenient, but they also carry processing overhead with them that can affect site performance. If you prefer not to use a plugin, you can edit the WordPress theme directly to enable Google Analytics.
To enable Google Analytics by editing the theme, follow these steps:
For more information about Google Analytics, please visit http://www.google.com/analytics.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.