UCenter Home site adds statistics code

UCenter Home site adds statistics code
UCenter Home is an SNS website building system released by Comsenz. The latest version is 1.5. Below I will give you a detailed introduction on how to add statistics code to your UCenter Home site. The specific steps are as follows:

1. How to obtain the statistical code

There are many websites that provide free statistics, such as: 51la, Yahoo, cnzz, etc. . . Wait, let's take 51la as an example to demonstrate how to add statistics code:

There is a link on the homepage of the 51la site to apply for a free statistics code. Fill in the necessary information and you can get a code like this

<script language="javascript" type="text/javascript"src="http://js.users.51.la/2356612.js"></script>

You can also use statistical codes from other sites, and the webmaster can choose freely.

2. How to add

The applied statistical code needs to be added to the corresponding location of our site.

Open the UCenter Home1.5RC3 program of your site, find the ./template/default/footer.htm file, open it and modify it.

turn up

<a href="mailto:$_SCONFIG[adminemail]">Contact Us</a> _fcksavedurl=""mailto:$_SCONFIG[adminemail]">Contact Us</a>" <!--{if $_SCONFIG['miibeian']}--> - <a href="http://www.miibeian.gov.cn" target="_blank">$_SCONFIG [miibeian]</a><!--{/if}-->

Add the code below this code

<script language="javascript" type="text/javascript" src="http://js.users.51.la/2356612.js"></script>

As shown in the following figure:

How to add statistics code in UCenter Home



3. Subsequent Operations

After adding the statistics code, save the file, log in to the UCenter Home management backend => Advanced Application => Cache Update, and update all caches.

At this time, we visit the homepage of the site and see the following effect at the bottom of the page:

How to add statistics code in UCenter Home



This completes the addition of the site's statistics code.

<<:  Vue3 list interface data display details

>>:  Disable input text box input implementation properties

Recommend

Detailed explanation of MySQL date addition and subtraction functions

1. addtime() Add the specified number of seconds ...

Best Practices for Developing Amap Applications with Vue

Table of contents Preface Asynchronous loading Pa...

How to install WSL2 Ubuntu20.04 on Windows 10 and set up the docker environment

Enable WSL Make sure the system is Windows 10 200...

Why Nginx is better than Apache

Nginx has taken over the majority of the Web serv...

A colorful cat under Linux

Friends who have used the Linux system must have ...

The difference between Input's size and maxlength attributes

I recently used the input size and maxlength attri...

Summary of CSS gradient effects (linear-gradient and radial-gradient)

Linear-gradient background-image: linear-gradient...

XHTML Getting Started Tutorial: Using the Frame Tag

<br />The frame structure allows several web...

How to create your first React page

Table of contents What is Rract? background React...

UCenter Home site adds statistics code

UCenter Home is an SNS website building system rel...

Nginx uses the Gzip algorithm to compress messages

What is HTTP Compression Sometimes, relatively la...

JavaScript canvas to achieve mirror image effect

This article shares the specific code for JavaScr...

The iframe refresh method is more convenient

How to refresh iframe 1. To refresh, you can use j...