Hexo+github Create personal blog series data statistics and analysis

Source: Internet
Author: User

Seeing a variety of third-party services, I would like to toss. This article briefly explains how to add the site statistics function to your blog. Baidu Statistics Login Baidu Statistics

Open Baidu Statistics, enter the Baidu account password can be. Add a Web site

To the "Manage" module in the Personal center, click on the "Add Website" button to fill in the information of the blog site.
Get Statistics ID

Click "Code Capture" on the left-hand menu, then find the ID (the part that is covered by the mosaic in the screenshot) and copy it to the pasteboard for use in the Hexo configuration. Each site's corresponding statistical ID is different, do not copy others, otherwise there is no point.
Modify Theme Configuration

Assign the ID you just copied to the Baidu_analytics field in the next topic configuration
deploy and view data

Once you save your changes, deploy your blog again.

Hexo Deploy

Then Baidu statistics can be counted to your site information.
CNZZ Statistics Registered Friends Account

Open the Friend League registration page. After registering, click "Site Statistics" to enter the Site Administration page.
Add a site

Click on the "Add Site" button on the right, fill out the blog site information, complete the Add.
get CNZZ Statistics ID

Click "Statistics code" to see the statistics ID for your site.

Copy this ID so that you can configure Hexo to use it later. Modify the theme configuration in Hexo

Modify the Cnzz_siteid field in the next topic configuration, and the value is the ID that you just copied. Once the modifications are complete, redeploy the app to see the statistics report in the Cnzz my site. Here can be found that CNZZ and Baidu statistics is the same routine, other third-party statistics are similar, no longer repeat.

My Hexo small blog, welcome to poke.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.