Watch how easy it is to add cookie consent to your Shopify store
Choose your platform and copy the code. It's that simple.
Add this code to your website's <head> section
<!-- Cookie Consent Banner -->
<script>
(function() {
// Cookie consent configuration
const config = {
position: 'bottom',
theme: 'light',
primaryColor: '#3B82F6',
title: 'We use cookies',
message: 'This website uses cookies to improve your experience.',
acceptText: 'Accept All',
rejectText: 'Reject',
preferencesText: 'Preferences'
};
// Initialize banner
window.cookieConsent = config;
})();
</script>
<script src="https://cdn.cookiebanner.com/banner.js"></script>Add to your theme's functions.php or use a plugin
// Add to functions.php
function add_cookie_consent_banner() {
?>
<script>
(function() {
const config = {
position: 'bottom',
theme: 'light',
primaryColor: '<?php echo get_theme_mod("primary_color", "#3B82F6"); ?>',
title: 'We use cookies',
message: 'This website uses cookies to improve your experience.',
acceptText: 'Accept All',
rejectText: 'Reject',
preferencesText: 'Preferences'
};
window.cookieConsent = config;
})();
</script>
<script src="https://cdn.cookiebanner.com/banner.js"></script>
<?php
}
add_action('wp_head', 'add_cookie_consent_banner');Add to your React app's main component
import { useEffect } from 'react';
function CookieConsent() {
useEffect(() => {
const config = {
position: 'bottom',
theme: 'light',
primaryColor: '#3B82F6',
title: 'We use cookies',
message: 'This website uses cookies to improve your experience.',
acceptText: 'Accept All',
rejectText: 'Reject',
preferencesText: 'Preferences'
};
window.cookieConsent = config;
// Load the script
const script = document.createElement('script');
script.src = 'https://cdn.cookiebanner.com/banner.js';
script.async = true;
document.head.appendChild(script);
return () => {
document.head.removeChild(script);
};
}, []);
return null;
}
export default CookieConsent;Click the copy button for your platform
Add to your website's head section
Your banner is live and GDPR compliant
From code to live banner in under 5 minutes
Copy the integration code from your dashboard
<script>
window.cookieConsent = {
position: 'bottom',
theme: 'light',
primaryColor: '#3B82F6'
};
</script>
<script src="https://cdn.cookiebanner.com/banner.js"></script>Add to your theme's functions.php or use a plugin
Paste directly into your website's head section
Add to your main component or _app.js file
Drag the slider to see how your website looks with and without our cookie banner
No cookie banner
❌ Not GDPR Compliant
Risk of €20M+ fines
GDPR compliant
✅ GDPR Compliant
Protected from fines
👆 Drag the slider to see the difference
Setup takes less than 5 minutes
See how we compare to popular Shopify cookie consent apps
How we stack up against the competition
| Feature | Our Solution | Cookiebot | OneTrust |
|---|---|---|---|
Load Time How fast the banner loads | 50ms | 200ms | 300ms |
Bundle Size JavaScript file size | 2KB | 15KB | 25KB |
Mobile Optimized Works perfectly on mobile devices | |||
GDPR Compliant Meets all GDPR requirements | |||
CCPA Compliant Meets California privacy law | |||
PIPEDA Compliant Meets Canadian privacy law | |||
Consent Logging Records all consent decisions | |||
Free Tier Free for small websites | Unlimited | 1 domain | No free tier |
Pricing Cost for premium features | $9/month | $99/month | $200/month |
Setup Fee One-time setup cost | Free | $500 | $1000 |
Setup Time Time to get running | 5 minutes | 2 hours | 1 day |
No Coding Required Works without technical knowledge | |||
Easy Customization Simple to customize appearance |
4x faster load time than competitors
90% cheaper than enterprise solutions
Covers all major privacy laws globally
Get your Shopify store compliant in minutes, not hours
Use our visual builder to create a custom cookie banner that matches your Shopify theme.
Copy the generated code and paste it into your Shopify theme.liquid file.
Publish your store and you're compliant! The banner automatically handles all consent management.