The service list: structure and maintenance

A simple and readable structure

The tarteaucitron service list is defined as a JavaScript object. Each service corresponds to a clear, readable, and self-contained configuration block.

This block describes the service type, name, information links, potential cookies, and most importantly how the service is loaded or blocked.

Loading and fallback

Each service exposes a loading function executed when consent is given. A fallback function displays a call to action when the service is refused.

This mechanism is used, for example, to replace an iframe with a message explaining data collection and offering a button to enable the service.

Deliberate manual maintenance

Adding and maintaining services is the most time-consuming part of the project. Fortunately, changes on the third-party side remain relatively rare.

Keeping this list “hard-coded” is a deliberate choice that ensures full control over each service’s behavior.

Requests and priorities

When a service is added, it is actually implemented. The speed of integration often depends on how the request is formulated.

Constructive exchanges, open-source contributions, and precise feedback make the process smoother and faster.