Skip to content

Commit 4597d8e

Browse files
authored
Merge pull request #626 from segmentio/repo-sync
repo sync
2 parents 57f77b5 + b137dd7 commit 4597d8e

File tree

1 file changed

+9
-1
lines changed
  • src/connections/sources/catalog/libraries/server/node

1 file changed

+9
-1
lines changed

src/connections/sources/catalog/libraries/server/node/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ This will create an instance of `Analytics` that you can use to send data to Seg
3535
### Regional configuration
3636
For Business plans with access to [Regional Segment](/docs/guides/regional-segment), you can use the `host` configuration parameter to send data to the desired region:
3737
1. Oregon (Default) — `api.segment.io/v1`
38-
2. Dublin — `events.eu1.segmentapis.com/v1/`
38+
2. Dublin — `events.eu1.segmentapis.com`
39+
40+
An example of setting the host to the EU endpoint using the Node library would be:
41+
```javascript
42+
var analytics = new Analytics('YOUR_WRITE_KEY', {
43+
host: "https://events.eu1.segmentapis.com"
44+
});
45+
```
46+
3947
## Identify
4048

4149
> note ""

0 commit comments

Comments
 (0)