How to hide the statistics code
Most websites will add website statistics code to count how many people come to the website every day , but after the statistical codes of cnzz and 51la are added, the words "website statistics" or the ico pictures of statistics will be displayed. Today I will share with you how to hide the statistical icons of 51la and cnzz and how to hide the statistical codes.
Use the editor to open the web page file for modification
cnzz statistics code is as follows:
<!-- 统计开始--> cnzz统计代码 <!-- 统计结束-->
This will display the official icon ; Now just use DIV to hide it and it will be OK. Add
<div style="display:none">统计代码</div>
in front of the code. The modified statistical code is as follows:
<div style="display:none"> cnzz统计代码 </div>
51la, Yahoo and Quantum Statistics hide the statistical code as follows:
<div style="display:none"> 你网站的统计代码 </div>
Placing the statistics code at the bottom of the web page, before the body tag, will help the page opening speed.
The above is the detailed content of How to hide statistics code. For more information, please follow other related articles on the PHP Chinese website!