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

Use of hasOwnProperty method of js attribute object

Object's hasOwnProperty() method returns a Bo...

How to create, save, and load Docker images

There are three ways to create an image: creating...

How to use vue3+TypeScript+vue-router

Table of contents Easy to use Create a project vu...

How to use Docker to build a development environment (Windows and Mac)

Table of contents 1. Benefits of using Docker 2. ...

Detailed explanation of Angular parent-child component communication

Table of contents Overview 1. Overview of input a...

Summary of JavaScript's setTimeout() usage

Table of contents 1. Introduction 2. The differen...

CSS Reset style reset implementation example

Introduction: All browsers come with default styl...

When the interviewer asked the difference between char and varchar in mysql

Table of contents Difference between char and var...

Interpretation of Vue component registration method

Table of contents Overview 1. Global Registration...

Solution to MySQLSyntaxErrorException when connecting to MySQL using bitronix

Solution to MySQLSyntaxErrorException when connec...

How to solve the Mysql transaction operation failure

How to solve the Mysql transaction operation fail...

Vue achieves seamless carousel effect

This article shares the specific code of Vue to a...

Advantages and disadvantages of Table layout and why it is not recommended

Disadvantages of Tables 1. Table takes up more byt...