posthog

package
v0.52.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PosthogAnalytics

type PosthogAnalytics struct {
	// contains filtered or unexported fields
}

func NewPosthogAnalytics

func NewPosthogAnalytics(opts *PosthogAnalyticsOpts) (*PosthogAnalytics, error)

func (*PosthogAnalytics) Enqueue

func (p *PosthogAnalytics) Enqueue(event string, userId string, tenantId *string, data map[string]interface{})

func (*PosthogAnalytics) Tenant

func (p *PosthogAnalytics) Tenant(tenantId string, data map[string]interface{})

type PosthogAnalyticsOpts

type PosthogAnalyticsOpts struct {
	ApiKey   string
	Endpoint string
}

Jump to

Keyboard shortcuts

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