mycookiekit
Sign inStart for free →

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

1

Sign up at mycookiekit.com/signup and add your site domain from the dashboard.

2

In your dashboard, click your site, then go to the Install tab. Copy the script tag shown — it includes your unique Site ID.

3

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)

1

In your WordPress admin, go to Plugins → Add New.

2

Search for MyCookieKit, install, and activate the plugin.

3

Go to Settings → MyCookieKit, paste your Site ID, and save.

↓ Download WordPress plugin

Option B — Manual

1

In your WordPress admin, go to Appearance → Theme Editor.

2

Select header.php from the file list on the right.

3

Find the closing </head> tag and paste the script just before it.

4

Click Update File.

Shopify

1

In your Shopify admin, go to Online Store → Themes.

2

Next to your active theme, click Actions → Edit code.

3

In the file list, find and open theme.liquid (under Layout).

4

Find the closing </head> tag and paste the script just before it.

5

Click Save.

Note: Shopify automatically injects some tracking scripts. MyCookieKit works alongside these — it does not interfere with Shopify Payments or any native Shopify functionality.

Webflow

1

Open your project in the Webflow Designer.

2

Click the W logo in the top-left, then go to Project Settings → Custom Code.

3

Paste the script into the Head Code field.

4

Click Save Changes, then publish your site.

Squarespace

1

In your Squarespace dashboard, go to Settings → Advanced → Code Injection.

2

Paste the script into the Header field.

3

Click Save.

Note: Code Injection is available on Business plans and above.

Wix

1

In your Wix dashboard, go to Settings → Custom Code.

2

Click + Add Custom Code.

3

Paste the script, set Place Code in to Head, and set Add Code to Pages to All Pages.

4

Click Apply.

Google Tag Manager

Option A — Community Template (recommended)

1

In GTM, go to Tags → New → Discover more tag types in the Community Template Gallery.

2

Search for MyCookieKit and click Add to workspace.

3

Enter your Site ID in the template settings.

4

Set the trigger to Consent Initialization — All Pages.

5

Save and Submit your container.

Option B — Custom HTML tag

1

In GTM, go to Tags → New → Custom HTML.

2

Paste your script tag into the HTML field.

3

Set the trigger to Consent Initialization — All Pages.

4

Save and Submit your container.

Note: For Google Consent Mode v2 to work correctly, MyCookieKit must load before any Google tags (GA4, Google Ads). Using the Consent Initialization trigger ensures this.

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>

Ready to get started?

14-day free trial. No credit card required.

Start for free →