How does the cookie table work? #510
LushawnDev
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @LushawnDev, you have to manually specify all cookies inside
The This matches all cookies starting with {
col1: '^_ga',
col2: 'yourdomain.com',
col3: 'description ...',
is_regex: true
} This only matches the specific {
col1: '_ga',
col2: 'yourdomain.com',
col3: 'description ...'
} You can customize the table (add/remove columns). The only requirement for the autoclear function to work is that the first column must contain the name of the cookie. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Forgive me if it's explained elsewhere, I have really tried looking!
I believe I understand that certain scripts are blocked/allowed based on the user settings by the
value
key in the block config if they correspond with the data attribute on a script tag.But is the
cookie_table
automatically generated? I can see there is an option foris_regex
but I'm not entirely sure what this does.In the starter config there are 2 cookies set out in the
cookie_table
. They have "description..." and expiry dates set - should I expect these to be automatically populated or do I need to enter everything in thecookie_table
myself?Thanks for any help and accepting my ignorance! And thank you to the creators for creating a really sleek and lightweight open-source option for cookie banners - it's so much nicer than the mainstream options available!
Beta Was this translation helpful? Give feedback.
All reactions