In Sarbacane, synchronized list connectors (Magento, PrestaShop, WordPress, Salesforce, MySQL) do not automatically update the "Email behavioral tracking consent" system field (pixelOptin in the API). To manage your contacts' behavioral tracking consent (measurement of opens and clicks), use the Sarbacane API or an import into a standard list.
Native connectors synchronize a predefined set of fields that does not automatically fill in the "Email behavioral tracking consent" field.
This protects your data against silent re-subscription:
Synchronizations from a CRM or an online store are one-way (from the external source to Sarbacane).
If the external source imposed the consent status, any behavioral tracking refusal recorded in Sarbacane would be overwritten at the next synchronization.
Note: the "Email behavioral tracking consent" field is a system field attached directly to the contact, not to a list. Changing it applies to every list the contact appears in, including synchronized lists.
Send the consent value directly to the contact record through the API, using the pixelOptin field: "1", "oui", "true" or "vrai" for active status, "0", "non", "false" or "faux" for inactive status. This method suits new sign-ups through forms or real-time updates.
Create a standard list separate from your synchronized list.
Import your contacts file with a consent column (named suivi, for example) containing "1", "oui", "true" or "vrai" for active status, or "0", "non", "false" or "faux" for inactive status.
At the column mapping step, map your column to the "Email behavioral tracking consent" system field.
Once the update is done (via API or import), the consent value is refreshed on the contact record (directory) and applies to every list the contact appears in, including your synchronized list.
Note: you can then delete the standard list, which is only used to update your existing contacts.
No native connector automatically sends consent back to your CRM or database (Magento, PrestaShop, WordPress, Salesforce, MySQL). There are two solutions, to be set up with your development team.
Sarbacane can notify your application in real time each time a contact accepts or refuses behavioral tracking:
In Sarbacane Campaigns, open Settings > API & webhooks > Webhooks tab.
Create a webhook with your application's URL.
In the Behaviors group, tick the Behavioral tracking consent event, then save.
Your application then receives a notification for each change and can update the matching contact in your tool, using their email address. See How do I set up a webhook in Sarbacane Campaigns?.
If you prefer a periodic update, build a two-step integration:
Query the Sarbacane API: use the read endpoint GET /v1/lists/{listId}/contacts to list and filter the contacts of a list (by email, phone number or date) and retrieve their system fields, including pixelOptin.
Feed the external source: write a script that sends the retrieved data to your external tool's API (Magento, PrestaShop, WordPress, Salesforce API or direct SQL write), matching contacts by email address.
Important: there is no endpoint to query a single contact directly by its identifier. The search must go through the filtered list
GET /v1/lists/{listId}/contacts.