Skip to main content

Page Exclusion

Exclude select pages from Geo Javascript

Written by Chiara

Here you can decide to exclude specific page URLs, query or hash. The code will not run on these pages and they won't be affected.

Four matching modes are available when adding an exclusion rule:

  • Page URL equals to — excludes a page whose full URL exactly matches the value you enter.

  • Page URL contains — excludes any page whose URL contains the value you enter (useful for excluding a path prefix or subfolder).

  • Page query contains — excludes any page whose URL query string contains the value you enter (matches against the ?key=value part of the URL).

  • Page hash contains — excludes any page whose URL hash/fragment contains the value you enter (matches against the #section part of the URL).

The same four modes apply to page inclusions when your setup is running in Selected Pages mode.

Did this answer your question?