|
@@ -1,18 +1,20 @@
|
|
|
+
|
|
|
[](https://www.jsdelivr.com/package/npm/tarteaucitronjs)
|
|
|
[](https://www.npmjs.com/package/tarteaucitronjs) [](https://github.com/AmauriC/tarteaucitron.js/graphs/contributors) [](https://github.com/sponsors/AmauriC)
|
|
|
|
|
|
-tarteaucitron.js
|
|
|
-================
|
|
|
-Comply to the european cookie law is simple with the french *tarte au citron*.
|
|
|
|
|
|
-# What is this script?
|
|
|
+
|
|
|
+
|
|
|
+👋 Hey, I'm Amauri, a french dev that build a GDPR friendly cookie manager.
|
|
|
+
|
|
|
+tarteaucitron was initially a simple script for my personal blog (in 2013), a few months later, the Github repository is opened and tarteaucitron is now reliable and recognized.
|
|
|
+
|
|
|
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.
|
|
|
|
|
|
Bonus:
|
|
@@ -20,9 +22,6 @@ Bonus:
|
|
|
- Incorporate a fallback system (display a link instead of social button and a static banner instead of advertising).
|
|
|
|
|
|
|
|
|
-# Installation guide
|
|
|
-[Visit tarteaucitron.io](https://tarteaucitron.io/)
|
|
|
-
|
|
|
|
|
|
# How to use
|
|
|
|
|
@@ -68,6 +67,9 @@ tarteaucitron.init({
|
|
|
</script>
|
|
|
```
|
|
|
|
|
|
+# Add a service
|
|
|
+[Visit tarteaucitron.io](https://tarteaucitron.io/en/install/)
|
|
|
+
|
|
|
# Customization
|
|
|
|
|
|
## Create custom service
|
|
@@ -125,3 +127,15 @@ tarteaucitronCustomText = {
|
|
|
|
|
|
| Be the first sponsor! |
|
|
|
|:---:|
|
|
|
+
|
|
|
+# 600M on the pro version
|
|
|
+
|
|
|
+Every month, hundreds of millions of cookies 🍪 are placed after the user's consent or simply refused.
|
|
|
+
|
|
|
+[](https://www.jsdelivr.com/package/gh/AmauriC/tarteaucitron.js)
|
|
|
+
|
|
|
+# Used by all type of website
|
|
|
+
|
|
|
+Tarteaucitron has been around for years and is now used by thousands of companies, government sites, web agencies, ... 🦾
|
|
|
+
|
|
|
+[](https://trends.builtwith.com/widgets/tarteaucitron.js)
|