TLDR: GetCookies: ~1.6 KB loader + ~20 KB banner (async) cookie consent for developers. 60-second setup. Google Consent Mode v2 included. Free tier with unlimited page views.
Read full summary
Product Hunt launch material for GetCookies. A developer-focused cookie consent tool that prioritizes performance and simplicity over enterprise complexity.
Summary by Claude AI
GetCookies: Cookie Consent for Developers Who Ship Fast
Tagline
Cookie consent in 60 seconds. ~1.6 KB. Zero config. Ship faster.
The Problem
You're shipping a product. Moving fast. Then someone asks: "Wait, are we GDPR compliant?"
What happens next usually looks like this:
- Research cookie consent tools (2 hours)
- Discover OneTrust wants you to "contact sales" (frustrating)
- Try Cookiebot, realize it's €12/month for a side project (expensive)
- Attempt DIY, read 47 pages of Google Consent Mode docs (soul-crushing)
- Finally implement something, watch your Lighthouse score drop 20 points (painful)
Cookie consent shouldn't be a project. It should be a solved problem.
The Solution
One script. 60 seconds. Done.
<script src="https://getcookies.co/api/v1/widget/loader.js"
data-domain-id="your-id"
async></script>
That's the entire implementation.
What Makes GetCookies Different
1. A Small Loader
~1.6 KB loader vs:
- OneTrust: 80-150KB
- Cookiebot: 45KB
- Termly: 35KB
- CookieYes: 30KB
Your Lighthouse score stays intact.
2. Google Consent Mode v2 (Automatic)
Since March 2024, Google requires four consent signals for ad personalization. Most developers don't even know this exists.
GetCookies sets all four signals (ad_storage, ad_user_data, ad_personalization, analytics_storage) automatically before GTM loads. No configuration required.
3. Third-Party Pixels Handled
Meta, TikTok, Pinterest, LinkedIn—we call their consent APIs automatically:
fbq('consent', 'grant/revoke')for Metattq.enableCookie()/disableCookie()for TikTok- Script blocking for everything else
You don't need to integrate each one manually.
4. Actually Blocks Scripts
<script type="text/plain" data-cookieconsent="marketing">
// This doesn't run until user consents
</script>
Add the attribute. We handle the rest.
5. Clean Developer API
// Check consent
if (window.GetCookies.hasConsent('marketing')) {
loadPixel();
}
// Listen for changes
window.addEventListener('getcookies:consent', (e) => {
console.log(e.detail); // { analytics: true, marketing: false }
});
// Open preferences
window.GetCookies.showPreferences();
No callbacks from 2010. No jQuery dependencies. Just modern JavaScript.
The Free Tier
Because side projects shouldn't need enterprise budgets:
| Feature | Free | Starter ($9) | Pro ($29) |
|---|---|---|---|
| Domains | 1 | 3 | 10 |
| Page views | Unlimited | Unlimited | Unlimited |
| Consent Mode v2 | Yes | Yes | Yes |
| Pixel integration | Yes | Yes | Yes |
| Custom branding | - | Yes | Yes |
| Priority support | - | - | Yes |
No credit card required for free tier. No 14-day trials. No "upgrade or we remove your banner." Just use it.
Who's It For
Indie Hackers
Free tier for every side project. Unlimited page views. No BS.
Startups
Ship fast. Add consent in 60 seconds. Don't let compliance slow your velocity.
Developers
Clean API. ~1.6 KB bundle. Works with every framework (Next.js, Nuxt, Astro, Remix, plain HTML).
Agencies
One dashboard for all client sites. Bulk domain management. Simple pricing.
How It Works
- Sign up — 30 seconds, Google auth available
- Add your domain — 10 seconds
- Copy the script — 10 seconds
- Deploy — However long that takes you
Total setup: Under 60 seconds.
Result: GDPR compliant, Google Consent Mode v2 configured, third-party pixels handled.
The Technical Details
For developers who care about implementation:
Synchronous Consent Defaults
The ~1.6 KB loader runs synchronously in <head>, setting consent defaults before GTM fires. This is critical—if defaults aren't set before GTM loads, they're useless.
Registered Developer ID
GetCookies has a registered Google CMP Developer ID (dODAxZj). This tells Google our consent signals are trustworthy.
Zero Layout Shift
Banner is positioned fixed from the start. No CLS. No jumping content.
LocalStorage Persistence
Consent persists across sessions. Users don't see the banner again after consenting.
Event-Driven Architecture
Modern CustomEvent API. Subscribe to getcookies:consent for reactive updates.
Comparison
| Feature | GetCookies | OneTrust | Cookiebot | Termly |
|---|---|---|---|---|
| Bundle size | ~1.6 KB | 80-150KB | 45KB | 35KB |
| Setup time | 60 sec | Weeks | Hours | Hours |
| Consent Mode v2 | Automatic | Complex | Complex | Complex |
| Free tier | Unlimited | None | 100 pages | 100 pages |
| Pricing | From $0 | Contact sales | From €12 | From $10 |
| Third-party pixels | Automatic | Manual | Manual | Manual |
The Origin Story
I kept building side projects. Every single one needed cookie consent. Every single time I'd:
- Spend hours researching
- Try some enterprise tool
- Get frustrated by complexity
- Build something half-working myself
After the third side project, I decided: I'll just build it right once and use it everywhere.
GetCookies is that solution—the cookie consent I wish existed when I started building.
First Comment (Maker)
Hey Product Hunt!
I'm the developer behind GetCookies.
Like many of you, I ship side projects. And every time, I'd hit the same annoying problem: cookie consent.
The existing tools were either:
- Too expensive — Enterprise pricing for a side project?
- Too complex — Hours of GTM configuration
- Too slow — My Lighthouse score dropped 20 points
So I built what I wanted to exist.
What I'm proudest of:
- ~1.6 KB loader
- Google Consent Mode v2 just works (no config needed)
- Free tier that's actually useful (unlimited page views)
What I'd love feedback on:
- What features are missing?
- What integrations would help?
- What's confusing about the onboarding?
Happy to answer any questions about the technical implementation, GDPR compliance, or anything else.
Thanks for checking it out!
Media Suggestions
Screenshots
- Clean dashboard with domain list
- Consent banner on a real website
- Analytics showing consent rates
- One-click script copy
- Customization panel
Demo GIF
60-second flow: Sign up → Add domain → Copy script → Paste in code → See banner live
Topics
- Developer Tools
- Privacy
- SaaS
- Productivity
- Legal Tech