CDP4S implements simple Goal scoring using a custom event type. To register a Goal, simply send a CDP4SGOAL event to Sitecore CDP.
{ "browser_id": "b232d9b0-6a8a-44aa-97dc-338fff66a4ed", "channel": "WEB", "type": "CDP4SGOAL" "language": "EN" "pointOfSale": "cdp4s.local" "extGoal": { "name": "My Goal Name", "value": 10 } }
The extGoal.name and extGoal.value properties are required for the Goal to be processed. Goals are applied per-visit, and summarized by name with the value summed. Total Goal values are calculated for the session and Guest.