For example, if we are a personal website or a commercial website, we will certainly install website statistical tools to check the number of user visits and analyze users' access habits for big data analysis. We generally use third-party statistical tools, such as Chinese statistical tools such as Alibaba Cloud, 51LA, CHINAZ, quantum track, and Baidu. Since the second half of last year, it is basically difficult for us to obtain complete third-party channels and keywords when using third-party statistical tools. This is related to Open APIs for obtaining data, relatively speaking, only Baidu Statistics keywords are relatively complete.
Many commercial websites or some individuals are concerned about the big data leakage of their own statistical data, rather than relying too much on domestic statistical tools. Therefore, for foreign trade websites, we will choose Google Analytics tools, however, Chinese websites may slow down the network speed, so we generally do not use them. Recently, many users have discussed how to use third-party free open-source programs to build their own statistical tools. Piwik programs are favored.
Piwik has been upgraded to version 2.15.0 so far. It is a good review of existing information in both China and abroad. The old left has also played it once, and it is just a good record. The installation process of Piwik statistical tool is described in detail this time. If you feel good, you can use it on your own.
1. Official Piwik website
The code is as follows: |
Copy code |
Official Website address: piwik.org
|
We can download the latest version of the program from the official Piwik website. You must download the program from the official website to ensure the security and the latest version of the program.
Second, install the Piwik program
A-select the appropriate language
Piwik is deployed using PHP + MYSQL and has dozens of online simplified Chinese languages. This is one of the reasons why Chinese users prefer this open-source statistical tool.
It seems that PiwiK has been upgraded to several versions, because the installation interface is still rough in the early years. Here I see the figure above in simplified Chinese. If we like to install high-end software, we can select another language.
B-detection system support
To install the PiwiK statistical tool, you must use PHP5.3 or later, PDO, MYSQLI, zlib, SPL, iconv, json, mbstring, Reflection, and other extension components, as well as some functions.
We need to see all the items that need to be supported before proceeding to the next step. Generally, the VPS deployment environment and the virtual hosts on the CP panel should be supported.
C-configure the PiwiK Database link
Installing PiwiK is actually quite simple. Just like installing the regular CMS blog program, set the database users and passwords we have added.
D-set the PiwiK user name and password
In this way, we have installed the PiwiK free open-source statistical tool. After the initial installation, we can add a site for tracking statistics.
Third, Piwik adds site execution tracking statistics
Add a website domain name and set the website name, time zone, region, and website type.
If we are a regular program such as WordPress, Drupal, and Joomla, we can also have the extension plug-in installation code, or we can directly add the JS code to the appropriate page.
IV. Application and summary of Piwik statistical tools
Through the above steps, we can basically see that the Piwik statistical tool user experience is quite good, at least much more friendly than the old left experience, at least there is a sense of pursuit of use. You have added a website during the installation process. You can log on to the Piwik background and add multiple websites for statistics. This feature is powerful and allows you to track and collect common data.
Similarly, we can use the mail module and the mobile phone text message module to provide feedback and other API-defined functions, for novice users such as old left, at least we can ensure that this tool is quite useful. Based on the existing user reviews, piwik's statistical tool is still relatively accurate.
In addition, for the piwik statistical tool, we can also use the APP mobile client to track and view statistics at any time. Here, the Piwik statistics tool is shared here by the old left. If you are using this tool, you can leave a message to inform and share the advantages and disadvantages of this tool.