Skip to content

Instantly share code, notes, and snippets.

@Chuvisco88
Last active October 25, 2023 19:44
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Chuvisco88/2b446a5c9190b77b41eaafab358223ec to your computer and use it in GitHub Desktop.
Save Chuvisco88/2b446a5c9190b77b41eaafab358223ec to your computer and use it in GitHub Desktop.
An approach on how to add cookie consent to a jekyll page
@Axpere
Copy link

Axpere commented Jul 11, 2020

Hi!
I was looking for a simple cookie consent button and this works.
Can I use this for my website?
If yes, what type of attribution do you want?
Cheers

@Chuvisco88
Copy link
Author

Chuvisco88 commented Jul 14, 2020

Hi!
I was looking for a simple cookie consent button and this works.
Can I use this for my website?
If yes, what type of attribution do you want?
Cheers

@Axpere Sure, you can just use it and I do not need any attribution :)

@Axpere
Copy link

Axpere commented Jul 22, 2020

@Chuvisco88 Thanks!

@inetbiz
Copy link

inetbiz commented Oct 20, 2021

@Chuvisco88
Copy link
Author

@inetbiz should be very much possible given you are using jekyll, yes

@Chuvisco88
Copy link
Author

@andreyka26-git you are mistaken, it is possible to disable the ip lookups. Have a look at https://github.com/osano/cookieconsent for reference of the options that can be passed with window.cookieconsent.initialise

@andreyka26-git
Copy link

sorry you are right, I misconfigured it. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment