Skip to content

Commit aef0c37

Browse files
sileskystayseesong
andauthored
Apply suggestions from code review
Co-authored-by: stayseesong <[email protected]>
1 parent 36bbfb2 commit aef0c37

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,16 @@ To add a CNAME record to your DNS settings:
173173

174174

175175
## Self-Hosting Analytics.js, settings, and destinations
176-
To reduce or eliminate fetching assets from Segment's CDN, you can bundle analytics.js with your own code.
176+
To reduce fetching assets from Segment's CDN, you can bundle Analytics.js with your own code.
177177

178178

179179
To bundle Analytics.js with your own code, you can:
180-
1. Use [Analytics.js as an npm package](https://github.com/segmentio/analytics-next/tree/master/packages/browser#-using-as-an-npm-package).
180+
* [Use Analytics.js as an npm package](https://github.com/segmentio/analytics-next/tree/master/packages/browser#-using-as-an-npm-package){:target="_blank"}.
181181

182-
2. Use [npm to bundle your destinations ](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#add-destinations-from-npm) with your own code instead of fetching them from the CDN (advanced optimization -- this is generally not necessary).
182+
* [Use npm to bundle your destinations ](/docs/connections/sources/catalog/libraries/website/javascript/#add-destinations-from-npm) with your own code instead of fetching them from the CDN.
183183

184184

185-
3. Hardcode your settings instead of fetching from the CDN (not recommended -- bypass the Segment souce configuration GUI completely).
185+
* Hardcode your settings instead of fetching from the CDN (not recommended -- bypass the Segment souce configuration GUI completely).
186186
```ts
187187
// npm-only
188188
export const analytics = new AnalyticsBrowser()

0 commit comments

Comments
 (0)