How to use Analytics code without any plugin

google-analytics-for-wordPress


When it comes to installation of code such as Adsense, Analytics  we prefer plugins to this job instead of pasting code on every single page. Though plugins provide us the benefits by saving time, but the demerit of using plugin is that they occupy space in the database and hence increases the size of database resulting in slowing down of loading speed. So it is always advisable not to use plugin unless it is necessary.
So now you can use the following method to stop the use of Analytics plugin.


Delete your plugin “Google Analytics” and Copy the code below, replacing your Google Analytics id with “UA-XXXXX-X” & Paste this into your website template page (for template page go to Appearance -> editor) .


JavaScript, ASP.Net & PHP Web Developer. Connect with me on Facebook and Twitter.

Share This Post

Related Articles

Powered by Paras Babbar · Designed by Paras Babbar