How to add Analytics code in all page of the wordpress website ?
what is analytics code ?
Collect visitor data for your website using the Analytics tracking code.
Using Analytics code Plugin we can add analytics code easily in all pages without editing the script.
for example googleanalyticscode
Google Analytics code look like the following
Example:1
Example : 2
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-xxxxxxx-x");
pageTracker._trackPageview();
} catch(err) {}</script>
just copy your analytic code and paste into the textbox of option page in admin side. This code will be add to the head portion of all the pages in your wordpress site.



















