diff --git a/handlers/destinations.go b/handlers/destinations.go index 09de9f9c8..fff047714 100644 --- a/handlers/destinations.go +++ b/handlers/destinations.go @@ -130,6 +130,12 @@ func testConnection(config *storages.DestinationConfig) error { defer gcp.Close() } } + return nil + case storages.GoogleAnalyticsType: + if err := config.GoogleAnalytics.Validate(); err != nil { + return err + } + return nil default: return errors.New("unsupported destination type " + config.Type)