Hi there!
I was looking at the potential of coding in a modal where it has two options to pick from and in return, it sends the user off to the relevant terms & conditions. However, I am looking at the idea of coding it to use a cookie to determine if the user has already accepted the terms&conditions before.
My first question is regarding where this should exist – I am a bit new to the whole world of wordpress, however I see the ability to add HTML to things like the header, footer, etc., but I get a bit confused when it comes to doing things like getting/setting a cookie, is it best to just include it in the HTML as a <script> tag? Or is it better to have it elsewhere?
Include your modal and cookie script in the footer of your WordPress site with a <script> tag, this ensures that your HTML load first