Update README.md
This commit is contained in:
parent
dd5e77bcae
commit
4b8f3fb9e5
30
README.md
30
README.md
|
|
@ -1,18 +1,20 @@
|
||||||
|
|
||||||
[](https://www.jsdelivr.com/package/npm/tarteaucitronjs)
|
[](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)
|
[](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.
|
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:
|
Clearly this script will:
|
||||||
- Disable all services by default,
|
- Disable all services by default,
|
||||||
- Display a banner on the first page view and a small one on other pages,
|
- 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,
|
- 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.
|
- Store the consent in a cookie for 365 days.
|
||||||
|
|
||||||
Bonus:
|
Bonus:
|
||||||
|
|
@ -20,9 +22,6 @@ Bonus:
|
||||||
- Incorporate a fallback system (display a link instead of social button and a static banner instead of advertising).
|
- 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
|
# How to use
|
||||||
|
|
||||||
|
|
@ -68,6 +67,9 @@ tarteaucitron.init({
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Add a service
|
||||||
|
[Visit tarteaucitron.io](https://tarteaucitron.io/en/install/)
|
||||||
|
|
||||||
# Customization
|
# Customization
|
||||||
|
|
||||||
## Create custom service
|
## Create custom service
|
||||||
|
|
@ -125,3 +127,15 @@ tarteaucitronCustomText = {
|
||||||
|
|
||||||
| Be the first sponsor! |
|
| 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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue