analyticsclient

package
v0.0.0-...-c1b5a85 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsClient

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

AnalyticsClient - A type for sending page hits to Google analytics

func New

func New() *AnalyticsClient

New - Create a new AnalyticsClient object

func (*AnalyticsClient) SendHit

func (ac *AnalyticsClient) SendHit(r *http.Request)

SendHit - Send a hit to Google Analytics

See https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters for more info

Jump to

Keyboard shortcuts

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