CookiePal Logo
CookiePal Logo
Entrar

Instalação

Instruções de instalação e configuração

Como adicionar um banner de cookies em um site Next.js

Neste guia, mostraremos a instalação da CookiePal em um site Next.js

Table of contents

back

to the top

CookiePal helps you ensure your Next.js application complies with GDPR and other privacy laws by managing cookie consent for your users. This guide will walk you through the steps to integrate CookiePal with your Next.js application.

Sign in to CookiePal

Sign in: Go to CookiePal and sign in to your account.

Sign in: Go to CookiePal and sign in to your account.

Get the Installation Code

Generate Code: In your CookiePal dashboard, click on the HTML file icon to get the installation code. Refer to the gif below for detailed instructions on how to do this.

Generate Code: In your CookiePal dashboard, click on the HTML file icon to get the installation code. Refer to the gif below for detailed instructions on how to do this.

Copy Code: Copy the generated script code to your clipboard.

Add the CookiePal Script to Your Next.js Application

Import Script: Open your Next.js application and locate the layout.tsx file.

Insert Script: Copy the snippet from your dashboard and paste it into the <head> element of your Next.js root layout.

Insert Script: Copy the snippet from your dashboard and paste it into the <head> element of your Next.js root layout.

Initialise CookiePal in Your Next.js Application

Save Your Changes: Save your changes using your preferred code management tool.

Deploy Your Website: Deploy this new version of your website using your preferred methods and automation.

Ficou com alguma dúvida?

Fale com a gente e responderemos todas as suas dúvidas restantes!

Fale conosco

Eleve sua conformidade com o
CookiePal hoje

Ver planosExperimente GRÁTIS

Privacidade descomplicada!

Desenvolvido por WESTPOINT

© CookiePal 2026. Todos os direitos reservados. A CookiePal Limited está registrada no Reino Unido. Empresa nº 15835702.

Termos e condiçõesPolítica de privacidadeEntrar em contato