Skip to content

Commit

Permalink
Update custom-domain.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prigiattiperrut authored Oct 8, 2024
1 parent 12a66b7 commit b364219
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/connections/sources/custom-domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ To configure Custom Domain:
## FAQ

### Can I set up multiple Custom Domains?
For best practices, Segment recommends using only **one** custom domain per domain and only in **production** environments. It is not recommended to create multiple custom domains for the same source, and there are several reasons for this:

- For default settings of the Analytics.js library, our customers only use a single segment.io - so having a single domain would be adequate.
- If you are working in the development or stage environment, we recommend that you disable any adblockers / user consent managers so that a custom domain will not be required in this case.
For best practices, Segment recommends using only **one** subdomain (e.g., `mysubdomain.mydomain.com`) per domain. Multiple custom domains for the same source are not supported.

### 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.
Expand Down

0 comments on commit b364219

Please sign in to comment.