Using custom HTML
Building 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 will 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 need to use the Track a click through call from the Content API
Updated 2 months ago