Skip to content

Commit cf989d8

Browse files
Merge pull request #7518 from segmentio/pixel-api-supported-sources
Add support for Pixel API to Custom Domain docs
2 parents f822665 + 0e5250c commit cf989d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/connections/sources/custom-domain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Custom Domain supports the following sources:
3737
- [Python](/docs/connections/sources/catalog/libraries/server/python/)
3838
- [Ruby](/docs/connections/sources/catalog/libraries/server/ruby/)
3939
- [.NET](/docs/connections/sources/catalog/libraries/server/net/)
40+
- [Pixel API](/docs/connections/sources/catalog/libraries/server/pixel-tracking-api/)
4041

4142
## Getting started
4243

@@ -73,6 +74,7 @@ For non-Analytics.js sources, you’ll need to update your implementation to use
7374

7475
- **Server Sources**: When sending data from server-side implementations, use the `host` configuration parameter to send data to your subdomain instead of the default Segment domain.
7576
- **Mobile Sources**: When sending data from mobile implementations, use the `apiHost` configuration parameter to send data to your subdomain instead of the default Segment domain.
77+
- **Pixel API Sources**: When sending data from Pixel implementations, modify the endpoint from Segment's default domain (`https://api.segment.io/v1/pixel/track`) to your custom domain (`https://api.mysubdomain.mydomain.com/v1/pixel/track`).
7678

7779
### Is there a benefit in migrating server-side sources over to client-side with Custom Domain?
7880
Server-side tracking is generally more reliable than client-side tracking. For example, when tracking data client-side, you might lose data when users might block all cookies or use tools that interfere with network requests leaving the browser.

0 commit comments

Comments
 (0)