analytics

package
v0.0.0-...-e7ae2a8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TrackingID = "UA-159515478-1"

TrackingID - Google Analytics tracking ID

Variables

This section is empty.

Functions

func NewAnalyticsCommand

func NewAnalyticsCommand() *cobra.Command

NewAnalyticsCommand to turn on or off GA

func SendEvent

func SendEvent(module, command, subcommand string, cmdErr error)

SendEvent is used to send an event to the analytics engine.

module is the service name (e.g. ilo/oneview/greenlake)
command is the action being performed (e.g. login, get, logout)
subcommand is the additional command if present (e.g. servers)
cmdErr - resulting error of the command run

Types

This section is empty.

Jump to

Keyboard shortcuts

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