Marketing permission and GDPR compatibility
Marketing permission or newsletter consent from customers is recorded either during order confirmation or through customer webhooks. In case of order confirmation, the consent is received through the marketingPermission flag. These fields tell Nosto if the customer has given their GDPR compliant consent for receiving marketing emails.

Consent - Order confirmation

When a customer is placing an order for any product, the checkout page will collect the customer's consent for receiving the marketing emails as shown below,
Consent during order confirmation
When the customer selects Email me with news and offers option and confims the order, the consent along with order information will be sent to Nosto through /order/track API in the following format,
1
{
2
"info": {
3
"order_number":"4321633632470",
4
"type":"order",
5
"email":"[email protected]",
6
"first_name":"Mani",
7
"last_name":"Nosto",
8
"newsletter": "true"
9
},
10
"items": [{
11
"product_id":"7190446571734",
12
"sku_id":"41479723778262",
13
"name":"Cool Kicks",
14
"quantity":1,
15
"unit_price":123.12,
16
"price_currency_code":"EUR"
17
}]
18
}
Copied!

Consent - Customer update

A merchant will be able to update customer's information or their marketing constent from store management (Admin) page.
Update Marketing Consent
During this process, Nosto will receive updated customer information, in following format, through a pre-configured webhook,
1
{
2
"id": "12345",
3
"email":"[email protected]",
4
"first_name":"Mani",
5
"last_name":"Nosto",
6
"accepts_marketing": true
7
}
Copied!

Consent - Customer Tagging

A thrid approach for sending customer information to Nosto is using Page tagging. For more information, please refer Customer Information Tagging

Note:

  1. 1.
    If your store has a custom process for gathering marketing permissions or the default logic explained above doesn't fit for your store, you can override Nosto's extension to amend the behaviour. Please read more detailed instructions in our guide on Import customer data
  2. 2.
    In order manually override marketing information for a customer email, follow the steps here Manually Override Consent
Last modified 1mo ago