WP tarteaucitron.js Self Hosted


This plugin aims to integrate and ease the use of tarteaucitron.js in WordPress. It’s developed with the creator of the service tarteaucitron.js.\
No additionals servers are needed. The script is stored in your WordPress website.

What is tarteaucitron.js ?

The European cookie law regulates the management of cookies, and you should ask your visitors their consent before exposing them to third-party services.

Clearly this script will:

  • Disable all services by default.
  • Display a banner on the first-page view and a small one on other pages.
  • Display a panel to allow or deny each services one by one.
  • Activate services on the second-page view if not denied.
  • Store the consent in a cookie for 365 days.

  • Load service when user click on Allow (without reloading of the page.),

  • Incorporate a fallback system (display a link instead of the social button and a static banner instead of advertising.).

Sources : Tarteaucitron.js github


This section describes how to install the plugin and get it working.


  1. Upload the plugin files to the /wp-content/plugins/wp-tarteaucintron.js directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->wp-tarteaucintron.js screen to configure the plugin

dowloand link : wp-tarteaucitron.js


Is it the same as tarteaucitron.js?

This plugin is developped based on tarteaucitron.js.
The code of tarteaucitron.js is integrated inside the plugin. And I will try to keep it up-to-date with the latest functionnality of tarteaucitron.js

Some services have been added but aren’t visible on the admin panel

Each month (at least), I will update the plugin to integrate the latest services of tarteaucitron.js. But the services page is generated automatically based on the official documentation of tarteaucitron.js.
If a services is present in the tarteaucitron.services.js file and not on the admin panel, you can add the code to activate it on the “other” section of the admin panel.


November 28, 2019
Enfin un plugin GDPR qui me plait ! J'espère qu'il va durer. J'encourage et je remercie le dev pour son travail !
December 10, 2018
An indispensable tool, directed by a talented and responsive developer. A big thank you!
October 23, 2018
great job this plugin work very good More documentation and it will perfect ! have nice day every body
Read all 4 reviews

Contributors & Developers

“WP tarteaucitron.js Self Hosted” is open source software. The following people have contributed to this plugin.


“WP tarteaucitron.js Self Hosted” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WP tarteaucitron.js Self Hosted” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Update to the last version of tarteaucitron.js
This include the following changes:
* add services : abtasty, contentsquare, leadforensics, google webfonts, emolytics
* Add languages: Bulgarian and Romanian
* Add the position “middle” for the banner
* Update some privacy uri
* Update some javascript function for services. e.g: recaptcha, vimeo, AT Internet, matomo, …

Please check that all your service are working correctly.
If you can’t find your service in the list of services, you’ll need to add yourself the code in the textarea provided for this.


  • Remove stat, to fix breaking call


  • Added Option for anonymous statistics


  • Corrected “UseExternalCss” option to load a custom alternatif css file from the default one if set to true.


  • Update menu “Languages” to “Texts”


  • Default value for initialisation script on the front end


  • corrected bug on initialisation settings


  • Added link to little documentation


  • Corrected minor bugs


  • removed option use external css that caused css bug on the website (this option is coming back when I found a patch)
  • Changed shortcode message


  • Corrected little bugs in update 1.0.4
  • If the banner stay even after the user accept, please save at least once the initisalisation option and remove all the cookies for the website in the browser


  • Update to script release 1.2
  • Updated services by adding new services (Hubspot, Twitter Widget Api)
  • Added initialisation variable ‘useExternalCss’
  • Added Greeks translation


  • Added ability to change the cookie name
  • Updated Service page by adding new services (adform, adsense, GetQuanty, HotJar, Koban, Matomo)
  • Updated roadmap
  • Updated to last version of tarteaucitron.js


  • corrected little bug with settings


  • Updated roadmap


  • Added feature to customize frontend texts.


  • added matomo service
  • added koban service
  • Updated tarteaucitron.js
  • added fb-video
  • Updated roadmap
  • corrected some texts


  • Initialisation of tarteaucitron.js without writing javascript
  • Possibility to customize the expiration time of the cookie
  • Possibility to choose the language for the frontend


  • Added default value for initialisation script


  • Initialisation script with a text area to insert the code. (Without the tag)
  • Services script with a text area and checkboxes to activates the services needed.