tarteaucitron.js 1.31.0 was released on March 4, 2026. This update changes how statistics are collected, adds two services and includes several fixes related to the library’s behavior and rendering.
The changes are available in the official GitHub release.
Statistics collection using sendBeacon
The main technical change in this release concerns the use of the beacon mechanism to transmit statistics.
The browser’s Beacon API makes it possible to send small amounts of data asynchronously, without relying on a conventional request that might be interrupted when the visitor closes or navigates away from the page.
This approach is suitable for transmitting events that do not require an immediate server response.
The change affects the internal statistics collection mechanism in tarteaucitron.js. It does not modify the consent choices presented to visitors.
Two new services: User.com and TeamBrain
Two new integrations have been added to the supported services:
- User.com, a customer communication and automation platform.
- TeamBrain, added with a contribution from @julienbelluco.
These integrations make it possible to declare the corresponding services in tarteaucitron.js and condition their loading on consent preferences, depending on their configuration.
As with other services, being included in the library does not mean that they are automatically loaded on websites. The integration must be explicitly enabled.
Fix for service registration
A fix now prevents the internal tarteaucitron.launch property from switching back to false when the same service is added a second time.
This behavior could interfere with service initialization tracking in certain configurations.
The fix improves internal consistency when a service is declared more than once.
Accessibility: fixing a duplicate line break
An accessibility fix was contributed by @nicozerr to address a duplicate HTML <br/> element.
This change aims to improve the structure of content displayed by tarteaucitron.js.
The details are available in the corresponding GitHub commit.
Performance: fixing layout thrashing
Another fix concerns the internal jsSizing function, which is involved in calculating interface dimensions.
The identified issue was related to layout thrashing, a situation where repeated DOM dimension reads and modifications can trigger unnecessary layout recalculations.
The fix contributed by @pierre-bossetti aims to reduce this behavior.
This kind of optimization is particularly useful for a library loaded on pages with widely varying HTML structures and styles.
MadMetrics service update
The MadMetrics service has also been updated with an additional llm parameter.
This change concerns the service integration configuration and does not introduce a general change to the consent panel.
Thanks to the contributors
This release includes contributions from @nicozerr, @julienbelluco and @pierre-bossetti.
Contributions involving accessibility, performance and service integrations directly support the ongoing maintenance of tarteaucitron.js.
Updating tarteaucitron.js
Version 1.31.0 is available on GitHub.
For installations using the open source library directly, updating means replacing the relevant files with those from the new version and checking the behavior of the services in use.
This release mainly focuses on technical maintenance, without introducing major changes to the interface or the usual consent management workflow.


