diff --git a/models/_page-metadata.json b/models/_page-metadata.json index 4df3c63..64edb51 100644 --- a/models/_page-metadata.json +++ b/models/_page-metadata.json @@ -17,7 +17,7 @@ ], "filters": [ { - "id": "page", + "id": "main", "components": [ "section", "tab-section" diff --git a/scripts/editor-support.js b/scripts/editor-support.js index 6248c81..6488e7d 100644 --- a/scripts/editor-support.js +++ b/scripts/editor-support.js @@ -52,7 +52,7 @@ function setUEFilter(element, filter) { function updateUEInstrumentation() { const main = document.querySelector('main'); - setUEFilter(main, 'page'); + setUEFilter(main, 'main'); // if we are on a template page if (document.body.hasAttribute('data-aem-template')) {