Skip to content

Commit f0331ff

Browse files
Update Regional Endpoint doc to provide examples
## Proposed changes I added https:// to the front of the regional endpoints and I also provided an additional example of what it should look like when setting the host ## Merge timing As soon as approved.
1 parent eaa8136 commit f0331ff

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/guides/regional-segment.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ All Segment client-side SDKs read this setting and update themselves automatical
4646

4747
### Server-side and project sources
4848
When you send data from a server-side or project source, you can use the `host` configuration parameter to send data to the desired region:
49-
1. Oregon (Default) — `api.segment.io/v1`
50-
2. Dublin — `events.eu1.segmentapis.com/`
49+
1. Oregon (Default) — `https://events.segmentapis.com/v1`
50+
2. Dublin — `https://events.eu1.segmentapis.com/`
51+
52+
Here is an example of how to set the host:
53+
54+
```json
55+
Analytics.Initialize("<YOUR WRITEKEY HERE>", new Config().SetHost("https://events.eu1.segmentapis.com (https://events.eu1.segmentapis.com/)"));
56+
```
5157

5258
## Create a new workspace with a different region
5359

0 commit comments

Comments
 (0)