Skip to content

Commit 86f9c2b

Browse files
authored
Merge pull request #5628 from segmentio/sarahrudy-patch-18
Update custom proxy docs
2 parents 13667f2 + 40a27b9 commit 86f9c2b

File tree

1 file changed

+2
-2
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ Follow these instructions after setting up a proxy such as [CloudFront](#custom-
6969
### Snippet instructions
7070
If you're a snippet user, you need to modify the [analytics snippet](/docs/getting-started/02-simple-install/#step-1-copy-the-snippet) that's inside your `<head>`.
7171

72-
To proxy settings and destination requests that typically go to `https://cdn.segment.com`, replace:
72+
To proxy CDN settings and destination requests that typically go to `https://cdn.segment.com`, replace:
7373
```diff
7474
- t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js"
7575
+ t.src="https://MY-CUSTOM-CDN-PROXY.com/analytics.js/v1/" + key + "/analytics.min.js"
7676
```
7777

78-
To proxy tracking calls that typically go to `api.segment.io/v1`, replace:
78+
To proxy API tracking calls that typically go to `api.segment.io/v1`, replace:
7979
```diff
8080
- analytics.load("<MY_WRITE_KEY>")
8181
+ analytics.load("<MY_WRITE_KEY>", { integrations: { "Segment.io": { apiHost: "MY-CUSTOM-API-PROXY.com/v1" }}})

0 commit comments

Comments
 (0)