This article will cover the following:
When to use these endpoints:
Use these endpoints to retrieve pixel code for placement on advertiser confirmation pages and enumerate available tracking domains when building affiliate link generators.
Use these endpoints to retrieve pixel code for placement on advertiser confirmation pages and enumerate available tracking domains when building affiliate link generators.
Authentication: All CAKE API requests require your
api_key parameter. Find yours under Setup → System Access → API Keys.Part of a series: This focused guide covers specific endpoints from the complete CAKE API — Tracking & Conversions reference, which documents all available endpoints for this feature area.
Available Endpoints
Get Tracking Domains
Retrieves tracking domain configurations available in your CAKE network.
When to use: Enumerate available tracking domains for use when building affiliate tracking links or validating domain configurations.
GET /api/2/tracking_domains.json| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your CAKE API key. |
| tracking_domain_id | integer | No | Filter to a specific domain by ID. |
| domain_status | string | No | active | inactive |
Sample request
GET https://yourdomain.cakemarketing.com/api/2/tracking_domains.json?api_key=YOUR_API_KEY&domain_status=activeSample response
{
"request_status": "Success",
"tracking_domains": [
{
"tracking_domain_id": 1,
"domain": "track.yournetwork.com",
"domain_status": "active",
"is_default": true
}
]
}You may also be interested in:
If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.
You may also be interested in:
If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.