Access your interface

Enter your email address to access your personal interface.

Special case: category-based CMP

Updated 15 October 2026

If your consent management platform (CMP) handles consent categories rather than vendors, Eulerian plugs into those categories: you declare them one by one, you link Eulerian to one of them, and your site passes on the user’s choices.

For a client-side installation, follow all the steps below. For a server-side installation, your partner must send the refused categories in the pmcat parameter on every call.

General opt-out (unconditional)

Separately from category management, Eulerian provides a general opt-out URL that makes a user inactive across all Eulerian processing, on every platform.

https://[DOMAINE_COLLECTE]/optout.html?url=[VOTRE_DOMAINE]

Example for the site www.example.com, whose collection domain is example.demo.com:

https://example.demo.com/optout.html?url=www.example.com

This URL is usually shown on the site’s Privacy or GDPR pages, alongside access to the CMP.

Step 1 · Declare the categories in Eulerian

Declare one category in Eulerian for each category in your site’s consent banner. The name is up to you: the script in step 4 maps it to your CMP’s category.

Where to go: Settings > Privacy management > Non-TCFv2 consent management > Categories

Click “Add a category” and give each category a name. Repeat until Eulerian has as many categories as your CMP. Note each name exactly as you typed it, capitals included: you will copy it into the script.

List of the consent categories declared in Eulerian, with the “Add a category” button

Where to go: Settings > Privacy management > Manage your Consent Managers

Click “Add a new consent manager (slave)”, then enter the name of the intermediate cookie you are going to use (case-sensitive).

Creating a slave consent manager, with the field for the intermediate cookie's name

Recommended default value: EA_cookie_intermediaire

Tip

If you would rather not set an intermediate cookie, add the epm-shared variable to your Eulerian tags. It is 0 until the user has answered, then 1 as soon as their choice is passed on, whether acceptance or refusal.

For Eulerian to know when it is allowed to collect data, you must associate it with one of the categories declared in step 1.

Where to go: Settings > Privacy center > Eulerian purposes

Select the matching category, then confirm with the verification code sent by text message.

Important

This step requires two-factor authentication. Ask your CSM to register your phone number before you carry it out.

Step 4 · Add the script to your site (client-side)

This section is for your technical team. You can pass it on as it is: it gives the script that sends the user’s choice to Eulerian, the values to fill in and how to check that the choice is sent.

The script runs every time the user saves a choice in your CMP: on their first answer, then on every change.

  • With Google Tag Manager (GTM), paste it into a Custom HTML tag, between <script> and </script>, and fire it on the event your CMP sends when the user confirms their choice.
  • Without GTM, put it in the function your CMP runs at that moment.

Important

Do not run the script before the user has answered. With an empty list of accepted categories, it sends “refuse all”: Eulerian would record a refusal the user never expressed.

// ============================================================
// CONFIGURATION
// ============================================================

// Eulerian collection domain, without https:// or a trailing slash.
var collectDomain = 'COLLECT_DOMAIN';

// Name of the shared cookie, exactly as declared in the Eulerian
// consent manager (case-sensitive).
var sharedCookieName = 'EA_cookie_intermediaire';

// Your site's domain, without subdomain. Example: example.com
var sharedCookieDomain = 'YOUR_DOMAIN';

// Lifetime of the shared cookie, in days.
var sharedCookieDays = 365;

/*
 * One line per category:
 *
 *   'category name in Eulerian': 'category identifier in your CMP'
 *
 * An Eulerian category missing from this list is refused.
 */
var categoryMapping = {
  'EULERIAN_CATEGORY_NAME_1': 'CMP_CATEGORY_ID_1',
  'EULERIAN_CATEGORY_NAME_2': 'CMP_CATEGORY_ID_2'
};

/*
 * The categories the user accepted in your CMP.
 * The list holds the CMP identifiers from the right-hand column of
 * categoryMapping, and your CMP provides it: replace
 * ACCEPTED_CMP_CATEGORIES with the variable that contains it.
 *
 * Expected shape:
 *   ['CMP_CATEGORY_ID_1', 'CMP_CATEGORY_ID_2']   two categories accepted
 *   []                                           everything refused
 * A string 'CMP_CATEGORY_ID_1,CMP_CATEGORY_ID_2' works too.
 * To test without a CMP, you can write the list directly.
 *
 * Example in GTM with Axeptio: {{axeptio_authorized_vendors}}.
 * The identifiers are then the Axeptio vendor names, for example
 * 'google_analytics'. To read them: open GTM preview, make a choice
 * in the banner, then look at the variable's value in the
 * Variables tab.
 */
