{"id":29,"date":"2008-06-12T12:47:50","date_gmt":"2008-06-12T04:47:50","guid":{"rendered":"http:\/\/kenshinjeff.jp\/?p=29"},"modified":"2008-08-26T08:46:57","modified_gmt":"2008-08-26T00:46:57","slug":"statistically-showing-how-silly-i-was","status":"publish","type":"post","link":"https:\/\/kenshinjeff.jp\/2008\/06\/12\/statistically-showing-how-silly-i-was\/","title":{"rendered":"Statistically showing how silly I was"},"content":{"rendered":"

So yesterday, I learnt something important. If you want to host files to download, do it via a script. Otherwise there’s no way to keep track of download statistics. I thought I had it all figured out, putting an analytics javascript at the bottom of a single index page, and the download link on the page itself.<\/p>\n

What happened was, the plesk’s site traffic showed this:<\/p>\n

\"\"<\/a><\/p>\n

Awstats showed this:<\/p>\n

\"\"<\/a><\/p>\n

And analytics showed this:<\/p>\n

\"\"<\/a><\/p>\n

Of course, I was really confused, then I realised at that time, it was because a direct link was used to download the files, therefore no loading of any page, and no loading of any analytics page.<\/p>\n","protected":false},"excerpt":{"rendered":"

So yesterday, I learnt something important. If you want to host files to download, do it via a script. Otherwise there’s no way to keep track of download statistics. I thought I had it all figured out, putting an analytics javascript at the bottom of a single index page, and the download link on the […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/posts\/29"}],"collection":[{"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenshinjeff.jp\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}