add piwik installation
This commit is contained in:
parent
90aa4ef157
commit
8c5d4f0c31
3197 changed files with 563902 additions and 0 deletions
13
www/analytics/misc/others/download-count.txt
Normal file
13
www/analytics/misc/others/download-count.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Count the download for 'latest.zip' on the 20th March
|
||||
|
||||
# cat access.log | grep "20/Mar" | grep "latest.zip" | awk '{print $1}' | sort | uniq | wc -l
|
||||
|
||||
|
||||
Value to be compared with the one given by Piwik in Actions > Downloads
|
||||
|
||||
|
||||
Count the no of hits by referrers, excluding piwik.org as a referer
|
||||
# cat /var/log/apache2/access.log | awk '{print $11}' | grep -vE "(^"-"$|/dev.piwik.org|/piwik.org)" | sort | uniq -c | sort -rn | head -n20
|
||||
|
||||
Count the no of hits by referrers
|
||||
# cat /var/log/apache2/access.log | awk '{print $11}' | sort | uniq -c | sort -rn | head -n20
|
||||
Loading…
Add table
Add a link
Reference in a new issue