Articles on: Settings

How to show the banner on specific pages (New Version)

This article applies to the New Banner (v5+). If you are using the Legacy Banner, see How to show the banner on specific pages (Legacy Version).


Overview


In the New Banner, you can control where the consent banner appears by adding path rules to the Start hidden for the following paths field.


This setting replaces older visibility options such as showing the banner only on the homepage or hiding it on selected pages. Instead of using separate controls, you can manage banner visibility from one flexible field.


When a visitor opens a page that matches one of the configured paths or patterns, the banner starts hidden on that page.


Hiding the banner does not disable consent enforcement. Consent behavior still follows the consent model configured for your store.


Where to find the setting


  1. Open the Pandectes GDPR Compliance app.
  2. Go to Settings > Banner.
  3. Open the Advanced tab.
  4. Find the Visibility section.
  5. Locate Start hidden for the following paths.


Enter one path or pattern per line. Regular expressions are supported.


How path matching works


The setting checks the path part of the store URL.


For example, in this URL:


https://example.com/products/sample-product


The path is:


/products/sample-product


Use paths such as:


/products/sample-product


Do not enter the full URL unless specifically instructed.


Common examples


The app also includes examples under the Show examples of usage link next to the field.


Hide the banner on the privacy policy page


Use this when you do not want the banner to appear on a specific page, such as your privacy policy page.


/policies/privacy-policy


Enter the path exactly as it appears in your store URL.


Hide the banner on an Impressum page


/pages/impressum


This is useful if your store uses an Impressum or imprint page and you want visitors to access that page without the banner covering the content.


Hide the banner on all product pages


^/products/


This hides the banner on every page where the path starts with /products/.


Examples matched by this rule:


  • /products/sample-product
  • /products/blue-shirt
  • /products/example-product?variant=123


Hide the banner on all collection pages


^/collections/


This hides the banner on every page where the path starts with /collections/.


Hide the banner only on the homepage


^/$


This rule hides the banner only on the root homepage path /.


The ^ means the start of the path, and `|| This article applies to the New Banner (v5+). If you are using the Legacy Banner, see How to show the banner on specific pages (Legacy Version).


Overview


In the New Banner, you can control where the consent banner appears by adding path rules to the Start hidden for the following paths field.


This setting replaces older visibility options such as showing the banner only on the homepage or hiding it on selected pages. Instead of using separate controls, you can manage banner visibility from one flexible field.


When a visitor opens a page that matches one of the configured paths or patterns, the banner starts hidden on that page.


Hiding the banner does not disable consent enforcement. Consent behavior still follows the consent model configured for your store.


Where to find the setting


  1. Open the Pandectes GDPR Compliance app.
  2. Go to Settings > Banner.
  3. Open the Advanced tab.
  4. Find the Visibility section.
  5. Locate Start hidden for the following paths.


Enter one path or pattern per line. Regular expressions are supported.


How path matching works


The setting checks the path part of the store URL.


For example, in this URL:


https://example.com/products/sample-product


The path is:


/products/sample-product


Use paths such as:


/products/sample-product


Do not enter the full URL unless specifically instructed.


Common examples


The app also includes examples under the Show examples of usage link next to the field.


Hide the banner on the privacy policy page


Use this when you do not want the banner to appear on a specific page, such as your privacy policy page.


/policies/privacy-policy


Enter the path exactly as it appears in your store URL.


Hide the banner on an Impressum page


/pages/impressum


This is useful if your store uses an Impressum or imprint page and you want visitors to access that page without the banner covering the content.


Hide the banner on all product pages


^/products/


This hides the banner on every page where the path starts with /products/.


Examples matched by this rule:


  • /products/sample-product
  • /products/blue-shirt
  • /products/example-product?variant=123


Hide the banner on all collection pages


^/collections/


This hides the banner on every page where the path starts with /collections/.


Hide the banner only on the homepage


^/$


This rule hides the banner only on the root homepage path /.


The ^ means the start of the path, and means the end of the path. Together, `^/|| This article applies to the New Banner (v5+). If you are using the Legacy Banner, see How to show the banner on specific pages (Legacy Version).


Overview


In the New Banner, you can control where the consent banner appears by adding path rules to the Start hidden for the following paths field.


This setting replaces older visibility options such as showing the banner only on the homepage or hiding it on selected pages. Instead of using separate controls, you can manage banner visibility from one flexible field.


When a visitor opens a page that matches one of the configured paths or patterns, the banner starts hidden on that page.


Hiding the banner does not disable consent enforcement. Consent behavior still follows the consent model configured for your store.


Where to find the setting


  1. Open the Pandectes GDPR Compliance app.
  2. Go to Settings > Banner.
  3. Open the Advanced tab.
  4. Find the Visibility section.
  5. Locate Start hidden for the following paths.


Enter one path or pattern per line. Regular expressions are supported.


How path matching works


