From 1edd55dabb69996113f5a6877932a2aee40be8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Tue, 7 Mar 2023 11:42:56 +0100 Subject: [PATCH 1/2] docs: mention region setup for examples --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 34c6fa4..0b453bc 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ func main() { > ```shell > cd example && FINGERPRINT_API_KEY=SECRET_API_KEY VISITOR_ID=VISITOR_ID_EXAMPLE go run visits/GetVisits_APIKey.go > ``` +> If your subscription region is not “Global/US” region, you need to switch the region in the `GetVisits_APIKey.go` source file first. ### Region If your subscription is in region other than US, you need to change the region in the configuration: From 72703b776f1b9463c107a960bf2f4b06cf8d3948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Tue, 7 Mar 2023 12:37:51 +0100 Subject: [PATCH 2/2] docs: apply suggestion Co-authored-by: Juraj Uhlar --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b453bc..4eb9fde 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ func main() { > ```shell > cd example && FINGERPRINT_API_KEY=SECRET_API_KEY VISITOR_ID=VISITOR_ID_EXAMPLE go run visits/GetVisits_APIKey.go > ``` -> If your subscription region is not “Global/US” region, you need to switch the region in the `GetVisits_APIKey.go` source file first. +> If your subscription region is not the “Global/US” region, you need to switch the region in the `GetVisits_APIKey.go` and `GetEvent_APIKey.go` source files first. ### Region If your subscription is in region other than US, you need to change the region in the configuration: