Cookie consent for Next.js
A consent banner for Next.js sites that actually does the job: it blocks trackers until someone agrees, sends Consent Mode v2 to Google and Meta, and speaks Arabic properly. Built for developers building client applications.
1 line
of code to install
GCM v2
Consent Mode v2 signals
AR + EN
Bilingual banner, full RTL
Adding it to a Next.js site
One script tag. Nothing to rebuild, nothing to migrate.
Create the site
Add the domain in Arqam360 and pick the regulation it falls under — or let it detect that from the visitor. You get one line of code back.
Paste one line
Drop it into your root layout, via the framework script component. It loads asynchronously and does not block your page. ⚠️ Confirm the exact menu name inside Next.js — their settings move.
Check it in the dashboard
The banner reports its first paint back, so you can see it is live on the real site rather than trusting that the paste worked.
What it gives a Next.js build
Blocks before it asks
Trackers are held until consent is given, not merely hidden behind a notice that has already let them fire. Opt-in per category.
One line, no build step
A single script tag. No package to install, no pipeline to change, and nothing that breaks when the site is republished.
Knows where the visitor is
GDPR, Saudi PDPL, UAE PDPA and the wider GCC are detected from the visitor and the banner changes behaviour accordingly — opt-in or opt-out.
Consent Mode v2, wired
Google and Meta receive the consent signal in the state they expect, before any tag fires, so measurement survives the banner.
Arabic that reads natively
Full right-to-left layout and Arabic legal text written for the region, not translated string by string from English.
Pays you for referrals
Hand the client to us and take 20% of what they pay for 12 months. We do the install and the support; you do not carry it.
Who puts this on a Next.js site
Agencies handing over a build
The client asks what happens to visitor data after launch. This is the part of the handover that is usually missing, and the part that comes back.
Brands selling into the Gulf
A site aimed at Saudi or UAE visitors has an Arabic-language obligation that a generic English banner does not meet.
Anyone running ads to the site
Without the consent signal, Google and Meta lose the conversions they are being optimised on. The banner is what keeps measurement honest.
Works with the Arqam360 Suite
Every product integrates seamlessly — data flows between them so you don't have to.
Put it on your next Next.js build
Free while you test it, on your own domain. If you do this for clients, the partner programme pays 20% for 12 months on every one you refer.