Roll Your Own Analytics
So, because my spreadsheet-fu is not very good, instead of figuring out pivot tables, I decided to write a script that aggregates the session data each day, adds it to a 3rd “Analytics” sheet, and emails me a report. Using Netlify’s free tier,* access to AWS Lambda functions are easy to setup. The final step is to grab from context the array of events in the function and post it as part of the session data.
Source: www.pcmaffey.com