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
  • Disable sitemap inclusion and search indexing in Page Settings by toggling off sitemap and adding a noindex tag.  
  • Disable analytics tracking by modifying GA or GTM settings to exclude specific pages based on path or by disabling tracking code.

To exclude specific pages in Webflow from your sitemap and analytics, such as certificate pages, you'll need to adjust settings in both your Webflow project and your analytics tracking method.

1. Exclude Pages from the Sitemap

To prevent these pages from appearing in your sitemap:

  • Go to Pages Panel in the Webflow Designer.
  • Select the page you want to exclude (e.g., certificate-template).
  • In the Page Settings (click the gear icon), scroll to the SEO Settings section.
  • Toggle OFF the setting labeled “Include this page in the sitemap”.
  • Also, enable the setting “Hide this page from search engines” to insert a noindex tag, preventing Google indexing.

This ensures the page:

  • Doesn’t appear in your auto-generated sitemap (/sitemap.xml).
  • Isn’t crawled or indexed by search engines.

2. Block Analytics Tracking for Specific Pages

Depending on the analytics tool (e.g., Google Analytics or Google Tag Manager), update scripts to exclude specific pages:

For Google Analytics (Global Site Tag gtag.js):

  • In Page Settings of the certificate page, go to the Custom Code section.
  • Paste the following in the Footer Code:
  • Disable Trackingwindow['ga-disable-UA-XXXXXX-Y'] = true; (replace with your GA Tracking ID)

This line must appear before the global site tag in the page rendering.

For Google Tag Manager:

  • Set up a Trigger Exclusion Rule:
  • In Google Tag Manager, set a Trigger that excludes certain paths (e.g., /certificate/*).
  • Update the existing Pageview Tag to exclude those triggers.
  • Use the Page Path condition inside your GTM trigger settings.

This avoids firing tracking code on specific routes/pages.

3. Optional: Use a Separate “Thank You” or Completion Page

For better analytics control:

  • Use a generic thank-you page with controlled tracking instead of unique certificate URLs per user.
  • This keeps analytics clean and avoids generating an excessive number of unique pageviews.

Summary

To exclude certificate pages from your sitemap and analytics in Webflow:

  • Disable sitemap inclusion and search indexing via Page Settings.
  • Disable analytics tracking using either GA script adjustments or GTM trigger exclusions.

This will keep these pages private, clean from search results, and invisible to analytics data.

Rate this answer

Other Webflow Questions