Documentation ¶
Index ¶
- type FakeGoogleAnalytics
- type FakeGoogleAnalytics4
- func (f *FakeGoogleAnalytics4) GetDimensionsAndMetrics(ctx context.Context) ([]*ga.DimensionMetadata, []*ga.MetricMetadata, error)
- func (f *FakeGoogleAnalytics4) GetMetrics(_ context.Context, dateFrom string, dateTo string, metrics []string, ...) (map[uint64]map[string]interface{}, error)
- func (f *FakeGoogleAnalytics4) GetName() googleanalytics.Provider
- func (f *FakeGoogleAnalytics4) RunReport(ctx context.Context, runReportRequest *ga.RunReportRequest) (*ga.RunReportResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGoogleAnalytics ¶
func (*FakeGoogleAnalytics) GetProvider ¶
func (f *FakeGoogleAnalytics) GetProvider(_ googleanalytics.Provider) googleanalytics.IProvider
type FakeGoogleAnalytics4 ¶
func (*FakeGoogleAnalytics4) GetDimensionsAndMetrics ¶ added in v1.1.41
func (f *FakeGoogleAnalytics4) GetDimensionsAndMetrics(ctx context.Context) ([]*ga.DimensionMetadata, []*ga.MetricMetadata, error)
func (*FakeGoogleAnalytics4) GetMetrics ¶ added in v1.1.60
func (*FakeGoogleAnalytics4) GetName ¶
func (f *FakeGoogleAnalytics4) GetName() googleanalytics.Provider
func (*FakeGoogleAnalytics4) RunReport ¶
func (f *FakeGoogleAnalytics4) RunReport(ctx context.Context, runReportRequest *ga.RunReportRequest) (*ga.RunReportResponse, error)
Click to show internal directories.
Click to hide internal directories.