How to start collecting web analytics using only HTML and Filasys.
Web analytics is a critical component in building any successful website. Whether for SEO purposes or improving user experience, websites need to collect data in order to see how it performs, what ...

Source: DEV Community
Web analytics is a critical component in building any successful website. Whether for SEO purposes or improving user experience, websites need to collect data in order to see how it performs, what works well, and what can be improved. In this tutorial, we will see how we can start collecting enterprise-level web analytics in a website using only one (and we mean 1) line of html in a website. Before we begin The website used in this tutorial is a mock online shop used solely for the purpose of this tutorial. Its source code code can be found here. Filasys is a data-analytics platform build for creating custom analytics. Cookieless tracking will be used for this example. This means that sessions will be tracked without the use of cookies. Filasys uses a special technique to generate anonymized session ids when doing cookieless tracking. For this tutorial, we will need: Git A Filasys account to manage data collection. Setting up the project In order to save time, we have a pre-made projec