analytics

package
v0.0.0-...-545bd39 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EnvAnalyticsEnabled       = "ANALYTICS_ENABLED"
	EnvAnalyticsPostHogApiKey = "ANALYTICS_POSTHOG_API_KEY"
	EnvAnalyticsPostHogHost   = "ANALYTICS_POSTHOG_HOST"

	KeyContentURL  = "$content_url"
	KeyUserAddress = "user_address"
)

Variables

This section is empty.

Functions

func Enqueue

func Enqueue(event posthog.Capture)

Enqueue allows to enqueue the given event to the PostHog instance

func Stop

func Stop()

Stop closes the PostHog client

Types

This section is empty.

Jump to

Keyboard shortcuts

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