How To Add Google Analytics in WordPress website? { Easiest Method}
Today here in this post I will tell you how to add Google Analytics in website? , Within 10 minutes. But before it I will brief you about Google Analytics may be it will helpful for newbie users. If you are using Blogger (BlogSpot) then read our post “how to add Google Analytics in Blogger?”
Google Analytics is a free tool offered by Google .Google analytics is a platform by this we can easily track the number of visitor and pages views on our blog. It’s also helps to tell us that exactly from where the visitors are coming via slandered or custom report. It can be used by webmasters/bloggers for better understand that how their site is using by different users.
Because it’s a leading tool which is run by Google so it also offers suggestions and improvement or benefits for our blog or website. Many of newbie blogger don’t know how to add Google Analytics code in blog or website. It’s really very quick and easy, so you don’t need to be an expert or web developer. Here we are telling you “How to Add Google Analytics to blog or website” or Google tracking ID on your blog.
Why It Is Important To Add Google Analytics for Blogger or Website Holder
If you are running any website or blog then it is so important to know for you that from where your audiences are targeting your site and exactly how much traffic you are generating for your site. If you are available to know that which keywords are generating traffic for your site then you can make it more strong and can drive huge traffic for your site.
Yes, by using Google Analytics you can do all these things and can figure out all in your finger tip.
>You Can Know Who Visit Your Site?
In Google analytics Account you can rectify the geographical locations (countries and city) of your visitors. Which system browsers they are using for search your site and many more important information such as :
Demographics – Language, Country, city
System – Browser, operating system, service provider
Mobile – operating system, service provider, screen resolution
For example -You can use these data to know that if many of users does not support flash then you can avoid flash element from your site.
>Try To Calculate What They Do When They Visit Your Site?
By using Google Analytics you can easily see that how long visitors stay on your site and can figure out the bounce rate (the percent of users exit your site on the first visit).if you have more bounce rate you can try to reduce it and can increase the depth of previews.
>Identify The Path Of Visitors
In this section Google Analytics allow to see you from where your visitors are coming to your site. For example: by using direct links, by using search engines, referral links and any other website.
You can see your websites users flow in percentage for each of these sources. suppose if you are getting more visitors from search engines then you can also see that which search engine is flowing more traffic on your site and then you can Do better SEO for your website for that particular search engine.
In the same way if you are getting more traffic from referral source like facebook then you need to have exclusive facebook content to make your facebook audience feel special.
Step By Step Guide to Implement Google Analytics Code On website…
SignUp For Google Analytics Account
Step 01 For this you have to create Google Analytic Account. To do this visit on Google Analytics signup Page and use your Gmail ID. If you don’t have your Gmail account then create it first and login with Gmail ID.
Step 02 Once you sign-in with your Gmail ID, you will see a new page asking for Signup in Google Analytics Account.just click on sign up option and be ready for your Google Analytics account.
Add Website In Google Analytics Account
Step 03 After login in your Google analytic account, screen will be appearing in front of you as a screen shot below. Here you can choose your website or mobile app for tracking. Make sure you choosing website option.
Step 04 Now setting up your account by filling all detail. Fill your account name (Type Anything) as you want to fill. Same as fill your website name and full website URL including http:// {example: http://www.sitename.com} .choose your website category and time zone.
Step 05 after filling all details now click on “Get Tracking Code” button.
Step 06 when you will click on “Get Tracking Code” a window will appear in front of you about Google Analytics Term of Services Agreement. Now click on “I accept” button.
Step 07 Now you will presented with Google Analytics Tracking ID. You will see your tracking ID (something like UA-11222211-2) and some Java script code which you have to put on your wordpress website. Copy this tracking code because you will need to enter it in your wordpress website.
You can also find your tracking code under Admin tab >User management > Tracking Info>Tracking Code
Copy your tracking code and don’t close your browser. You have to revisit it again when you complete your WordPress setting.
ADD Google Analytics In WordPress website
You can add Google Analytics in your wordpress by using three different methods,,,,
- Add Google Analytics Code In Header.php and Footer.php (Direct Paste Method)
- Add Google Analytics Code using functions.php
- Add Google Analytics Code by using WordPress Plugin
1.Add Google Analytics Code In Header.php and Footer.php (Direct Paste Method)
copy your Google analytics tracking code and open your wordpress dashboard > Appearance > Editor. Open either your theme header.php or footer.php file and add tracking code in header.php before </head> tag and if you want to add tracking code in footer then add it before </body> tag and save the change and update the file.
2.Add Google Analytics Code by using WordPress Plugin
It is a easiest way to add your tracking code in wordpress. Install Google Analytics for wordpress plugin and configure it and fill your tracking ID.
3.Add Google Analytics Code using functions.php
Open your theme’s functions.php file and paste your Google Analytics Code here. Use this method only if you know what you are doing? Otherwise one small error can break your site.
Once you have installed your Google analytics on your wordpress by using any above three methods, revisit you Analytics account and save your setting.
Add Google Analytics Code In Genesis Framework
If you are using Genesis Framework themes for your wordpress website then you don’t need to use all above methods. Genesis Framework allows you to add Google analytics tracking code in simple way. Open your wordpress dashboard > Genesis > Theme Setting > Header and Footer script and directly paste your tracking code here and click on save.
Check Google Analytics Tracking Code Is Working Properly On Website
- To know about Google analytics tracking code is working properly on every page and post then right click on any page of your website and select view source code. You can find your Ga.js code right above the closing header tag on the page.
- You can also check it by login in your Google analytic account .go to your GA account and click on “admin” tab on the top of the page. If you are using more than one websites then select your desired website and click on “tracking Info”. If the Google Analytics tracking code is installed properly then the section will display the word “Receiving Data”.
It will take 12 to 24 hours to start providing you all site stats like, visitors count, page view, visitor’s countries, mobile date, search quarries and keywords etc. you can see your site full overview in “Reporting” tab.
READ MORE
Free Classified Submission Sites list In India With High PR & DA
199+ High Authority Backlinks List [High Domain Authority Sites]
Best Free Classified Sites In USA [High PR Classified]
Important: if you are using multiple website then don’t mix-up tracking code from different properties. Every property has their own unique tracking Id and don’t reuse the same tracking code on the different domain websites.
Google Analytics is a perfect tool to get full legit site stats and it is must for every blog or website. you can analysis your search traffic and keywords to improve your site rank. You can also use alexa toolbar to know your daily site rank. If you feel any problem to implement these steps please feel free to write us. We will definitely help you.