var acceptedCmpCategories = ACCEPTED_CMP_CATEGORIES;

// ============================================================
// INTEGRATION: NOTHING TO CHANGE BELOW
// ============================================================

// Load the Eulerian library.
(function(e,a){var i=e.length,y=5381,k='script',s=window,v=document,o=v.createElement(k);for(;i;){i-=1;y=(y*33)^e.charCodeAt(i)}y='_EA_'+(y>>>=0);(function(e,a,s,y){s[a]=s[a]||function(){(s[y]=s[y]||[]).push(arguments);s[y].eah=e;};}(e,a,s,y));i=new Date/1E7|0;o.ea=y;y=i%26;o.async=1;o.src='//'+e+'/'+String.fromCharCode(97+y,122-y,65+y)+(i%1E3)+'.js?2';s=v.getElementsByTagName(k)[0];s.parentNode.insertBefore(o,s);})(collectDomain,'EA_push');

// Once the library is loaded, send the user's choice.
EA_push('ondone', function () {
  var categories = EA_epmGet();
  var accepted = acceptedCmpCategories;
  var allowedCount = 0;

  // Without categories there is nothing to decide: going on would write
  // the cookie at 1 and record a refusal, even for a user who accepted
  // everything. It happens when the script goes live before the
  // categories are declared in Eulerian.
  if (!Array.isArray(categories) || categories.length === 0) {
    console.error('EA: no consent category is declared in Eulerian.');
    return;
  }

  // Some CMPs provide a string "a,b,c" rather than a list. Searched as
  // a string, 'analytics' would be found inside 'google_analytics'. The
  // spaces around the commas go too, or in 'a, b' the value ' b' would
  // never match 'b'.
  if (typeof accepted === 'string') {
    accepted = accepted.trim().split(/\s*,\s*/);
  }

  // undefined or null usually means the GTM variable does not exist yet
  // when the tag fires. Nothing is sent and the cookie is left alone.
  if (!Array.isArray(accepted)) {
    console.error('EA: acceptedCmpCategories is not a list of CMP identifiers.');
    return;
  }

  // Each Eulerian category takes the choice of its CMP category. A
  // category missing from categoryMapping is refused, even when the list
  // happens to contain undefined.
  for (var i = 0; i < categories.length; i++) {
    var cmpId = categoryMapping[categories[i].name];
    var isAllowed = cmpId !== undefined && accepted.indexOf(cmpId) !== -1;
    categories[i].allowed = isAllowed;
    categories[i].denied = !isAllowed;
    if (isAllowed) {
      allowedCount++;
    }
  }

  // 1 = Eulerian has received a decision, refusal included. The cookie
  // is 0 only while the user has not yet answered the CMP.
  var expiry = new Date();
  expiry.setTime(expiry.getTime() + sharedCookieDays * 24 * 60 * 60 * 1000);
  document.cookie = sharedCookieName + '=1; domain=' + sharedCookieDomain +
    '; path=/; expires=' + expiry.toUTCString();

  if (allowedCount === 0) {
    EA_epmSetDenyAll();
  } else if (allowedCount === categories.length) {
    EA_epmSetAllowAll();
  } else {
    EA_epmSet(categories);
  }
  EA_epmEnd();
});

The values to fill in

Only the CONFIGURATION part of the script needs changing.

In the scriptReplace with
COLLECT_DOMAINYour Eulerian collection domain, without https://. Example: example.demo.com.
EA_cookie_intermediaireThe name of the intermediate cookie declared in step 2, if it is different.
YOUR_DOMAINYour site’s domain, without subdomain. Example: example.com.
EULERIAN_CATEGORY_NAME_1The name of a category declared in step 1, capitals included.
CMP_CATEGORY_ID_1The identifier of the matching category in your CMP.
ACCEPTED_CMP_CATEGORIESThe variable in your CMP that holds the identifiers of the accepted categories.

