Here are the steps to add Google Analytics to your WordPress website or blog
How to Install & Setup Google Analytics in WordPress
1. Sign in with a Google Account : First you need to sign up for Google Analytics. You can do this by visiting Google Analytics. You’ll see a page as shown below. If you already have a Google Account that you use for Gmail, YouTube, or Google Drive, you can use it to sign-in. If you don’t have one, then you’ll need to create a google account, before signing up.
2. Sign up for Google Analytics : After you’ve signed into Google, you’ll be taken to the following page where you can sign up for google analytics. Click Sign Up button to sign up for Google Analytics
3. Add Website Information : On the next screen, you need to select whether you’re setting up Google Analytics for a website or mobile app. The default selection is website so you can leave it as it is. Also, you need to provide information about your WordPress website such as website name, URL.
If you’re installing google analytics for the first time, you’ll also need to enter an account name (Google Analytics profile name for this website ), reporting country and time. You’ll also find a set of data sharing options which you can leave as default.
4. Get Google Analytics Tracking Code : After you’ve entered the above information, click ‘Get Tracking ID’ button. You’ll see a popup with Google Analytics Terms & Conditions, which you’ll need to agree to by clicking ‘I Agree’ button.
5. Add Google Analytics Tracking Code to your website: Next you’ll be taken to a page where you’ll be provided the tracking code. It’s an HTML code that you need to copy and paste on all pages of your website for which you need to track statistics.
6. Where to add Tracking Code for WordPress site ?
The easiest way to add Google Analytics to your WordPress Site is to use one of the popular WordPress Plugins such as Google Analytics Dashboard for WP (free) or Monster Insights (paid). If you use a plugin, you don’t need re-install Google Analytics every time you change your wordpress theme.
If you want to do it yourself, even that’s easy. You can copy and paste the google analytics tracking code in the HEAD tag of headers.php file of your theme. You’ll find this file by clicking Editor option under Appearance Menu in your wordpress Dashboard. On the right side, you’ll see a list of files and header.php will be one of them. However, you’ll need to repeat this method every time you change your wordpress theme, as every wordpress theme has its own header.php file.
7. View Google Analytics Dashboard : Please allow 24-48 hours for Google Analytics to start tracking and analyzing data for your WordPress site. Now, when you log into Google Analytics, you can view traffic statistics about your wordpress website by visiting Google Analytics Dashboard and clicking Reporting Tab.
You can do a lot of cool stuff with Google Analytics such as track sign ups, sales, clicks by setting up Google Analytics Goals for your website. You can also track custom events by setting up event tracking in Google Analytics or adding custom dimensions for Google Analytics.
1. It’s advisable to use WordPress plugins to add Google Analytics to your WordPress site or blog. This way, you don’t need to re-install Google Analytics every time you change your wordpress theme. Some plugins also provide your Google Analytics reporting right from within WordPress Dashboard, so you don’t need to separately log into Google Analytics.
2. Every google analytics account is tied to a google account. So use your own google account to setup Google Analytics. Don’t allow others such as Web developers, SEO, web designers, web hosts, etc to use their account. Otherwise, in case you part ways, they’ll walk away with all the data and you’ll have to start from scratch.
3. How to verify if your Google Analytics is working ? After you log into Google Analytics, click on Admin button at the bottom left corner of your screen. This will take you to the Admin page. Click Tracking Code under Tracking Info Menu.
You can also check out our list of Best Google Analytics Alternatives that you can use to grow your business
You’ll be taken to a page which will display the Status as Receiving traffic for past 48 hours
Also, check out our list of Best Web Analytics Tools to understand visitor behavior and grow your business.
- 5 Ways Startups can Grow Business with Web Notifications - April 24, 2018
- 5 Actionable Tips for Marketing to Millennials - April 24, 2018
- 6 Ways Startups Can Use Instagram To Grow Their Business - April 24, 2018
- 5 SEO Tips Entrepreneurs Can Use to Grow Their Business - April 24, 2018
- 5 Email Marketing Tips for Startups to Grow Faster - April 24, 2018