Poliogo

A Angular cookie banner that blocks trackers before consent

Poliogo scans your Angular project, classifies every cookie and tracking tag it finds, and hands you the exact files and router lines to paste, written for this framework. Angular registers its routes in TypeScript, not by filename, so no tool can add a page to it by writing a file — the route has to be declared in app.routes.ts by someone who can see the rest of the array.

Guided install, exact stepsBlocks before consentConsent Mode v2 · TCF 2.3
Angular — first paint
Needed to run the siteAlways allowed
Login sessionSecurity checkLoad balancing
Measurement and advertisingHeld until consent
angulartics2Google Analytics 4SentryHotjar
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 Angular consent banners do not work

APP_INITIALIZER and root-level providers run before the first route resolves. An analytics service injected in AppComponent's constructor has already reported the landing view by the time a consent dialog could open. 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 Angular

Angular 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.

  • ✓Poliogo names Angular rather than shrugging: you get the component to generate, the exact line for app.routes.ts, and the file the banner tag belongs in — not a pull request that guesses at your router.
  • ✓The generated document text is the same clause set every other stack gets, built from published regulatory text; only the wiring is yours to paste.
  • ✓Drift monitoring still works in full — a new tracker in your package.json becomes a pull request against the document content (on its own on GitHub with Pro Builder, on your approval otherwise), which is a file change Angular has no opinion about.
1
Connect the repository

angular.json identifies the project as Angular, 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 (src/app/legal/privacy.component.html), the route line for your router, and the banner tag in src/index.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 Angular 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 Angular project spots angulartics2, Google Analytics 4, Sentry, Hotjar 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 — src/app/legal/privacy.component.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 Angular 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 angulartics2 before someone agrees?

Yes, and that is the difference worth paying attention to. APP_INITIALIZER and root-level providers run before the first route resolves. An analytics service injected in AppComponent's constructor has already reported the landing view by the time a consent dialog could open. 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 Angular project?

At src/app/legal/privacy.component.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 (angulartics2, 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 Angular 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.