// This script is copied from Segment's official snippet: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/quickstart/
// With the following changes:
// 1. Removed the default analytics.load method so that we can rewrite the cdnHostname
// 2. Removed un-used methods form analytics.methods
Isolated Segment