diff --git a/src/metatags/handler.js b/src/metatags/handler.js index 79b7169e..67be3a8c 100644 --- a/src/metatags/handler.js +++ b/src/metatags/handler.js @@ -80,6 +80,7 @@ export default async function auditMetaTags(message, context) { } seoChecks.finalChecks(); const detectedTags = seoChecks.getDetectedTags(); + log.info(`Detected tags - ${JSON.stringify(detectedTags)}`); // Prepare Audit result const auditResult = { detectedTags, diff --git a/src/metatags/seo-checks.js b/src/metatags/seo-checks.js index 94caae5b..6685869b 100644 --- a/src/metatags/seo-checks.js +++ b/src/metatags/seo-checks.js @@ -144,7 +144,6 @@ class SeoChecks { this.checkForMissingTags(url, pageTags); this.checkForTagsLength(url, pageTags); this.checkForH1Count(url, pageTags); - this.log.info(`Found tags ${this.detectedTags.length}`); // store tag data in all tags object to be used in later checks like uniqueness this.addToAllTags(TITLE, pageTags[TITLE]); this.addToAllTags(DESCRIPTION, pageTags[DESCRIPTION]);