Documentation
¶
Index ¶
Constants ¶
View Source
const TestReportFilename = "analytics.log"
Variables ¶
This section is empty.
Functions ¶
func TestReportFilepath ¶
func TestReportFilepath() string
Types ¶
type GaCLIReporter ¶
type GaCLIReporter struct {
// contains filtered or unexported fields
}
func NewGaCLIReporter ¶
func NewGaCLIReporter(clientID string) (*GaCLIReporter, error)
func (*GaCLIReporter) AddOmitCategory ¶
func (r *GaCLIReporter) AddOmitCategory(category string)
func (*GaCLIReporter) Event ¶
func (r *GaCLIReporter) Event(category, action, source, label string, d *dimensions.Values) error
func (*GaCLIReporter) ID ¶
func (r *GaCLIReporter) ID() string
type PixelReporter ¶
type PixelReporter struct {
// contains filtered or unexported fields
}
func NewPixelReporter ¶
func NewPixelReporter() *PixelReporter
func (*PixelReporter) Event ¶
func (r *PixelReporter) Event(category, action, source, label string, d *dimensions.Values) error
func (*PixelReporter) ID ¶
func (r *PixelReporter) ID() string
type TestLogEntry ¶
type TestReporter ¶
type TestReporter struct {
// contains filtered or unexported fields
}
func NewTestReporter ¶
func NewTestReporter(path string) *TestReporter
func (*TestReporter) Event ¶
func (r *TestReporter) Event(category, action, source, label string, d *dimensions.Values) error
func (*TestReporter) ID ¶
func (r *TestReporter) ID() string
Click to show internal directories.
Click to hide internal directories.