{"repo":"rehanvdm/serverless-website-analytics","free":true,"listed":false,"github":"https://github.com/rehanvdm/serverless-website-analytics","clone":"git clone https://github.com/rehanvdm/serverless-website-analytics.git","description":"A CDK construct that consists of a serverless backend, frontend and client side code to track website analytics","language":"TypeScript","stars":196,"topics":["analytics","cdk","serverless"],"license":"GPL-2.0","category":"analytics","readme_excerpt":"Serverless Website Analytics - Features - Objectives - Getting started Serverside setup + Certificate Requirements Client side setup + Standalone Import Script Usage + SDK Client Usage + Vue - Worst case projected costs - What's in the box Frontend Backend + Anomaly detection Ingestion API Querying data manually - Upgrading - Sponsors - Contributing - Docs - Roadmap This is a CDK serverless website analytics construct that can be deployed to AWS. This construct creates backend, frontend and the ingestion APIs. This solution was designed for multiple websites with low to moderate traffic. It is designed to be as cheap as possible, but it is not free. The cost is mostly driven by the ingestion API that saves the data to S3 through a Kinesis Firehose. You can see a LIVE DEMO HERE and read about the simulated traffic here Features - Serverless, only pay for the AWS services you use - Track multiple site - Custom domain (use your own domain or a generic CloudFront domain) - Page view tracking (includes time on page) - Event tracking - Anomaly detection and alerts - Privacy focused, don't store any Personally Identifiable Information (PII) - You own your data - Three Dashboard authentication options; none, basic auth or AWS Cognito. - Tracks: - Referrers - Location by country and city - Device type - All UTM parameters - Query parameters - Bot detection - Easy integration in any JS framework through: - JS/TS SDK - Standalone 1-liner import Objectives - Serverless - Privacy focused ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rehanvdm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rehanvdm/serverless-website-analytics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}