Use custom HTML
Build your own HTML: how to add link tracking to enable reporting.
If you are building your own HTML from the data returned by the appjson, compact , and full request types when getting the Slot contents using the Content API, then you need to make sure you add some tracking information so Fresh Relevance can track the click-throughs.
The necessary tracking parameters are in the meta JSON field from the response for appjson, compact , and full request types.
Example:
{
"meta":
{
"tmsl":"my-slot-here",
"tmsb":"abc123",
"tmrl":"xyz123",
"tmcs":"yyy000",
"tmcv":0
}
}
A description of the metadata fields and their meaning is:
Field | Type | Description |
---|---|---|
tmsl | string | The Slot ID. |
tmsb | string | The SmartBlock ID. |
tmsn | string | The SmartBlock name. |
tmrl | string | The rule ID. |
tmcs | string | The layout ID. |
tmcv | integer | The layout revision. |
tmty | string | The Slot type (Email / Web). |
To track the click-through, you must use the Track a click through call from the Content API.
Updated about 1 month ago