rehanvdm / serverless-website-analytics

A CDK construct that consists of a serverless backend, frontend and client side code to track website analytics
GNU General Public License v2.0
166 stars 13 forks source link

Demo page improvements - self track & banner #4

Closed rehanvdm closed 1 year ago

rehanvdm commented 1 year ago

Maybe two flags on the construct:

  1. Add a banner at the top pointing to this GH repo
  2. Make the page track itself, send data to its own endpoint, IF this flag is set then we need to automatically add the domain to the specified sites, which will cause a CFN dependency loop between frontend and backend. So either custom resource OR just let the user add the site themselves, which is a better solution for now.