Last active
May 22, 2024 19:41
-
-
Save Chuvisco88/2b446a5c9190b77b41eaafab358223ec to your computer and use it in GitHub Desktop.
An approach on how to add cookie consent to a jekyll page
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 :)
@Chuvisco88 Thanks!
Can we pass liquid
site variables to https://gist.github.com/Chuvisco88/2b446a5c9190b77b41eaafab358223ec#file-jekyll-cookie-consent-html-L30 like {{ site.ga }}
?
@inetbiz should be very much possible given you are using jekyll, yes
@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
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
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