---
title: "Page events - outcomes"
slug: "page-events---outcomes"
abstract: "Guide to how outcomes are mapped from Sitecore 8.x to 9 in xDB Migration Tool."
---
# Page events - outcomes

> [!note]
> For background information on page events, see the [Page events](https://doc.sitecore.com/xp/en/developers/dmt/50/xdb-data-migration-tool/page-events.html "Page events") page.

<details>
<summary><h2>Format in Sitecore 8.x</h2></summary>

In Sitecore 8.x, the outcomes for a specific interaction are captured in a separate collection from the interactions. Interactions are stored in the `Interactions` collection while outcomes are stored in the `Outcomes` collection.

An outcome is associated with an interaction through the `InteractionId` property on the outcome.

The following is an example of an outcome:

```csharp
{
    "_id" : NUUID("5184b2e7-3e81-4a1b-ac19-29ba660be20c"),
    "_t" : "ContactOutcome",
    "DefinitionId" : NUUID("52054874-4767-47dc-8099-8c08bfa307aa"),
    "EntityId" : NUUID("fcb3a453-981b-4ea6-8d6d-795732d16fda"),
    "DateTime" : ISODate("2018-01-01T11:`00:00`.000Z"),
    "MonetaryValue" : "0",
    "InteractionId" : NUUID("b3d88499-4ea9-4ab8-a747-9f980f075f53"),
    "CustomValues" : {
        "_t" : "SimpleValues",
        "Values" : [
            {
                "k" : "Outcome Name",
                "v" : "Marketing Lead"
            },
            {
                "k" : "SC Item Id",
                "v" : "460bae50-cfa9-4211-aa45-9806d9d73910"
            },
            {
                "k" : "SC Item Path",
                "v" : "/About/Locations"
            }
        ]
    }
}
```

</details>

<details>
<summary><h2>Format in Sitecore 9</h2></summary>

In Sitecore 9, outcomes are events. and all events associated with an interaction are stored directly on the interaction. The events are stored in a property named `Events`.

</details>

<details>
<summary><h2>General outcomes</h2></summary>

This section describes how general outcomes are mapped from Sitecore 8.x to 9. A general outcome is any outcome is not matched to a specific outcome type.

|     |     |
| --- | --- |
| Source object | Document from the Outcome collection whose `InteractionId` value matches the interaction |
| Event mapping definition | Event Mappings for MongoDB Outcomes > General Outcome |
| Event object type | `Sitecore.XConnect.Outcome` |
| Field mapping definition | MongoDB to xConnect Outcome Mappings > MongoDB Outcome to xConnect Outcome Event |

| Value to write to event object | Property on event object |
| --- | --- |
| Constant value empty string | `CurrencyCode` |
| `CustomValues` from source object | `CustomValues` |
| `DefinitionId` from source object | `DefinitionId` |
| `MonetaryValue` from source object | `MonetaryValue` |
| `DateTime` from source object | `Timestamp` |

</details>