Poliogo

A Django cookie banner that blocks trackers before consent

Poliogo scans your Django project, classifies every cookie and tracking tag it finds, and hands you the exact files and router lines to paste, written for this framework. Django's URLconf is Python, and the include() tree means the file a new path belongs in depends on how the project splits its apps — a question the repository tree does not answer.

Guided install, exact stepsBlocks before consentConsent Mode v2 · TCF 2.3
Django — first paint
Needed to run the siteAlways allowed
Login sessionSecurity checkLoad balancing
Measurement and advertisingHeld until consent
django-analyticalGoogle Analytics 4SentrySegment
Lanes below the line stay held until a visitor chooses. Nothing above it ever waits.
16
frameworks and platforms covered
50+
tracking services classified
<5 min
signup to finished documents

Why most Django consent banners do not work

django-analytical and similar packages render their tags from a template tag in base.html. The tag is server-side, so it is emitted for every visitor regardless of a consent cookie the template never reads. A banner that renders after that has recorded a decision, not enforced one — and the enforcement is the part the ePrivacy Directive and the GDPR are actually about.

  • ✓Poliogo's banner intercepts the tracking scripts rather than sitting beside them, so a tag that has not been consented to never executes.
  • ✓Strictly necessary cookies — session, security, cart — are never held, so nothing about your product breaks while a visitor is deciding.
  • ✓Every choice is written to a consent record with a timestamp and what was on screen at the time, which is the evidence a regulator asks for.

Installing it in Django

Django registers its routes in code rather than by filename, so no tool can add a page to it by writing a file and being confident it serves. Poliogo says so plainly and hands over the exact steps instead of opening a pull request that guesses at your router.

  • ✓You get the template to add and the exact path() line using TemplateView, so no view function is needed and nothing new is imported.
  • ✓requirements.txt and pyproject.toml are both read, and the endpoint scan matches the URLs your httpx and requests calls post to — so an OpenAI or Stripe call made without an SDK is still detected.
  • ✓Trailing slash is preserved, because Django's APPEND_SLASH would otherwise redirect every link Poliogo generated.
1
Connect the repository

manage.py identifies the project as Django, and the scan reads your manifests and source the same way it does everywhere else — in memory, keeping only the service list.

2
Approve the detected stack

Every service found, in plain English, with the evidence for each. Correct anything that is wrong before a word is generated.

3
Paste three things

The page (templates/legal/privacy.html), the route line for your router, and the banner tag in templates/base.html. Poliogo writes all three out for you — it will not guess at a router it cannot read.

4
Keep the monitoring

Document updates still arrive as pull requests, because the documents are files. Only the initial wiring was yours.

What you get on a Django project

The banner is one part of it. The scan underneath is what keeps the rest true.

It finds the trackers itself

Automatic

One scan of your Django project spots django-analytical, Google Analytics 4, Sentry, Segment and around fifty more — and sorts each into strictly necessary, analytics or advertising without being told.

It holds them until people agree

Most banners record a choice and let the scripts run regardless. This one gates execution, which is the behaviour the ePrivacy Directive describes and the one an auditor can actually observe.

Policy pages, not just a banner

Privacy, cookie and terms pages written into your project — templates/legal/privacy.html and its siblings — so they are yours, indexable, and styled by your own layout.

Geo-aware without a country list

European visitors get a consent gate, Californians an opt-out with Global Privacy Control honoured, Israeli visitors their own regime. GDPR is on every plan; CCPA and Israeli law from Starter.

It notices when you add something

Drift

The next scan of the repository is diffed against the snapshot your documents were generated from, so a new tag becomes an update you approve rather than a quiet inaccuracy.

Consent Mode v2 and TCF 2.3

Google Consent Mode v2 signals go out on every plan, so your ad reporting keeps modelling conversions for visitors who decline. IAB TCF 2.3, which many EU ad networks require, is included from Pro Builder.

Questions people ask

Will the banner slow down my Django site?

No. The banner is a small async script that loads in the background and paints in one frame — it is not a framework, a UI library or a tag manager. Your Core Web Vitals do not move, which matters because for most sites the consent banner is the only third-party script on a page that has any reason to be there.

Does it actually block django-analytical before someone agrees?

Yes, and that is the difference worth paying attention to. django-analytical and similar packages render their tags from a template tag in base.html. The tag is server-side, so it is emitted for every visitor regardless of a consent cookie the template never reads. Poliogo holds the non-essential scripts back until a visitor chooses, rather than asking politely while they run anyway — which is the part regulators look at.

Where does the privacy policy page end up in a Django project?

At templates/legal/privacy.html, which serves /privacy/. It is a normal file in your project — your layout wraps it, your styles apply to it, and you can edit it afterwards like anything else in the repository.

Do I need to know which cookies my site sets?

No — that is the scan's job. It finds the tracking your project actually uses (django-analytical, Google Analytics 4, Sentry and around fifty more), sorts each one into strictly necessary, analytics or advertising, and writes the cookie table for you. You confirm the list rather than compiling it.

Is this free?

The Free plan covers one project with a privacy policy, a cookie policy, the banner and unlimited manual re-scans — no credit card, and not a trial. Paid plans add Terms of Service, automatic background monitoring, more projects and the MCP server for Cursor and Claude Code.

What happens when I add a new tracker later?

The next scan of the repository sees it, updates the cookie classification and the policy text, and shows you exactly what changed in plain English before anything is published. On Free you run that scan whenever you like; paid plans watch for it in the background.

Put a working consent banner on your Django site

Connect the project and see what the scan finds in under 60 seconds. Free plan, no credit card, and nothing is written or published until you approve it. Poliogo is a compliance management technology platform, not a law firm, and this page is not legal advice.

Start free — no credit card

Poliogo is an automated code analysis and document display tool, not a law firm. Poliogo does not provide legal advice, representation, or guarantees of statutory compliance, ADA/WCAG certification, or legal immunity. Visual banners and generated documents are advisory tools and do not substitute for professional legal review.