Articles on: Settings
This article is also available in:

How to create a Cookies Declaration page

You can create an automated Cookie Declaration page using one of two methods, depending on whether your theme supports Online Store 2.0.


You can also follow the same steps inside the app: go to All settings > Cookies declaration and click View instructions on the Activation instructions card.


Activation instructions card on the Cookies declaration page


This option is available to all our paid plans.


Option A: Using an Online Store 2.0 Theme (Using Page Block)


  1. Open your Theme Editor

Go to your active theme under Online Store > Themes and click Edit theme.


  1. Create a New Page Template
  • Use the dropdown menu at the top to switch to Pages.
  • Click Create template and name it: declaration.


  1. Add the Cookie Declaration Section
  • With the new declaration template selected, click Add section in the left panel.
  • Search for Pandectes Declaration and add it.
  • Make sure the section is visible (eye icon is open).
  • Click Save to apply changes to the theme.


  1. Create or Edit a Page
  • Navigate to Online Store > Pages.
  • Either create a new page or edit an existing one (e.g., "Cookie Declaration").
  • On the right-hand side, set the Template to the declaration template you just created.
  • Click Save.



Option B: For All Other Themes (Deprecated using script injection)


  1. Create or Edit a Page
  • Go to Online Store > Pages.
  • Create a new page or select an existing one.
  • Give it a clear title like Cookie Declaration.


  1. Add the Declaration Code
  • Switch to the HTML view (<> icon in the editor).
  • Paste the following snippet inside the page body:


     <div id="pandectes-declaration-container"><!-- leave empty --></div>
<script defer src="https://s.pandect.es/scripts/pandectes-declaration.js"></script>


  1. Save the Page

Click Save to apply changes.




To help visitors easily find your declaration page, you can link it in the footer.


  1. Go to Content > Menus.
  2. Select the Footer menu.
  3. Click Add menu item.
  • Name: Cookie Declaration
  • Link: Choose Pages > [Your declaration page]
  1. Click Save.


Video tutorial



By following the steps above, your store will include an automated, compliant, and easily accessible Cookie Declaration page powered by Pandectes.

Updated on: 27/10/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!