In categoryMapping, add one line per category. An Eulerian category with no line is always refused.

What the script does

Once the Eulerian library has loaded, the script:

  1. fetches the categories declared in Eulerian;
  2. accepts each category whose CMP identifier is in the list of accepted categories, and refuses the others;
  3. sets the intermediate cookie to 1;
  4. sends the result to Eulerian: all accepted, all refused, or the detail category by category.

It loads the Eulerian library itself: it works even if your Eulerian tag has not loaded on the page yet.

The intermediate cookie governs whether third-party tags and server-to-server (S2S) connectors fire. It is 1 as soon as a decision is passed on, refusal included, and is 0 only while the user has not yet answered.

  1. Open your browser’s developer tools, Network tab, and filter on misc.
  2. Make a choice in the consent banner. A misc call goes out, with the parameters in the table below.
  3. Check that the intermediate cookie is 1: Application tab in Chrome, Storage in Firefox.
User’s choiceParameters of the misc call
Accept allpm=1 and pmact=clicksave
Refuse allpm=1 and pmact=denyall
Some of the categoriespm=1, pmact=clicksave and pmcat, the IDs of the refused categories separated by -

pmcat is - when no category is refused. If an Eulerian category has no line in categoryMapping, “Accept all” gives a pmcat that contains its ID.

To test without a CMP, replace ACCEPTED_CMP_CATEGORIES with a hand-written list, for example ['analytics'], and paste the script into the browser console.

Common problems

What you seeCause and solution
ACCEPTED_CMP_CATEGORIES is not defined in the consoleThe value has not been replaced: enter your CMP’s variable.
EA_epmGet is not defined in the consoleThe consent manager is not activated in slave mode: go back to step 2.
EA: no consent category is declared in Eulerian.No category is declared: go back to step 1. The script sends nothing in the meantime.
EA: acceptedCmpCategories is not a list of CMP identifiers.The CMP variable is empty when the script runs: check its name, and that the trigger really follows the user’s choice.
A category accepted in the banner is refused in pmcatThe two columns of categoryMapping do not exactly match the Eulerian names or the CMP identifiers. Compare them, capitals included.

Going further: writing your own integration

If you write your own code, these functions are available only if the consent manager is activated in slave mode (see step 2), and once the library has loaded: call them in the EA_push('ondone', function () { … }) callback.

FunctionDescription
EA_epmGet()Returns an array of objects containing every consent category declared in Eulerian and its properties.
EA_epmSet(obj_categories)Saves the changes made to the categories object in the browser. Does not push the data to Eulerian yet: use EA_epmEnd() for that.
EA_epmEnd()Sends every category with its associated consent to Eulerian, and fires third-party tags if applicable.
EA_epmSetAllowAll()Accepts every consent category in a single operation.
EA_epmSetDenyAll()Refuses every consent category in a single operation.
_oEa.cookieset(outCookieKey, val, 1)Creates a session cookie named outCookieKey with the value val (0 or 1). Can be used as the slave cookie.

The flow is always the same: fetch, modify, save, send.

Important

Changing a category must always act on allowed and denied at the same time. To switch a category to refused, you must set denied=true and allowed=false together.

// 1. Fetch the categories
var categories = EA_epmGet();

// 2. Modify, always both properties together
categories[0].allowed = false;
categories[0].denied = true;

// 3. Save in the browser
EA_epmSet(categories);

// 4. Send to Eulerian
EA_epmEnd();

Also set the intermediate cookie to 1, as the script does: it is 1 as soon as a decision is passed on, refusal included.

Each category returned by EA_epmGet() has this structure:

var categories = [
  {
    "id": "1",               // Category ID in Eulerian, the one sent in pmcat
    "name": "performance",   // Name declared in step 1, used by the script
    "hdr": "",               // Displayed label
    "desc": "",              // Category description
    "allowed": false,        // true = accepted
    "denied": true,          // true = refused
    "mtid": "",              // Properties the script does not use
    "dcid": "",
    "noconsent": false
  },
  // { category 2 },
  // { category 3 }, ...
];

