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.