---
title: "How to collect tracking pixel consent via a campaign in Sarbacane?"
description: "Learn how to insert a “To behavioral tracking preferences management” button in your Sarbacane campaigns to collect behavioral tracking consent in one click."
url: https://help.sarbacane.com/en/articles/411-how-to-collect-tracking-pixel-consent-via-a-campaign-in-sarbacane
collection: "Pixel de tracking"
updated: 2026-11-13
language: en
alternates: [fr, es]
---

# How to collect tracking pixel consent via a campaign in Sarbacane?

Learn how to insert a “To behavioral tracking preferences management” button in your Sarbacane campaigns to collect behavioral tracking consent in one click.

In Sarbacane, you can collect behavioral tracking consent (measurement of opens and clicks) directly from your emails by inserting a dedicated button in the campaign editor. This button redirects your recipient to a page where their email address is pre-filled, so they can accept or refuse tracking in one click.

## Prerequisites

-   Be logged in to your **Sarbacane** account.
    
-   Have configured the **Behavioral tracking preferences** section (Settings > Campaigns) with the “**Standard page**” method: this configuration is required to unlock the option in the campaign editor.
    

> **Note**: since the tracking pixel and tracked links are trackers within the meaning of the GDPR and the ePrivacy Directive, the recipient's choice must be expressed explicitly and be changeable at any time.

## Insert the consent management button in your campaign

1.  In Sarbacane, create or open a campaign in the editor.
    
2.  Insert a button where you want it in your layout.
    
3.  In the button properties, select the type **“To behavioral tracking preferences management”**.
    
4.  Save your campaign.
    
5.  Send a test email to check that the link works and that the email address is pre-filled.
    

> **Best practice**: place this button visibly and permanently in the footer of your recurring campaigns, next to the unsubscribe link, so your contacts can change their choice at any time.

### What you should see

When clicking the button in the test email, the recipient reaches a page showing their pre-filled email address. Their choice (“yes” or “no”) is saved immediately and updates their behavioral tracking consent in Sarbacane.

![](https://staticfiles.gleap.io/ghelparticle/AzDfgvLdyD3vpDWDdUTsZ8rNOrLNdYzL4dFksu2dmoVwTzbikeOxFGegFsNqafVuARN0Zy56NIg.png)

> **At the Verification step**: if your campaign does not contain a behavioral tracking consent withdrawal link, a window warns you before sending. Add the link while editing your message, or tick “Do not include behavioral tracking consent withdrawal” to continue. See [Why does a behavioral tracking opt-out link appear in my Sarbacane emails?](https://help.sarbacane.com/en/articles/408.md).

## Troubleshooting

**The “To behavioral tracking preferences management” option does not appear in the button properties.** The **Behavioral tracking preferences** section of your account is not set to the “Standard page” method. Change this setting in Settings > Campaigns to enable the option in the editor.

## Related articles

→ [How to configure tracking preferences for your campaigns in Sarbacane?](https://help.sarbacane.com/fr/articles/402-comment-configurer-les-preferences-de-suivi-de-vos-campagnes-dans-sarbacane.md)  
→ [How to view and modify tracking pixel consent in Sarbacane?](https://help.sarbacane.com/fr/articles/406-comment-consulter-et-modifier-le-consentement-au-pixel-de-suivi-dans-sarbacane.md)
