voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

Site analytics #7

Open jbmoelker opened 1 year ago

jbmoelker commented 1 year ago

User story

As a Marketer, I want to track the success of my campaigns.

Checklist

jbmoelker commented 10 months ago

Should we add an agnostic layer like the analytics package by David Wells (~13.2kb minified + gzipped)? This way Head Start can easily be used with different analytics providers in different projects. We could easily add adapters for Plausible etc.

68093602-42036880-fe4c-11e9-8bb9-008045da8a32

jbmoelker commented 10 months ago

How do we track specific events?

jbmoelker commented 9 months ago

Can we offload third party analytics to the server or a web worker, so they don't block our own scripts on the main thread and don't negatively impact user experience?

image

We could use Partytown to achieve this.