You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Custom Domain | A Segment service that allows your website to use your own subdomain to load Analytics.js securely over HTTPS and send event data. It is not limited to Analytics.js and is also compatible with server libraries. It uses a DNS subdomain that you delegate to Segment. |**Segment manages all related infrastructure**, including applying security updates, managing the SSL certificate lifecycle, and monitoring. | Available to users on a Business Tier plan. |
8
+
| Custom Proxy | This approach uses a Cannonical Name (CNAME) to map an alias name to the actual or 'cannonical' domain name. The CNAME record allows you to alias one domain name to another. | You must create a CNAME record to alias a subdomain that points to the Segment domain. <br><br> Customers are responsible for maintaining their own proxy infrastructure. | Available to all Segment users. |
Custom domains allow you to proxy Analytics.js and proxy all tracking event requests through your domain.
7
+
Custom proxies allow you to proxy Analytics.js and proxy all tracking event requests through your domain.
8
8
9
-
You cannot use custom proxy setup for Analytics.js CDN or Tracking API with device-mode destinations because it requires the destination's native scripts are loaded onto the client, and the requests are sent directly to the destination.
9
+
You cannot use custom proxy setup for Analytics.js CDN or Tracking API with device-mode destinations because it requires the destination's native scripts are loaded onto the client, and the requests are sent directly to the destination.
10
+
11
+
> info "Business Tier customers can also use Custom Domain"
12
+
> Custom Domain is a fully-managed service that enables you to configure a first-party subdomain over HTTPS to track event requests through your domain instead of tracking events through Segment's default domain. For more information, see the [Custom Domain](/docs/connections/sources/custom-domain) documentation.
13
+
14
+
{% include content/domain-delegation-solutions.md %}
10
15
11
16
## Custom Proxy prerequisites
12
17
13
-
To set up a custom domain, you need:
18
+
To set up a custom proxy, you need:
14
19
15
20
- Access to your site DNS settings
16
21
- A CDN you can serve assets from
@@ -20,7 +25,7 @@ To set up a custom domain, you need:
20
25
> info "Custom Proxy Troubleshooting"
21
26
> If you experience issues configuring a custom proxy, contact your organization's IT department for help. Segment does not have access to the resources you need to configure a custom proxy.
22
27
23
-
This guide explains how to set up a custom domain in CloudFront. You can apply these principles to almost any modern CDN that supports proxies.
28
+
This guide explains how to set up a custom proxy in CloudFront. You can apply these principles to almost any modern CDN that supports proxies.
24
29
25
30
You need to set up two important parts, regardless of the CDN provider you use:
Copy file name to clipboardExpand all lines: src/connections/sources/custom-domain.md
+2-6
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Custom Domain
2
+
title: Segment-Managed Custom Domain
3
3
plan: custom-domain
4
4
hidden: true
5
5
---
@@ -11,11 +11,7 @@ Custom Domain is a fully-managed service that enables you to configure a first-p
11
11
> success ""
12
12
> Segment recommends configuring Custom Domain alongside [Consent Management](/docs/privacy/consent-management/) to ensure you are respectful of your end users' consent preferences.
13
13
14
-
## Compare Segment's domain delegation solutions
15
-
16
-
Segment has two domain delegation solutions:
17
-
-**Custom Domain**: Uses a DNS subdomain that you delegate to Segment
18
-
-**[Custom Proxy](/docs/connections/sources/catalog/libraries/website/javascript/custom-proxy/)**: Uses a Canonical Name (CNAME) to map an alias name to a true or 'canonical' domain name. The CNAME record allows you to alias one domain name to another. You create a CNAME record to alias a subdomain that points to the Segment domain.
14
+
{% include content/domain-delegation-solutions.md %}
19
15
20
16
### How DNS subdomain delegation works
21
17
DNS subdomain delegation is a process where the control of a specific subdomain is assigned to another DNS server, allowing that server to manage the DNS records for the subdomain. This delegation is useful for distributing the management of DNS records and enables specialized handling of subdomain traffic.
0 commit comments