};function runPageScript(){ (function () { // ========================= // The Furtado Group — Download Free Guides Hub SEO Boost (Oakville + Burlington) // Adds: canonical, OpenGraph/Twitter meta, and JSON-LD (CollectionPage + ItemList) // ========================= var origin = window.location.origin; var path = window.location.pathname.replace(/\/+$/, ""); var canonicalUrl = origin + path; // 1) Canonical (only if missing) if (!document.querySelector('link[rel="canonical"]')) { var canonical = document.createElement("link"); canonical.rel = "canonical"; canonical.href = canonicalUrl; document.head.appendChild(canonical); } // Helper to upsert meta tags function upsertMeta(selector, attrs) { var el = document.querySelector(selector); if (!el) { el = document.createElement("meta"); document.head.appendChild(el); } Object.keys(attrs).forEach(function (k) { el.setAttribute(k, attrs[k]); }); } // 2) OpenGraph + Twitter var title = "Download Free Real Estate Guides | Oakville & Burlington | The Furtado Group"; var description = "Download free real estate guides from The Furtado Group—Top 1% in the GTA (TRREB, based on sales volume and transactions). Buyer, seller, investor, and builder resources for Oakville and Burlington."; upsertMeta('meta[property="og:type"]', { property: "og:type", content: "website" }); upsertMeta('meta[property="og:site_name"]', { property: "og:site_name", content: "The Furtado Group" }); upsertMeta('meta[property="og:title"]', { property: "og:title", content: title }); upsertMeta('meta[property="og:description"]', { property: "og:description", content: description }); upsertMeta('meta[property="og:url"]', { property: "og:url", content: canonicalUrl }); upsertMeta('meta[name="twitter:card"]', { name: "twitter:card", content: "summary_large_image" }); upsertMeta('meta[name="twitter:title"]', { name: "twitter:title", content: title }); upsertMeta('meta[name="twitter:description"]', { name: "twitter:description", content: description }); // 3) JSON-LD (CollectionPage + ItemList) // NOTE: If you add/remove guides later, tell me and I’ll update the ItemList. var jsonLd = { "@context": "https://schema.org", "@graph": [ { "@type": "CollectionPage", "@id": canonicalUrl + "#collectionpage", "url": canonicalUrl, "name": title, "description": description, "isPartOf": { "@id": "https://www.thefurtadogroup.com/#website" }, "about": { "@id": "https://www.thefurtadogroup.com/#organization" }, "inLanguage": "en-CA", "areaServed": [ { "@type": "City", "name": "Oakville", "addressRegion": "ON", "addressCountry": "CA" }, { "@type": "City", "name": "Burlington", "addressRegion": "ON", "addressCountry": "CA" } ], "mainEntity": { "@id": canonicalUrl + "#guides-list" } }, { "@type": "ItemList", "@id": canonicalUrl + "#guides-list", "name": "Free Real Estate Guides", "itemListOrder": "https://schema.org/ItemListOrderAscending", "numberOfItems": 4, "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@type": "CreativeWork", "@id": "https://www.thefurtadogroup.com/free-buyers-guide#guide", "name": "Free Buyer’s Guide (Oakville & Burlington)", "url": "https://www.thefurtadogroup.com/free-buyers-guide", "author": { "@id": "https://www.thefurtadogroup.com/#organization" }, "publisher": { "@id": "https://www.thefurtadogroup.com/#organization" }, "inLanguage": "en-CA", "offers": { "@type": "Offer", "price": "0", "priceCurrency": "CAD", "availability": "https://schema.org/InStock", "url": "https://www.thefurtadogroup.com/free-buyers-guide" } } }, { "@type": "ListItem", "position": 2, "item": { "@type": "CreativeWork", "@id": "https://www.thefurtadogroup.com/free-sellers-guide#guide", "name": "Free Seller’s Guide (Oakville & Burlington)", "url": "https://www.thefurtadogroup.com/free-sellers-guide", "author": { "@id": "https://www.thefurtadogroup.com/#organization" }, "publisher": { "@id": "https://www.thefurtadogroup.com/#organization" }, "inLanguage": "en-CA", "offers": { "@type": "Offer", "price": "0", "priceCurrency": "CAD", "availability": "https://schema.org/InStock", "url": "https://www.thefurtadogroup.com/free-sellers-guide" } } }, { "@type": "ListItem", "po };