The setting checks the path part of the store URL.


For example, in this URL:


https://example.com/products/sample-product


The path is:


/products/sample-product


Use paths such as:


/products/sample-product


Do not enter the full URL unless specifically instructed.


Common examples


The app also includes examples under the Show examples of usage link next to the field.


Hide the banner on the privacy policy page


Use this when you do not want the banner to appear on a specific page, such as your privacy policy page.


/policies/privacy-policy


Enter the path exactly as it appears in your store URL.


Hide the banner on an Impressum page


/pages/impressum


This is useful if your store uses an Impressum or imprint page and you want visitors to access that page without the banner covering the content.


Hide the banner on all product pages


^/products/


This hides the banner on every page where the path starts with /products/.


Examples matched by this rule:


  • /products/sample-product
  • /products/blue-shirt
  • /products/example-product?variant=123


Hide the banner on all collection pages


^/collections/


This hides the banner on every page where the path starts with /collections/.


Hide the banner only on the homepage


^/$


This rule hides the banner only on the root homepage path /.


The ^ means the start of the path, and `|| This article applies to the New Banner (v5+). If you are using the Legacy Banner, see How to show the banner on specific pages (Legacy Version).


Overview


In the New Banner, you can control where the consent banner appears by adding path rules to the Start hidden for the following paths field.


This setting replaces older visibility options such as showing the banner only on the homepage or hiding it on selected pages. Instead of using separate controls, you can manage banner visibility from one flexible field.


When a visitor opens a page that matches one of the configured paths or patterns, the banner starts hidden on that page.


Hiding the banner does not disable consent enforcement. Consent behavior still follows the consent model configured for your store.


Where to find the setting


  1. Open the Pandectes GDPR Compliance app.
  2. Go to Settings > Banner.
  3. Open the Advanced tab.
  4. Find the Visibility section.
  5. Locate Start hidden for the following paths.


Enter one path or pattern per line. Regular expressions are supported.


How path matching works


The setting checks the path part of the store URL.


For example, in this URL:


https://example.com/products/sample-product


The path is:


/products/sample-product


Use paths such as:


/products/sample-product


Do not enter the full URL unless specifically instructed.


Common examples


The app also includes examples under the Show examples of usage link next to the field.


Hide the banner on the privacy policy page


Use this when you do not want the banner to appear on a specific page, such as your privacy policy page.


/policies/privacy-policy


Enter the path exactly as it appears in your store URL.


Hide the banner on an Impressum page


/pages/impressum


This is useful if your store uses an Impressum or imprint page and you want visitors to access that page without the banner covering the content.


Hide the banner on all product pages


^/products/


This hides the banner on every page where the path starts with /products/.


Examples matched by this rule:


  • /products/sample-product
  • /products/blue-shirt
  • /products/example-product?variant=123


Hide the banner on all collection pages


^/collections/


This hides the banner on every page where the path starts with /collections/.


Hide the banner only on the homepage


^/$


This rule hides the banner only on the root homepage path /.


The ^ means the start of the path, and means the end of the path. Together, matches only /.


Show the banner only on the homepage


Because this field controls where the banner starts hidden, showing the banner only on the homepage means hiding it everywhere except the homepage.


Use:


^/(?!$).+


This pattern matches all paths except /.


Examples hidden by this rule:


  • /products/sample-product
  • /collections/all
  • /pages/contact
  • /policies/privacy-policy


The homepage path / is not matched, so the banner can still appear there.


Show the banner only on the homepage, including homepage URLs with search parameters


If your store uses homepage URLs with search parameters, such as /?ref=email or /?utm_source=newsletter, use:


^/(?!$|\?).+


This keeps the banner visible on:


  • /
  • /?ref=email
  • /?utm_source=newsletter


It hides the banner on other paths, such as:


  • /products/sample-product
  • /collections/all
  • /pages/contact?ref=email


Hide the banner on multiple pages


Add each path or pattern on a separate line.


For example:


/policies/privacy-policy
/pages/impressum
/pages/contact


The banner starts hidden when the visitor lands on any matching path.



Hiding the banner on a page does not disable consent enforcement.


If a visitor lands on a hidden page without previously giving consent, the default behavior of your selected consent model still applies.


For example, if your store uses a strict opt-in model, only strictly necessary cookies should run until the visitor gives consent on a page where the banner is shown.


Tips for writing path rules


  • Use one path or pattern per line.
  • Use exact paths for single pages.
  • Use regular expressions for groups of pages.
  • Avoid full URLs.
  • Test important paths after saving your changes.
  • Keep rules as simple as possible to avoid unexpected matches.


Video tutorial



Summary


Use Start hidden for the following paths to control where the New Banner starts hidden. Add exact paths for individual pages, or use regular expressions for groups of pages. This setting changes banner visibility only; it does not turn off consent enforcement.

Updated on: 08/07/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!