Documentation v1.1.0

Preview Purchase


Cookie is an exclusive component of Good that provides a simple integrated way to manage cookies via Javascript. For more info on cookies, please visit:


Cookie's Javascript bundles are globally included in all pages. However, custom cookie management will require additional JS to be included.
<script src="assets/js/scripts.bundle.js"></script>


  • Cookie is globally initialized and can be controlled via our custom get, setand removeAPI methods.
  • Cookie instances can also be controlled programmatically. See below for more info.


All Cookie components are initialized automatically, however the following are Cookie's API functionality methods for more control.
Name Description
set(name, value, options) Create a new Cookie with specified name, valueand options
var date = new Date( + 2 * 24 * 60 * 60 * 1000); // +2 day from now
var options = { expires: date };
KTCookie.set("user_logged_in", "yes", options);
get(name) Returns the selected cookie if applicable.
remove(name) Destroys the selected cookie.
Learn & Get Inspired

Support at

Join our developers community to find answer to your question and help others. FAQs
Get Support
From guides and how-tos, to live demos and code examples to get started right away.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now