Have you question like “How do i put google analytics in my wordpress ?” like me. No problem. I will explain in short regarding how to do it directly from wordpress admin panel. Steps are very simple and easy to understand.
There are 3 ways to install Google analytics in WordPress. Direct paste, functions.php, and plugins.
Direct Paste Method :
Copy the code that you received from google analytics panel, and paste it in your theme’s footer.php right above the </body> tag.
To do this open
and then click on “footer.php” in right side.
Functions.php Method :
Add the following code in your theme’s functions.php file
Plugins Method :
There are tons of plugins available to add Google Analytics to your site. Paste the Google Analytics code in the plugin’s setting page.
In order to use Google Webmaster tools for your website, you need to verify it with Google to prove that you own the website.
There are two ways to do this:
Uploading a special file to your website
Adding a Meta Tag to your website.
As a search engine prowls your site, it gathers information from the title, headings, content, and Meta Tags such as description or keywords. It compares the words within each of these sections and “ranks” the site dependent upon how well the information matches. We have more information on how to maximize your meta tag references below.
You can follow to the actions proven by Don Campbell in below video and add meta tag to header.php in your file.