Until the user has answered, allowed and denied are both false.

Step 4b · Alternative: direct MISC calls (no JS library)

If you cannot integrate the JS library, you can send consent through a direct HTTP call from your CMP at the moment the user confirms their choices.

https://[DOMAINE_COLLECTE]/misc/[SITE_EULERIAN]/[CACHEBUSTER]?pm=1&pmact=clicksave&pmcat=[IDS_REFUSES]&url=[URL_ENCODEE]

Macros to make dynamic:

MacroDescription
[DOMAINE_COLLECTE]Collection domain of your Eulerian tags
[SITE_EULERIAN]Site name in Eulerian
[CACHEBUSTER]Random number to force reloading (e.g. 123456789)
[IDS_REFUSES]IDs of the refused categories separated by - (e.g. 1-10-19). - if everything is accepted.
[URL_ENCODEE]Encoded URL of the current page (e.g. https%3A%2F%2Fwww.example.com%2F)

URL parameters:

ParameterMandatoryDescription
pm=1YesIndicates that consent is being handled
pmact=clicksaveYesConsent save action
pmcatYesIDs of the CMP categories to disable for this user, separated by -. - if the user accepts everything

For Android and iOS apps, consent is passed directly through the pmcat parameter on every call, containing the IDs of the refused categories separated by -.

Example with 3 categories declared in Eulerian:

  • analytics → ID 1

  • publicité → ID 10

  • fonctionnel → ID 19

  • if the user refuses analytics and publicité but accepts fonctionnel → pmcat=1-10;

  • if the user accepts everything → pmcat=-.

Android

// Without values (placeholder)
EAProperties genericTag = new EAProperties.Builder("NOM_PAGE")
  .setUID("UID")
  .set("NOM_PARAM_PERSO", "VALEUR_PARAM_PERSO")
  .set("pmcat", "CATEGORIES_CMP_REFUSEES")
  .build();
EAnalytics.getInstance().track(genericTag);

// With real values (categories 1 and 2 refused)
EAProperties genericTag = new EAProperties.Builder("|univers|rubrique|page")
  .setUID("5434742")
  .set("abonnement", "mensuel")
  .set("pmcat", "1-2")
  .build();
EAnalytics.getInstance().track(genericTag);

iOS

// Without values (placeholder)
let genericTag = EAProperties(path: "NOM_PAGE")
genericTag.setEulerianWithUid(uid: "UID")
genericTag.setEulerianWithValue("VALEUR_PARAM_PERSO", forKey: "NOM_PARAM_PERSO")
genericTag.setEulerianWithValue("CATEGORIES_CMP_REFUSEES", forKey: "pmcat")
EAnalytics.track(genericTag)

// With real values (categories 1 and 2 refused)
let genericTag = EAProperties(path: "|univers|rubrique|page")
genericTag.setEulerianWithUid(uid: "5434742")
genericTag.setEulerianWithValue("mensuel", forKey: "abonnement")
genericTag.setEulerianWithValue("1-2", forKey: "pmcat")
EAnalytics.track(genericTag)

Noscript (direct HTTP call)

// Without values (placeholder)
//example.demo.com/collector/-/[RANDOM].html?
uid=REMPLACER_PAR_ID_USER
&urlp=REMPLACER_PAR_NOM_DE_LA_PAGE
&url=https%3A%2F%2Fwww.example.com%2F
&pmcat=CATEGORIES_CMP_REFUSEES
&rf=

// With real values (categories 1 and 2 refused)
//example.demo.com/collector/-/544534509876.html?
uid=123456789
&urlp=univers%2Frubrique%2Fpage
&url=https%3A%2F%2Fwww.example.com%2F
&pmcat=1-2
&rf=

This step only concerns customers with the Eulerian Segmentation module.

From the Audience Engine, you can send audiences to your partners in three ways:

  • Downloading a list of identifiers
  • A one-off send through a native connector
  • An automated daily send through a native connector (automated query)

In all three cases, user consent must be built into the query. To do so, add the “Consented partner categories” rule to your query.

The “Consented partner categories” rule added to an Audience Engine query

Note

For automated queries, this rule must be built into the saved query that will then be scheduled.