analytics

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

analytics package is for internal utility functions for tracking anonymous usage analytics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func IsDisabled

func IsDisabled() bool

func Track

func Track(distinctId string, event string, properties posthog.Properties)

We want to ensure that we do not collect any telemetry if the user has disabled them. This is a helper function to ensure that we do not collect any telemetry if the user has disabled them.

func TrackCI

func TrackCI()

func TrackCommandGenerate

func TrackCommandGenerate()

func TrackCommandGenerateEnvDocker

func TrackCommandGenerateEnvDocker()

func TrackCommandGenerateEnvGitHubActions

func TrackCommandGenerateEnvGitHubActions()

func TrackCommandGenerateEnvGitLabCI

func TrackCommandGenerateEnvGitLabCI()

func TrackCommandRun

func TrackCommandRun()

func TrackEvent

func TrackEvent(event string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL