Webflow sync, pageviews & more.
NEW

How can I exclude specific pages in Webflow from appearing in our sitemap and analytics, such as auto-generated certificates given to visitors who completed a basic training on our website?

TL;DR
  • Uncheck "Include in Sitemap" and optionally set "noindex" in Page Settings to exclude pages from search visibility.
  • Use Google Tag Manager to block analytics tracking by setting URL-based exclusion triggers like paths containing "/certificate/".

To exclude specific pages in Webflow—like auto-generated certificate pages—from appearing in your sitemap and being tracked by analytics, you need to make adjustments in the page settings and your analytics integration.

1. Exclude Pages From the Sitemap

  • Go to the Page Settings of the page you want to exclude.
  • Scroll down to the SEO Settings section.
  • Uncheck "Include in Sitemap."
  • Optionally, check the box for "Hide this page from search engines" to set a noindex meta tag.

This ensures Webflow does not list the page in the sitemap.xml and prevents it from being indexed by search engines.

2. Suppress Analytics Tracking Using Conditional Logic

To exclude certificate pages from analytics (e.g., Google Analytics):

  • In Page Settings or in an Embed Code on the page, you’ll need to prevent the analytics script from firing.
  • One method is to wrap your Google Analytics or GTM script in conditional logic. Since Webflow doesn’t support server-side logic, you’ll need to implement logic within Google Tag Manager (GTM) or your analytics platform:
  • In Google Tag Manager, set up a trigger exclusion based on the URL path or page title. For example, block tracking if the URL contains /certificate/.
  • If you're using Webflow’s Simple Analytics Embed, you can’t add conditions directly—use GTM instead.

3. Handle CMS-Generated Certificate Pages

If certificates are generated via a CMS collection:

  • Edit the Template Page Settings of that CMS Collection Page.
  • Uncheck "Include in Sitemap" and enable “Hide from search engines”.
  • Use dynamic conditions in GTM or scripts that check window.location.pathname to suppress tracking on specific URL patterns like /certificates/slug.

Summary

To hide training certificate pages, disable them from the sitemap via Page SettingsUncheck “Include in Sitemap” and optionally set pages to “noindex”. Then use Google Tag Manager to prevent analytics tracking using URL-based exclusion triggers.

Rate this answer

Other Webflow Questions