astro/packages/telemetry/src/config-keys.ts
Fred K. Schott ebd7e7ad81
update telemetry to support more anonymized project id (#3713)
* update telemetry to support more anonymized project id

* Create strange-laws-kick.md

* respond to nate feedback
2022-06-27 14:16:07 -07:00

8 lines
400 B
TypeScript

// Global Config Keys
/** Specifies whether or not telemetry is enabled or disabled. */
export const TELEMETRY_ENABLED = 'telemetry.enabled';
/** Specifies when the user was informed of anonymous telemetry. */
export const TELEMETRY_NOTIFY_DATE = 'telemetry.notifiedAt';
/** Specifies an anonymous identifier used to dedupe events for a user. */
export const TELEMETRY_ID = `telemetry.anonymousId`;