My favorite type of webapp is a static one.
Here are a few reasons:
“How easy, Max?”
Very easy, I’ll show you how!
To take an example, maxmautner.com is hosted on Amazon S3 behind Cloudfront.
In order to track the amount of traffic your website receives you can use a 3rd party analytics provider like Google Analytics.
Tools like Google Analytics suffer from a couple big problems:
However there is an approach that is even easier/more accurate.
I’ve enabled a feature of Cloudfront to log all requests to logfiles on S3:
Log files will appear in your designated location on S3:
There are a couple techniques for making use of the data that you are now collecting:
I’ll be showing how to perform both approaches:
Want me to complete the blog post? Let me know!