Last update at :2024-06-15,Edit by888u
Whether we are a personal website or a commercial website, we will definitely install website statistics tools. Firstly, we can check how many users visit, and secondly, we can analyze the user's access habits for big data analysis. Generally, we will use third-party statistical tools, such as Ajiang Statistics, 51LA, CHINAZ, Quantum Hengdao, and Baidu statistical tools in mainland China. Probably starting from the second half of last year, when we use third-party statistical tools, it is basically difficult to obtain complete third-party sources and keywords. This is related to the opening of the data acquisition API. Relatively speaking, only Baidu statistics keywords It is relatively complete.
Many commercial websites or some individuals are more concerned about big data leaks of their own statistical data and do not trust the statistical tools in mainland China. Therefore, we will choose the Google Analytics tool for foreign trade websites, but Chinese websites may slow down the Internet speed, so generally we do not Will be used. Recently, I have seen many users discussing using third-party free open source programs to build their own statistical tools. The most popular one is to use the Piwik program.
Piwik has been upgraded to version 2.15.0 so far. Whether it is from mainland China or abroad, the existing information has relatively good reviews. Snail has played it once before, and it was only in passing. This time I will experience and record the installation process of Piwik statistical tool in a little detail. If you feel good about it, you can use it yourself in the future.
First, Piwik official website
Official website address: piwik.org
We can download the latest version of the program from the Piwik official website. Be sure to download from the official website to ensure the security and latest version of the program.
Second, Piwik program installation
A – Choose the right language
Piwik is deployed using PHP+MYSQL programs and has dozens of languages including Simplified Chinese online. This is one of the reasons why our Chinese users also like to choose this open source statistical tool.
It seems that PiwiK has been upgraded to several versions, because in the early years, Snail saw that the installation interface was still relatively rough. As shown in the picture above, I chose Simplified Chinese. If we like to install high-end, we can choose another language.
B – Detection system support
Installing PiwiK statistical tools requires PHP5.3 or above, PDO, MYSQLI, and extended components such as zlib, SPL, iconv, json, mbstring, Reflection, and some functions.
Anyway, we need to see everything that needs support before we can proceed to the next step. The general VPS deployment environment and the virtual host of the CP panel should be supported.
C – Configure PiwiK database link
Installing PiwiK is actually relatively simple. Just like when we install a regular CMS blog program, we set the database user and password we added.
D – Set PiwiK username and password
In this way, we have installed the PiwiK free open source statistical tool ourselves. After the initial installation, we can add a site for tracking statistics.
Third, Piwik adds site execution tracking statistics
Here, the snail can add a site domain name, and set the website name, time zone or region and website type.
If we are using regular programs such as WordPress, Drupal, Joomla, etc., we can also have extension plug-in installation code, or we can directly add it to the appropriate page with JS code.
Fourth, application and summary of Piwik statistical tools
Through the above steps, we can basically see that the user experience of Piwik statistical tool is quite good, at least much more friendly than the early Snail experience, and at least there is a sense of pursuit of use. A site has been added during the installation process. We can log in to the Piwik backend to add multiple websites for statistical data. The function is relatively powerful and can track and count regular data.
Similarly, we can use the email module and mobile phone SMS module to provide feedback information, as well as other API customization functions. These require experts to slowly explore. For junior users like Snail, they can at least make sure that this tool is relatively easy to use. Yes, according to existing user reviews, the accuracy of piwik statistical tools is relatively high.
And for the piwik statistical tool, we can also use the APP mobile client to track and view statistical information at any time. Here, Snail shares about the Piwik statistical tool. If you have friends who are using this tool, you can leave a message to inform and share the advantages and disadvantages of this tool.
Recommended site search: high defense US server, free host, vps virtual host, US imitation brand space, independent ip virtual host, how to bind domain name to server, US virtual host, Dalian virtual host, godaddy space, website registration query,
发表评论