Skip to content

Commit

Permalink
Merge pull request #7181 from segmentio/prigiattiperrut-patch-8
Browse files Browse the repository at this point in the history
Analytics.js sources are required for Custom Domain
  • Loading branch information
pwseg authored Nov 14, 2024
2 parents 3a03006 + a82cd7c commit b7d24eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connections/sources/custom-domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To configure Custom Domain:
- **Subject**: Enter a subject line for your support request.
- **Domain Name**: Enter the subdomain that Segment should use for event request tracking.
- **Additional Domain Name**: If applicable, add an additional subdomain. This field is optional.
- **Source names**: Select the sources you would like to use for Custom Domain. For a list of all sources that support Custom Domain, see [Supported sources](#supported-sources).
- **Source names**: Select the sources you would like to use for Custom Domain. Segment recommends starting with a stage or dev source. For initial setup, an [Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/) source is required. For a list of all sources that support Custom Domain, see [Supported sources](#supported-sources).
- **Is the domain name enabled for Content Policy**: Select either Yes or No. You are not required to create a Content Policy prior to requesting Custom Domain. If you've enabled a Content Security Policy (CSP), you must add the new subdomains provided by Segment to your CSP once you've enabled the Custom Domain feature. This ensures that the CSP does not block the subdomains when you load Segment.

- **Description**: Enter an optional description for your service request. If you are requesting Custom Domain for multiple workspaces, enter any additional workspace slugs and source names into this field.
Expand All @@ -64,7 +64,7 @@ To configure Custom Domain:
Segment recommends creating a different subdomain (for example, `mysubdomain.mydomain.com`) for each source. You cannot connect multiple custom domains to the same source.

### What sources can I use with Custom Domain?
Custom Domain was largely developed to support JavaScript sources. It helps with comprehensive collection of first-party data from your website when accessed over any platform (desktop, mobile, and more). You can use the subdomain for all other non-JavaScript sources as well, for consistency, but it will have no impact on data collection for those sources.
For initial setup, Segment requires an [Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/) source. Custom Domain was largely developed to support JavaScript sources. It helps with comprehensive collection of first-party data from your website when accessed over any platform (desktop, mobile, and more). You can use the subdomain for all other non-JavaScript sources as well, for consistency, but it will have no impact on data collection for those sources.

### How can I configure non-JavaScript sources to use Custom Domain?

Expand Down

0 comments on commit b7d24eb

Please sign in to comment.