Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-telemetry

Package Overview
Dependencies
Maintainers
7
Versions
478
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-telemetry

Gatsby Telemetry

  • 4.14.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
240K
increased by1.19%
Maintainers
7
Weekly downloads
 
Created

What is gatsby-telemetry?

The gatsby-telemetry package is used to collect anonymous usage analytics for Gatsby projects. It helps the Gatsby team understand how developers use Gatsby and improve the framework based on this data.

What are gatsby-telemetry's main functionalities?

Enable Telemetry

This feature allows you to enable telemetry tracking for specific CLI commands. The `trackCli` function is used to log the usage of a particular command.

const telemetry = require('gatsby-telemetry');
telemetry.trackCli('CLI_COMMAND_NAME');

Disable Telemetry

This feature allows you to disable telemetry tracking. The `disable` function stops the collection of usage data.

const telemetry = require('gatsby-telemetry');
telemetry.disable();

Track Event

This feature allows you to track custom events. The `track` function logs an event with a specified name and additional data.

const telemetry = require('gatsby-telemetry');
telemetry.track('EVENT_NAME', { key: 'value' });

Other packages similar to gatsby-telemetry

Keywords

FAQs

Package last updated on 06 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc