### Website Initialization and Configuration Source: https://www.compagniedelagrandeourse.com/453-traversin Contains various JavaScript variables and configurations for website functionality, including subscription endpoints, AJAX controllers, Google Analytics setup, Hotjar integration, and site identification. ```javascript var psemailsubscription_subscription = "https:\/\/www.compagniedelagrandeourse.com\/module\/ps_emailsubscription\/subscription"; var sj4webRelatedAjaxController = "https:\/\/www.compagniedelagrandeourse.com\/module\/sj4webrelatedproducts\/ajax"; window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag( 'config', 'G-ZPGTL1SMJF', { 'debug_mode':false } ); var agSiteId="11167"; (function(h,o,t,j,a,r){ h.hj=h.hj||function(){ (h.hj.q=h.hj.q||[]).push(arguments); }; h._hjSettings={ hjid:5313131, hjsv:6 }; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Configure Aseptio Consent Management and Load SDK Source: https://www.compagniedelagrandeourse.com/226-drap-plat-motifs Initializes Aseptio settings including client ID and Google Consent Mode preferences. It then dynamically loads the Aseptio SDK script into the page to manage user consent. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Other Website Navigation and Links Source: https://www.compagniedelagrandeourse.com/443-linge-de-lit-motif Includes links to 'Linge de Table' (Table Linen), 'Notre Philosophie' (Our Philosophy), 'Nos Guides' (Our Guides), and a wishlist link. ```html * [LINGE DE TABLE](https://www.compagniedelagrandeourse.com/455-linge-de-table) * [NOTRE PHILOSOPHIE](https://www.compagniedelagrandeourse.com/c/9-nos-engagements) * [NOS GUIDES](/nos-guides) [Liste de souhaits ()](//www.compagniedelagrandeourse.com/module/iqitwishlist/view) ``` -------------------------------- ### Configure Asept.io Consent Management Source: https://www.compagniedelagrandeourse.com/meilleures-ventes Initializes Asept.io with client ID and Google Consent Mode settings. It dynamically loads the Asept.io SDK script into the page to manage user consent preferences. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Other Navigation Links Source: https://www.compagniedelagrandeourse.com/452-oreiller Liens vers d'autres sections importantes du site, y compris le linge de table, la philosophie de l'entreprise, les guides et une section pour les professionnels. ```html * [LINGE DE TABLE](https://www.compagniedelagrandeourse.com/455-linge-de-table) * [NOTRE PHILOSOPHIE](https://www.compagniedelagrandeourse.com/c/9-nos-engagements) * [NOS GUIDES](/nos-guides) * [PROFESSIONNELS](https://www.compagniedelagrandeourse.com/c/12-linge-de-maison-offre-pour-les-professionnels) ``` -------------------------------- ### Aseptio SDK Initialization Source: https://www.compagniedelagrandeourse.com/453-traversin Dynamically loads the Aseptio SDK script into the document. It ensures the script is loaded asynchronously and inserted after the first script tag found in the document. ```JavaScript (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Initialize Asept.io Cookie Consent SDK Source: https://www.compagniedelagrandeourse.com/445-lin-de-france Configures Asept.io settings, including client ID and Google Consent Mode preferences, then asynchronously loads the Asept.io SDK script. This is crucial for managing user consent and privacy compliance. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Hotjar Initialization Source: https://www.compagniedelagrandeourse.com/223-housse-de-couette-unie Loads and initializes the Hotjar tracking script for user behavior analysis. It sets up a unique site ID and version. ```javascript (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:5313131,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Hotjar Initialization Script Source: https://www.compagniedelagrandeourse.com/409-nos-matieres Integrates the Hotjar analytics and user feedback tool into the website. This script is responsible for loading the Hotjar tracking code, enabling features like heatmaps, session recordings, and surveys. ```javascript (function(h, o, t, j, a, r) { h.hj = h.hj || function() { (h.hj.q = h.hj.q || []).push(arguments); }; h._hjSettings = { hjid: 5313131, hjsv: 6 }; a = o.getElementsByTagName('head')[0]; r = o.createElement('script'); r.async = 1; r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; a.appendChild(r); })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv='); ``` -------------------------------- ### Hotjar Initialization Script Source: https://www.compagniedelagrandeourse.com/454-linge-de-lit-enfant Includes the necessary JavaScript code to initialize the Hotjar tracking script, enabling user behavior analysis and feedback collection for the specified site ID. ```JavaScript var agSiteId="11167"; (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:5313131,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Website Configuration and Tracking Source: https://www.compagniedelagrandeourse.com/224-housse-de-couette-motifs This snippet details the initial configuration of website tracking and analytics. It includes setting up Google Analytics (gtag) and Hotjar, essential for understanding user behavior and site performance. ```javascript var psemailsubscription_subscription = "https:\/\/www.compagniedelagrandeourse.com\/module\/ps_emailsubscription\/subscription"; var sj4webRelatedAjaxController = "https:\/\/www.compagniedelagrandeourse.com\/module\/sj4webrelatedproducts\/ajax"; window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag( 'config', 'G-ZPGTL1SMJF', { 'debug_mode':false } ); var agSiteId="11167"; (function(h,o,t,j,a,r){ h.hj=h.hj||function(){ (h.hj.q=h.hj.q||[]).push(arguments) }; h._hjSettings={ hjid:5313131, hjsv:6 }; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Asept.io Consent Management Initialization Source: https://www.compagniedelagrandeourse.com/223-housse-de-couette-unie Initializes Asept.io for website consent management, configuring client ID, cookie version, and Google Consent Mode settings. It dynamically loads the Asept.io SDK script. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Hotjar Initialization Source: https://www.compagniedelagrandeourse.com/258-taie-doreiller-unie Initializes the Hotjar tracking script for user behavior analysis, linking to the Hotjar service with specific site and version identifiers. ```javascript (function(h,o,t,j,a,r){ h.hj=h.hj||function(){ (h.hj.q=h.hj.q||[]).push(arguments) }; h._hjSettings={ hjid:5313131, hjsv:6 }; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Asept.io Consent Management Initialization Source: https://www.compagniedelagrandeourse.com/258-taie-doreiller-unie Initializes the Asept.io SDK with client ID, cookie version, and Google Consent Mode settings. This script is responsible for managing user consent preferences on the website. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Hotjar Initialization Script Source: https://www.compagniedelagrandeourse.com/457-coton-biologique Integrates the Hotjar user feedback and analytics tool into the website. This script is responsible for loading the Hotjar tracking code and initializing its settings. ```javascript (function(h,o,t,j,a,r){ h.hj=h.hj||function(){ (h.hj.q=h.hj.q||[]).push(arguments) }; h._hjSettings={ hjid:5313131, hjsv:6 }; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Aseptio Cookie Consent Initialization Source: https://www.compagniedelagrandeourse.com/409-nos-matieres Initializes the Aseptio cookie consent manager with specific client ID, cookies version, and Google Consent Mode settings. This script is loaded asynchronously. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Configure Aceptio Consent Management Source: https://www.compagniedelagrandeourse.com/263-taie-de-traversin-unie Configures Aceptio settings, including client ID and Google Consent Mode preferences. It then asynchronously loads the Aceptio SDK script for consent management. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Initialize Asept.io Cookie Consent Script Source: https://www.compagniedelagrandeourse.com/457-coton-biologique Configures and loads the Asept.io SDK for managing user consent preferences, including Google Consent Mode settings. This script is essential for GDPR compliance. ```JavaScript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Website Configuration and Variables Source: https://www.compagniedelagrandeourse.com/443-linge-de-lit-motif Contains JSON-like configuration data and JavaScript variables related to website settings, product display, and AJAX controllers. ```javascript var psemailsubscription_subscription = "https:\/\/www.compagniedelagrandeourse.com\/module\/ps_emailsubscription\/subscription"; var sj4webRelatedAjaxController = "https:\/\/www.compagniedelagrandeourse.com\/module\/sj4webrelatedproducts\/ajax"; var agSiteId="11167"; ``` -------------------------------- ### Website Configuration and Analytics Initialization Source: https://www.compagniedelagrandeourse.com/448-coton-57-filscm Initializes Google Analytics (gtag) and Hotjar tracking scripts, along with site-specific configuration variables and event listeners for delivery banners. ```javascript var psemailsubscription_subscription = "https:\/\/www.compagniedelagrandeourse.com\/module\/ps_emailsubscription\/subscription"; var sj4webRelatedAjaxController = "https:\/\/www.compagniedelagrandeourse.com\/module\/sj4webrelatedproducts\/ajax"; window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtаg('js', new Date()); gtаg( 'config', 'G-ZPGTL1SMJF', { 'debug_mode':false } ); var agSiteId="11167"; (function(h,o,t,j,a,r){ h.hj=h.hj||function(){ (h.hj.q=h.hj.q||[]).push(arguments); }; h._hjSettings={ hjid:5313131, hjsv:6 }; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); document.addEventListener("DOMContentLoaded", () => { const swiperFreeDelivery = new Swiper('.freedelivery-wrapper .swiper-container', { autoplay: true, loop: true, cssMode: true, delay: 2000, centeredSlides: true, }); }); ``` -------------------------------- ### Hotjar Initialization Script Source: https://www.compagniedelagrandeourse.com/260-taie-doreiller-motifs Integrates the Hotjar tracking code to enable user behavior analysis, heatmaps, and session recordings. It dynamically loads the Hotjar script based on a configured site ID. ```javascript (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:5313131,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Axeptio Cookie Consent and SDK Initialization Source: https://www.compagniedelagrandeourse.com/448-coton-57-filscm Configures Axeptio settings, including client ID and Google Consent Mode preferences, then asynchronously loads the Axeptio SDK script. This snippet is responsible for managing user consent for cookies and tracking. ```javascript window.axeptioSettings = { clientId:"613a6bd4a4511a0de26f2500", cookiesVersion:"compagniedelagrandeourse-base", googleConsentMode: { default: { analytics_storage: "granted", ad_storage: "granted", ad_user_data: "granted", ad_personalization: "granted", wait_for_update: 500 } } }; (function(d, s) { var t = d.getElementsByTagName(s)[0], e = d.createElement(s); e.async = true; e.src = "//static.axept.io/sdk.js"; t.parentNode.insertBefore(e, t); })(document, "script"); ``` -------------------------------- ### Hotjar Initialization Script Source: https://www.compagniedelagrandeourse.com/445-lin-de-france Loads and initializes the Hotjar tracking script. This script is responsible for collecting user feedback and behavior analytics on the website. ```javascript (function(h,o,t,j,a,r){ h.hj=h.hj||function(){ (h.hj.q=h.hj.q||[]).push(arguments); }; h._hjSettings={ hjid:5313131, hjsv:6 }; a=o.getElementsByTagName('head')[0]; r=o.createElement('script'); r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ``` -------------------------------- ### Axeptio Cookie Consent Integration Source: https://www.compagniedelagrandeourse.com/263-taie-de-traversin-unie Initializes an Axeptio callback to listen for cookie consent completion. It pushes a function to `window._axcb` that executes when Axeptio signals that cookie choices have been made. ```javascript void 0 === window._axcb && (window._axcb = []); window._axcb.push(function(axeptio) { axeptio.on("cookies:complete", function(choices) { // Callback logic for cookie completion }); }); ``` -------------------------------- ### Initialize Hotjar Tracking Source: https://www.compagniedelagrandeourse.com/225-drap-plat-uni Integrates the Hotjar tracking script into the webpage. This allows for user behavior analysis, heatmaps, and session recordings on the site. ```javascript var agSiteId = "11167"; (function(h, o, t, j, a, r) { h.hj = h.hj || function() { (h.hj.q = h.hj.q || []).push(arguments) }; h._hjSettings = { hjid: 5313131, hjsv: 6 }; a = o.getElementsByTagName('head')[0]; r = o.createElement('script'); r.async = 1; r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; a.appendChild(r); })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv='); ``` -------------------------------- ### Shop Configuration Details Source: https://www.compagniedelagrandeourse.com/315-grandes-tailles Provides essential shop identification and branding assets. Includes the shop name, logo URL, and favicon path. ```json { "shop": { "name": "Compagnie de la Grande Ourse", "logo": "https:\/\/www.compagniedelagrandeourse.com\/img\/logo-1718728478.jpg", "stores_icon": "https:\/\/www.compagniedelagrandeourse.com\/img\/logo_stores.png", "favicon": "https:\/\/www.compagniedelagrandeourse.com\/img\/favicon.ico" } } ``` -------------------------------- ### Hotjar Initialization Source: https://www.compagniedelagrandeourse.com/443-linge-de-lit-motif Initializes the Hotjar tracking script for website analytics and user feedback. It dynamically loads the Hotjar script based on the provided site ID. ```javascript (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:5313131,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); ```