diff --git a/algolia/analytics/utils.go b/algolia/analytics/utils.go index 8250abea5..a7981f803 100644 --- a/algolia/analytics/utils.go +++ b/algolia/analytics/utils.go @@ -11,7 +11,7 @@ import ( func defaultHosts(r region.Region) (hosts []*transport.StatefulHost) { switch r { case region.EU, region.US: - hosts = append(hosts, transport.NewStatefulHost(fmt.Sprintf("%s.analytics.algolia.com", r), call.IsReadWrite)) + hosts = append(hosts, transport.NewStatefulHost(fmt.Sprintf("analytics.%s.algolia.com", r), call.IsReadWrite)) default: hosts = append(hosts, transport.NewStatefulHost("analytics.algolia.com", call.IsReadWrite)) }