events

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const EventTypeAction event.Type = "action"
View Source
const EventTypeAlias event.Type = "alias"
View Source
const EventTypeGroup event.Type = "group"
View Source
const EventTypeIdentify event.Type = "identify"
View Source
const EventTypePageview event.Type = "pageview"
View Source
const EventTypeScreen event.Type = "screen"
View Source
const EventTypeSession event.Type = "session"
View Source
const EventTypeTiming event.Type = "timing"
View Source
const EventTypeTrack event.Type = "track"
View Source
const EventTypeTransaction event.Type = "transaction"

Variables

This section is empty.

Functions

func Action

func Action(action *contexts.Action, opts ...event.Option) *event.Event

func Alias

func Alias(alias *contexts.Alias, user *contexts.User, opts ...event.Option) *event.Event

func Group

func Group(grp *contexts.Group, usr *contexts.User, opts ...event.Option) *event.Event

func Identify

func Identify(user *contexts.User, opts ...event.Option) *event.Event

func Pageview

func Pageview(page *contexts.Page, opts ...event.Option) *event.Event

func Screen

func Screen(screen *contexts.Screen, opts ...event.Option) *event.Event

func Session

func Session(sess *contexts.Session, opts ...event.Option) *event.Event

func Timing

func Timing(t *contexts.Timing, opts ...event.Option) *event.Event

func Track

func Track(evt string, opts ...event.Option) *event.Event

Types

This section is empty.

Jump to

Keyboard shortcuts

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