Skip to content

Tracking

Dimensions of statistics

Time and count of visits will be grouped and aggregated by unique domain and date. It means that date and domain constitutes the smallest statistical granularity.

And this tool supports you to merge basic records according to your own needs.

As above, this data is aggregated by domain. For example, www.github.com and gist.github.com are counted as 2 records. If you want to see aggregated data from the two sites, you'll need to merge them manually.

Most data display pages support merge queries. And you can customize merge rules on the backend page.

What's rules look like?

The rule consists of two parts, the source part and the target part. The source part declares which sites hit the rule, and the target part defines how those sites are merged. For example, gist.github.com >>> github.com is a common rule, the left gist.github.com is the source part, and the right github.com is the target part.

How to define the source part?

The source part can be a specific domain name or an Ant expression. Below are some examples.

Source partExamples of hit sites
www.google.comOnly www.google.com can hit this rule
www.google.com.*www.google.com.hk www.google.com.au
**.mit.eduwww.mit.edu libraries.mit.edu web.mit.edu foo.bar.mit.edu

How to define the target part?

The target part can be a specific domain name, a positive integer, or be left blank. They will be introduced one by one in conjunction with the source part in the table below.

Source partTarget partLookRemark
www.google.com.*google.comwww.google.com.* >>> google.comSites hitting www.google.com.* will be merged into the specific google.com
www.google.com.hkwww.google.com.hk >>> Not Mergewww.google.com.hk won't be merged cause of blank target part
**.*.google.com3**.*.google.com >>> Keep Level 3Sites hitting **.*.google.com will be merged into the last 3 level domain names

The following table is some merge examples after setting the above rules together.

Original siteHit rulesMerged site and remark
www.google.com.auwww.google.com.* >>> google.comgoogle.com
www.google.com.ptwww.google.com.* >>> google.comgoogle.com
www.google.com.hkwww.google.com.* >>> google.com
www.google.com.hk >>> Not Merge
www.google.com.hk (1)
es.news.google.com**.*.google.com >>> Keep Level 3news.google.com
b.c.photos.google.com**.*.google.com >>> Keep Level 3photos.google.com
pass.hust.edu.cnhust.edu.cn (2)

TIP

(1) When multiple rules are hit, the source part takes precedence for a specific domain name

(2) Merge to the before level of Public Suffix List when no rules are hit