Tracked Link API
1.0.0
Create and manage tracked links for Marketing Cloud Next. Tracked links support click tracking and UTM parameters for campaigns.
This table lists the tracked link-related use cases that the API supports.
| Supported Use Case | HTTP Verb | URI |
|---|---|---|
| Create a tracked link | POST | /services/data/{apiVersion}/connect/cms/contents |
| Get a tracked link | GET | /services/data/{apiVersion}/connect/cms/contents/{contentId} |
| Update a tracked link variant | PUT | /services/data/{apiVersion}/connect/cms/contents/variants/{variantId} |
| Delete a tracked link variant | DELETE | /services/data/{apiVersion}/connect/cms/contents/variants/{variantId} |
API Structure
Tracked link content uses this request structure:
{
"contentSpaceOrFolderId": "0Zuxx00000003M5CAI",
"contentType": "sfdc_cms__trackedLink",
"contentBody": {
"sfdc_cms:title": "Campaign Link",
"campaign": "701xx000000001AAA",
"destinationUrl": "https://www.example.com/product",
"utmSource": "email",
"utmMedium": "newsletter"
}
}
Content Properties
The contentBody object has the properties listed in this table.
| Property | Type | Description |
|---|---|---|
sfdc_cms:title |
string | The title of the content item. |
campaign |
string | The campaign record ID. |
destinationUrl |
string | The destination URL of the link. |
utmSource |
string | The traffic source. |
utmMedium |
string | The marketing medium. |
utmCampaign |
string | The UTM campaign name. |
utmTerm |
string | The search term associated with the link. |
utmContent |
string | Identifies the content that brought the user to the tracked link. |
utmId |
string | The campaign ID. |
utmSourcePlatform |
string | The source platform. |
rewrittenUrl |
string | The system-generated tracked URL. |
expiryTime |
datetime | The date and time when the tracked link expires. |
sequenceId |
string | A sequence identifier. |
https://{subdomain}.my.salesforce.com
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!