Skip to content

Consider adding some kind of tracking data for analytics on usage of the kit #221

@ghost

Description

@ghost

What

At the minute we have no idea how many people are using (or how) the prototype kit (other than some manual research looking for them on public GitHub repos). We should investigate the use of (opt-in) analytics to give us an idea of usage so that we can make future improvements to the kit.

This is something that is done in the GOV.UK prototype kit using Google analytics: https://govuk-prototype-kit.herokuapp.com/docs/usage-data

  • your anonymous ID number
  • the Prototype Kit version number
  • your operating system (for example 'Windows 10')
  • your Node.js version

and is quite popular in JavaScript frameworks such as Next.js: https://nextjs.org/telemetry

  • Command invoked (next build, next dev, or next export)
  • Version of Next.js
  • General machine information (e.g. number of CPUs, macOS/Windows/Linux, whether or not the command was run within CI)
  • What Next.js plugins are present in your project
  • Duration of next build and size of application (total number of pages)

Why

Tasks

  • Look into how GOV.uk track their data

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions