Custom event with custom data that maps with transformation
This is similar to the section Custom event with custom data that maps without transformation, but with the difference that the data from the Sitecore 8.x page event cannot be mapped to the Sitecore 9 custom event without the data being transformed.
Consider an example where, in Sitecore 8.x, you captured a page event when the visitor views a page that displays the status of his membership in a customer loyalty program.
In MongoDB, the page event looks like the following:
In Sitecore 9, you created the following custom event to represent this data:
You want to implement the following mapping:
|
Sitecore 8.x property |
Sitecore 9 property |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|