Sisley EC DMP Event Check Report(2022/10/03)
===
###### tags: `sisley`、`DMP`
## InitiateCheckout
The Purchase event has triggered successfully, but the content need to be modified. Please see the **Note:Modification template** below.

## AddPaymentInfo
The Purchase event has triggered successfully, but the content need to be modified. Please see the **Note:Modification template** below.

## Purchase
The Purchase event has triggered successfully, but the content need to be modified. Please see the **Note:Modification template** below.

### The recommand solution to transfer the correct data format:
- Please help to try [JSON.stringify()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) to make sure transferring the content in correct data format, thanks.
## Note:Modification template
- Please see below of the correct data format for example.
```json=
ec[contents]=[{"id":"180011","name":"無痕粉底刷","value":"1980","category1":"彩妝","category2":"底妝","category3":"臉部彩妝刷具","brand":"Sisley","currency":"TWD","quantity":"1"},{"id":"180014","name":"立體修容刷","value":"2300","category1":"彩妝","category2":"底妝","category3":"臉部彩妝刷具","brand":"Sisley","currency":"TWD","quantity":"1"},{"id":"193250","name":"Eau de Sisley 2 清新 50ml","value":"3000","category1":"Notre sélection","category2":"Les Eaux De Sisley","category3":"Eau De Sisley 2 清新","brand":"Sisley","currency":"TWD","quantity":"1"}]
```
- The correct format of event data:
```javascript=
cyntellianalytics.track('Purchase', { //can change event name
order_id: 'TW00033831', //order id
value: '7280', //checkout total price,
amount: '7280', //checkout total price,
currency: 'TWD', //currency,
contents: [
{
'id': '180011', //product id
'name': '無痕粉底刷', //product name
'value': '1980', //product price
'category1': '彩妝',
'category2': '底妝',
'category3': '臉部彩妝刷具',
'brand': 'Sisley', //product brand
'currency': 'TWD', //currency
'quantity': '1' //product quantity
},
{
'id': '180014', //product id
'name': '立體修容刷', //product name
'value': '2300', //product price
'category1': '彩妝',
'category2': '底妝',
'category3': '臉部彩妝刷具',
'brand': 'Sisley', //product brand
'currency': 'TWD', //currency
'quantity': '1' //product quantity
},
{
'id': '193250', //product id
'name': 'Eau de Sisley 2 清新 50ml', //product name
'value': '3000', //product price
'category1': 'Notre sélection',
'category2': 'Les Eaux De Sisley',
'category3': 'Eau De Sisley 2 清新',
'brand': 'Sisley', //product brand
'currency': 'TWD', //currency
'quantity': '1' //product quantity
}
]
});
```
### The recommand solution to transfer the correct data format:
- Please help to try [JSON.stringify()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify) to make sure transferring the content in correct data format, thanks.