Custom header / footer code for Folders

We should have Custom Header / Footer code for
1. Whole site (in settings panel - Good)
2. Folders (in webflow page navigator - Doesn't exist yet)
3. Pages (Good)

Usecase:

1. Apply GTM to whole site all pages in Settings.
2. Apply Custom Reviews Widget code on all /products pages.
3. Apply Custom Review Submit on /product/red-widget page.

  • Miek Thompson
  • Mar 13 2019
  • Reviewed
  • Michael Sweeney commented
    24 Jun, 2023 08:06pm

    This needs traction. I have a special use case for this where I would like to run scripting on a set of pages behind a directory. Curreently as a workaround im using this method for /v1/* globally but would be nice to split out my code.

    if (window.location.href.includes('v1')) { /* code here */ }