Documentation
Get set up in 2 minutes
One script tag works on any platform. Paste it into your site's <head>and you're done.
Quick start
Sign up at mycookiekit.com/signup and add your site domain from the dashboard.
In your dashboard, click your site, then go to the Install tab. Copy the script tag shown — it includes your unique Site ID.
Paste the script into the <head> of every page on your site. The banner will appear automatically for first-time visitors.
Your embed code looks like this:
<script src="https://mycookiekit.com/api/script/YOUR_SITE_ID.js" async></script>Any website (HTML)
If you have access to your site's HTML, paste the script tag inside the <head> element of every page — ideally just before the closing </head> tag.
<head>
...
<script src="https://mycookiekit.com/api/script/YOUR_SITE_ID.js" async></script>
</head>WordPress
Option A — Plugin (recommended)
In your WordPress admin, go to Plugins → Add New.
Search for MyCookieKit, install, and activate the plugin.
Go to Settings → MyCookieKit, paste your Site ID, and save.
Option B — Manual
In your WordPress admin, go to Appearance → Theme Editor.
Select header.php from the file list on the right.
Find the closing </head> tag and paste the script just before it.
Click Update File.
Shopify
In your Shopify admin, go to Online Store → Themes.
Next to your active theme, click Actions → Edit code.
In the file list, find and open theme.liquid (under Layout).
Find the closing </head> tag and paste the script just before it.
Click Save.
Webflow
Open your project in the Webflow Designer.
Click the W logo in the top-left, then go to Project Settings → Custom Code.
Paste the script into the Head Code field.
Click Save Changes, then publish your site.
Squarespace
In your Squarespace dashboard, go to Settings → Advanced → Code Injection.
Paste the script into the Header field.
Click Save.
Wix
In your Wix dashboard, go to Settings → Custom Code.
Click + Add Custom Code.
Paste the script, set Place Code in to Head, and set Add Code to Pages to All Pages.
Click Apply.
Google Tag Manager
Option A — Community Template (recommended)
In GTM, go to Tags → New → Discover more tag types in the Community Template Gallery.
Search for MyCookieKit and click Add to workspace.
Enter your Site ID in the template settings.
Set the trigger to Consent Initialization — All Pages.
Save and Submit your container.
Option B — Custom HTML tag
In GTM, go to Tags → New → Custom HTML.
Paste your script tag into the HTML field.
Set the trigger to Consent Initialization — All Pages.
Save and Submit your container.
Adding a "Manage cookies" link
GDPR requires that visitors can withdraw or change their consent at any time. Add this link anywhere on your site — typically in your footer — to let visitors reopen the consent banner.
<a href="#" onclick="window.MyCookieKit.showPreferences();return false;">Manage cookies</a>