feat: add google analytics setup
All checks were successful
Deploy / build-and-deploy (push) Successful in 59s
All checks were successful
Deploy / build-and-deploy (push) Successful in 59s
This commit is contained in:
parent
91a243e114
commit
e7fdea5375
3 changed files with 22 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ type Config struct {
|
|||
|
||||
SupportEmail string
|
||||
|
||||
GoogleMeasuringID string
|
||||
|
||||
Version string
|
||||
}
|
||||
|
||||
|
|
@ -68,6 +70,8 @@ func Load(version string) *Config {
|
|||
|
||||
SupportEmail: envString("SUPPORT_EMAIL", ""),
|
||||
|
||||
GoogleMeasuringID: envString("GOOGLE_MEASURING_ID", ""),
|
||||
|
||||
Version: version,
|
||||
}
|
||||
|
||||
|
|
@ -91,6 +95,7 @@ func (c *Config) Sanitized() *Config {
|
|||
|
||||
MailerEmailFrom: c.MailerEmailFrom,
|
||||
SupportEmail: c.SupportEmail,
|
||||
GoogleMeasuringID: c.GoogleMeasuringID,
|
||||
|
||||
Version: c.Version,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue