{"version":3,"file":"siteMetadata.B6a42Dwh.mjs","names":[],"sources":["https:/framerusercontent.com/modules/xYHgYtP38CapRsPgJGkU/5FXkICwWCtvZgCN2JUmD/siteMetadata.js"],"sourcesContent":["// Generated by Framer (504870a)\nconst valuesByLocaleId={Y7MLKV7x1:{v0:\"No Middleman Tours - Buchen Sie die besten Safari-Touren in Tansania und Kenia\",v1:\"Planen Sie Ihre Safari in Tansania und Kenia, Ihre Kilimandscharo-Wanderung und Ihren Urlaub auf Sansibar mit unserem kostenlosen Angebotsservice! Verbinden Sie sich direkt mit vertrauensw\\xfcrdigen lokalen Reiseveranstaltern f\\xfcr eine individuelle Reiseplanung, Kosteneinsparungen und fachkundige Beratung. Keine Zwischenh\\xe4ndler oder versteckten Geb\\xfchren.\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<script>\\n    function waitForGtag(callback) {\\n        if (typeof gtag === \\\"function\\\") {\\n            callback();\\n        } else {\\n            setTimeout(() => waitForGtag(callback), 500);\\n        }\\n    }\\n\\n    // 🔹 Engagement Tracking (Time Spent)\\n    let timeSpent = 0;\\n    const maxTrackingTime = 500;\\n    const trackingIntervals = [30, 60, 120, 180, 240, 300, 500]; // Seconds to track\\n    const eventValues = { 30: 0.3, 60: 0.6, 120: 0.9, 180: 1, 240: 1.1, 300: 1.2, 500: 1.5 };\\n    let trackedTimes = {}; // To ensure each event fires only once\\n\\n    function trackTimeSpent() {\\n        const interval = setInterval(() => {\\n            timeSpent += 10;\\n            if (timeSpent > maxTrackingTime) { \\n                clearInterval(interval);\\n                console.log(\\\"🚀 Stopped time tracking.\\\");\\n                return;\\n            }\\n\\n            if (trackingIntervals.includes(timeSpent) && !trackedTimes[timeSpent]) {\\n                trackedTimes[timeSpent] = true; // Mark time as tracked\\n\\n                gtag('event', 'time_spent', {\\n                    'event_category': 'User Engagement',\\n                    'event_label': `${timeSpent}_seconds`\\n                });\\n\\n                console.log(`✅ GA4 Event Sent: ${timeSpent} seconds spent`);\\n            }\\n        }, 10000); // Fires every 10 seconds but only records at the key intervals\\n    }\\n\\n    // 🔹 Scroll Tracking\\n    function trackScrollEvent(scrollDepth) {\\n        gtag('event', `scroll_${scrollDepth}`, {\\n            'event_category': 'User Engagement',\\n            'event_label': `${scrollDepth}%`\\n        });\\n        console.log(`✅ GA4 Event Sent: Scroll ${scrollDepth}%`);\\n    }\\n\\n    window.addEventListener('scroll', function() {\\n        let scrollTop = window.scrollY;\\n        let docHeight = document.documentElement.scrollHeight;\\n        let winHeight = window.innerHeight;\\n        let scrollPercent = (scrollTop / (docHeight - winHeight)) * 100;\\n\\n        if (scrollPercent > 50 && !window.scroll50Fired) {\\n            trackScrollEvent(50);\\n            window.scroll50Fired = true;\\n        }\\n        if (scrollPercent > 75 && !window.scroll75Fired) {\\n            trackScrollEvent(75);\\n            window.scroll75Fired = true;\\n        }\\n        if (scrollPercent > 97 && !window.scroll100Fired) {\\n            trackScrollEvent(100);\\n            window.scroll100Fired = true;\\n        }\\n    });\\n\\n    // 🔹 Initialize Tracking\\n    waitForGtag(() => {\\n        trackTimeSpent();\\n    });\\n</script>\",customHTMLHeadStart:'<!-- ✅ Load GTAG early -->\\n<script async=\"\" src=\"https://www.googletagmanager.com/gtag/js?id=G-JSRKNBLT6T\"></script>\\n\\n<!-- ✅ Framer-safe Consent Mode + CookieYes integration -->\\n<script>\\n  window.dataLayer = window.dataLayer || [];\\n  function gtag(){ dataLayer.push(arguments); }\\n\\n  // Wait until gtag.js is fully available before applying anything\\n  function initConsentMode() {\\n    console.log(\"🚀 Initializing GA4 + Consent Mode...\");\\n\\n    // 1️⃣ Register GA4 + Ads configs\\n    gtag(\"js\", new Date());\\n    gtag(\"config\", \"G-JSRKNBLT6T\");\\n    gtag(\"config\", \"AW-11546909576\");\\n\\n    // 2️⃣ Apply default consent\\n    gtag(\"consent\", \"default\", {\\n      ad_storage: \"denied\",\\n      analytics_storage: \"denied\",\\n      ad_user_data: \"denied\",\\n      ad_personalization: \"denied\",\\n      functionality_storage: \"denied\",\\n      personalization_storage: \"denied\",\\n      security_storage: \"granted\",\\n      wait_for_update: 2000\\n    });\\n\\n    // 3️⃣ Listen for CookieYes updates\\n    window.addEventListener(\"cookieyes-consent-updated\", () => {\\n      try {\\n        const consent = localStorage.getItem(\"cookieyes-consent\") || \"\";\\n        const granted = consent.includes(\"analytics:yes\");\\n        gtag(\"consent\", \"update\", {\\n          ad_storage: granted ? \"granted\" : \"denied\",\\n          analytics_storage: granted ? \"granted\" : \"denied\",\\n          ad_user_data: granted ? \"granted\" : \"denied\",\\n          ad_personalization: granted ? \"granted\" : \"denied\",\\n          functionality_storage: \"granted\",\\n          security_storage: \"granted\"\\n        });\\n        console.log(\"✅ GA4 consent updated via CookieYes\");\\n      } catch (e) {\\n        console.warn(\"⚠️ CookieYes parse error:\", e);\\n      }\\n    });\\n  }\\n\\n  // Wait for gtag to become ready\\n  (function waitForGtag() {\\n    if (typeof window.gtag === \"function\") {\\n      initConsentMode();\\n    } else {\\n      setTimeout(waitForGtag, 150);\\n    }\\n  })();\\n</script>\\n\\n<!-- ✅ CookieYes CMP -->\\n<script id=\"cookieyes\" type=\"text/javascript\" src=\"https://cdn-cookieyes.com/client_data/5e873dea62a9e4f5e3995d4d/script.js\"></script>\\n\\n<script type=\"application/ld+json\">\\n{\\n  \"@context\": \"https://schema.org\",\\n  \"@type\": [\"Organization\", \"TravelAgency\"],\\n  \"@id\": \"https://nomiddlemantours.com/#org\",\\n  \"name\": \"NoMiddleman Tours\",\\n  \"url\": \"https://nomiddlemantours.com/\",\\n  \"logo\": \"https://framerusercontent.com/images/WHa4RzGN4Ccm3Zycxw1fjm5GU8.png\",\\n\\n  \"contactPoint\": {\\n    \"@type\": \"ContactPoint\",\\n    \"email\": \"info@nomiddlemantours.com\",\\n    \"contactType\": \"customer service\",\\n    \"availableLanguage\": [\"English\", \"French\", \"German\", \"Spanish\"]\\n  },\\n\\n  \"priceRange\": \"$$–$$$$$\",\\n  \"slogan\": \"NoMiddleman Tours matches you with the right local tour operators that have genuine expertise for the kind of holiday you actually want.\",\\n  \"description\": \"Africa safaris booked directly with vetted local operators. Best guides. Best Local Prices. No Middlemen.\",\\n\\n  \"knowsAbout\": [\\n    \"Tanzania safaris\",\\n    \"Kenya safaris\",\\n    \"Wildebeest Migration Safaris\",\\n    \"Serengeti National Park\",\\n    \"Ngorongoro Crater\",\\n    \"Tarangire National Park\",\\n    \"Ruaha National Park\",\\n    \"Zanzibar holidays\",\\n    \"Kilimanjaro treks\",\\n    \"Masai Mara safaris\",\\n    \"Beach and safari packages\",\\n    \"Luxury safari lodges\",\\n    \"Budget safaris\"\\n  ],\\n  \"areaServed\": [\"TZ\", \"KE\"]\\n}\\n</script>\\n\\n<script type=\"application/ld+json\">\\n{\\n  \"@context\": \"https://schema.org\",\\n  \"@type\": \"WebSite\",\\n  \"@id\": \"https://nomiddlemantours.com/#website\",\\n  \"url\": \"https://nomiddlemantours.com/\",\\n  \"name\": \"NoMiddleman Tours\",\\n  \"potentialAction\": {\\n    \"@type\": \"SearchAction\",\\n    \"target\": \"https://deals.nomiddlemantours.com?location={location}&start={start}&end={end}&tiers={tiers}&duration={duration}&price={price}&accommodation={accommodation}\",\\n    \"query-input\": [\\n      \"required name=location\",\\n      \"optional name=start\",\\n      \"optional name=end\",\\n      \"optional name=tiers\",\\n      \"optional name=duration\",\\n      \"optional name=price\",\\n      \"optional name=accommodation\"\\n    ]\\n  }\\n}\\n</script>',description:getLocalizedValue(\"v1\",activeLocale)??\"Plan your Tanzania safari, Kilimanjaro trek and Zanzibar holiday with our free quote service! Compare over 8000 tour packages across prices and travel styles. No middlemen or hidden fees.\",favicon:\"https://framerusercontent.com/assets/8J00oSM3uvrU1ClkUcNug70mqA.png\",robots:\"max-image-preview:large\",title:getLocalizedValue(\"v0\",activeLocale)??\"NoMiddleman Tours - Largest Collection of Tanzania Safari Packages\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DAC2e,SAAS,EAAkB,EAAI,EAAO,CAAC,KAAM,GAAO,CAAC,IAAM,EAAO,EAAiB,EAAO,IAAI,GAAG,EAAO,CAAC,IAAM,EAAM,EAAO,GAAK,GAAG,EAAM,OAAO,EAAO,EAAO,EAAO,UAAW,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAw/E,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAyiI,YAAY,EAAkB,KAAK,EAAa,EAAE,8LAA8L,QAAQ,sEAAsE,OAAO,0BAA0B,MAAM,EAAkB,KAAK,EAAa,EAAE,qEAAqE,iBAA1uP,EAAiB,CAAC,UAAU,CAAC,GAAG,iFAAiF,GAAG,mWAA+W,CAAC"}