I believe Copy and Paste. If I am not wrong... (ad it in footer.php before </body> tag) You can also add it in header.php but it will slow down loading of your page.. Or use http://wordpress.org/extend/plugins/google-analytics-for-wordpress/ hope this helps..
Why You Need analytics for Wordpress. The Wordpress has his Own Blog Stats Option. That is Pretty True...
Copy and paste your stat code into the header directly after the <body> tag. The <body tag may have other data in it but after the last > either way. Get to the header from the admin panel -- APPEARANCE/EDITOR and select the header.php from the RH file list. I suggest placing teh code in teh haeder asn not the footer as many people will click away from apage that is loading slowly. If the footer has not loaded, before they click away, then you will not see the stats for that page load.
I think you may get better option to do this here: http yoast dot com/wordpress/google-analytics/ read and do it
Just copy the analytics code and paste it in the footer just before </body> Or, you can go for an analytics plug in.
They also make a simple plugin to help people that don't know enough html to find the </body> tag. Just search for it on the plug-ins page in your site admin.
There's no need to touch the code on a wordpress blog to get this working. Grab a copy of the "All In One Webmaster" plugin from your plugin search... look at the code it wants you to put in the blog manually and get the UA-stuff string. Simply drop that string into the plugin, hit update, and then verify in Analytics. Quick and painless.
hi is there any bad impact of Google Analytics on your site i.e ranking or quality score? some say that your site private data can be shared by google by using GA? what you say? plz help out me.
I think the easiest way to get the code into wordpress if you dont know how to directly edit code is to add a text widget to the sidebar and paste the code into that.
There's a new plugin for it, or c/p the Analytics code to your footer.php (like i do in warezine.com)
Yes, your site private data (traffic, etc) will be used to give you a report in Google Analytics. But I think its harmless.
Go to the plugin tab and search for Ultimate Google Analytics plugin. Install/activate the plugin. Get your account ID from Google and then configure the plugin. Really simple for those that don't want to touch the code like me.
You can install Google analytics plugin or in you admin go to theme editor => Footer => just before </body> add your Google Analytics Code ..
Google Analyticator is my best plugin to add tracking code. It shows analytic data in your admin panel too.