Custom Domains
Configure a custom domain for your tracking script. This allows the script to load from your domain (e.g., track.yourcompany.com) instead of the default Bullseye domain.
Set Custom Domain
Set or update the custom domain for the partner tracking script.
Request:
PUT /partner/domainBody:
{
"domain": "track.yourcompany.com"
}| Field | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | The custom domain (subdomain or apex) |
Response:
{
"domain": "track.yourcompany.com",
"verified": false,
"verificationRecord": "bullseye-verify=abc123",
"cnameTarget": "track.bullseye.so",
"dnsRecords": [
{
"type": "CNAME",
"name": "track.yourcompany.com",
"value": "track.bullseye.so"
}
],
"instructions": "Add a CNAME record pointing track.yourcompany.com to track.bullseye.so"
}Example:
curl -X PUT "https://api.app.bullseye.so/api/v1/partner/domain"
-H "X-Partner-API-Key: your-api-key"
-H "Content-Type: application/json"
-d '{"domain": "track.yourcompany.com"}'Get Verification Info
Retrieve DNS verification details and instructions for the configured domain.
Request:
GET /partner/domain/verificationResponse:
{
"domain": "track.yourcompany.com",
"verified": false,
"verificationRecord": "bullseye-verify=abc123def456",
"cnameTarget": "track.bullseye.so",
"dnsRecords": [
{
"type": "CNAME",
"name": "track.yourcompany.com",
"value": "track.bullseye.so",
"status": "pending"
}
],
"instructions": "Add a CNAME record in your DNS provider: Name: track.yourcompany.com, Value: track.bullseye.so. Propagation may take up to 48 hours."
}Verify Domain
Trigger domain verification. Checks DNS records and updates verification status.
Request:
POST /partner/domain/verifyResponse:
{
"success": true,
"verified": true
}If verification fails:
{
"success": false,
"verified": false,
"message": "CNAME record not found. Please ensure DNS has propagated."
}Example:
curl -X POST "https://api.app.bullseye.so/api/v1/partner/domain/verify"
-H "X-Partner-API-Key: your-api-key"DNS Setup Steps
-
Set the domain via
PUT /partner/domainwith your desired subdomain (e.g.,track.yourcompany.com). -
Add the CNAME record in your DNS provider:
- Type: CNAME
- Name: Your subdomain (e.g.,
trackortrack.yourcompany.comdepending on provider) - Value: The
cnameTargetfrom the API response (e.g.,track.bullseye.so)
-
Wait for propagation. DNS changes can take up to 48 hours to propagate globally.
-
Verify via
POST /partner/domain/verifyto confirm the domain is correctly configured. -
Update your script tag. Once verified, use your custom domain in the script URL:
<script src="https://track.yourcompany.com/script.js" data-key="your-pixel-key"></script>