Lead #3929

Company
Marshall Clean Heat and Power Ltd
Website
http://marshallenergy.co.uk
Best Contact
Ryan Marshall — Managing Director
Email
hi@marshallenergy.co.uk (person)

Override

Captured Pages

Emails:
View text

                    
View text

                    
View text

                    
Emails:
View text

                    
Emails: hi@marshallenergy.co.uk
View text
Skip to content Marshall Clean Heat and Power Primary Menu Homeowners Commercial New Build Products Heating Solutions Air Source Heat Pumps Low-carbon, energy-saving heating from outdoor air. Ground Source Heat Pumps Harness natural underground heat for ultra-efficient home heating. Underfloor Heating Comfortable, efficient warmth from the ground up. Solar Thermal Use the sun to heat your water and cut energy bills. Cooling Solutions Air Conditioning Low-energy cooling with year-round climate control. MHVR Fresh filtered air, lower heat loss, better indoor comfort. Electrical Solutions Solar PV Generate clean electricity and reduce your energy bills. Battery Storage Store surplus solar energy to use day or night. EV Charging Smart, fast electric vehicle charging at home or work. Electrical Installations Safe, compliant wiring for homes and businesses. Aftercare Heat Pump Service Contracts Gas Boiler Service Contracts Boiler Repair Repairs & Maintenance Electrical Inspection & Testing Finance Boiler Upgrade Scheme Finance ECO4 Smart Energy Tariffs Warm Homes Grant Insights About Us Case Studies Reviews Our Customers Accreditations Partnerships News Contact Locations Instant Quote Solar Battery Heatpump Air Conditioning Book a Call Book a Call Homeowners Commercial New Build Client Login The North East's Renewable Energy Experts 15+ Years Experience Local. Trusted. Proven. Redefining Home Energy for a Greener Future. At Marshall, we’re not just heating homes – we’re changing the way people think about energy. Founded in 2008, we’ve grown into one of the North East’s leading specialists in renewable energy and efficient heating solutions, delivering comfort, sustainability, and long-term savings to homes and businesses alike. We believe that sustainability and efficiency should go hand in hand, making greener living accessible, affordable, and hassle-free. let animation = gsap.to(".pulse-ring", { scale: 1.3, opacity: 0, duration: 4, stagger: { each: 1, repeat: -1 } }); animation.time(4); Pioneers in Renewable Energy & Heating for the North East 17 Years Experience 2035 Completed Projects 1426 Running Projects 1349 Working Facilities A team you can trust. Behind every project is a team of highly skilled engineers, electricians, and renewable energy specialists; all committed to delivering exceptional results with care, precision, and professionalism. Play Video Your browser does not support HTML video. Heating Air Source Heat Pump and Solar PV Installation for Mrs Jessop Read More Leading the Charge in Sustainable Energy & Heating Why Choose Marshall We’re passionate about helping homeowners and businesses take control of their energy. At Marshall, we don’t just install systems — we deliver smart, future-ready solutions that reduce running costs, lower carbon footprints, and increase comfort all year round. Whether you’re looking to heat your home more efficiently, power it with clean electricity, or install smart technologies that futureproof your property, our team is here to make the process simple, stress-free, and tailored to you. Our specialist services include: Renewable energy systems including air source heat pumps, solar PV, and battery storage 0% Efficient heating systems designed for maximum performance and lower bills 0% Smart Controls & Integration full system design that works together seamlessly 0% Service & Maintenance ongoing support from qualified engineers you can trust 0% Our Team • “We started Marshall to do things differently; to put the customer first, deliver real savings, and build a business people can rely on. That’s still our mission today.” — Ryan Marshall Ryan Managing Director Carly Operations Director Nick Installations Manager View All Help build a smarter, low-carbon future, with a team that does things properly We’re always on the lookout for people who care about quality, sustainability, and doing work that matters. Whether you’re just starting out or bringing years of experience, you’ll find support, growth, and purpose at Marshall. View Opportunities Partnerships & Accreditations Recognised, accredited, and trusted across the energy sector. Marshall is proud to be accredited by a wide range of industry-leading bodies and recognised for delivering work to the highest professional and technical standards. We are accredited to install: Air Source Heat Pumps (MCS certified) Ground Source Heat Pumps (MCS certified) Biomass Heating Systems (MCS certified) Solar PV Systems (MCS certified) Battery Storage (MCS certified) Solar Thermal Systems (MCS certified) REFCOM (Air Con) certified Gas Boilers & Heating Controls (Gas Safe / Competent Person Scheme) We are also fully certified for: TrustMark: Government-endorsed quality mark for technical competence and customer service NAPIT Certification: Our official MCS certification body RECC: Member of the Renewable Energy Consumer Code FCA Registered: For regulated finance options £10M Employers Liability and £5M Public Liability Insurance Qualitymark Certified EPVS Certified £2M Professional Indemnity Insurance Disputes related to MCS installations may be referred to NAPIT Certification, and consumer complaints to RECC, as part of our commitment to clear and fair trading. Marshall Clean Heat and Power Marshall Clean Heat and Power Ltd is authorised and regulated by the Financial Conduct Authority FRN 736024. We act as a credit broker not a lender and offer finance from a panel of lenders. Credit is subject to affordability, age and status minimum spend applies. Marshall Clean Heat and Power Ltd Company number: 06696717 VAT number: GB 973460794 Registered Address: 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton-on-Tees, TS18 3SB. Facebook Instagram LinkedIn YouTube Useful Links Careers About Us News Resources Fuss Free Guide to Bleeding Radiators Top 5 Energy Saving Tips Contact Us 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB hi@marshallenergy.co.uk 01642 913200 Download Guide Download our free guide to learn the true value of Smarter Energy. hbspt.forms.create({ portalId: "1156839", formId: "139f74f7-c548-4b57-810a-7d68e56aa89b", region: "na1" }); Download the guide Copyright ©Marshall Clean Heat and Power All Rights Reserved. Terms & Conditions Privacy Policy CSR Policy Cookies Policy Complaints Procedure {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/marshall/theme/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} (function(){ // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Always log this to confirm script is loaded (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote tracking script loaded'); function gtag_report_instant_quote_conversion(url) { // Always log that tracking function was called console.log('🔍 [Marshall] gtag_report_instant_quote_conversion() called'); var callback = function () { if (typeof(url) !== 'undefined' && url) { window.location = url; } }; // Wait for GTM and gtag to be ready var maxAttempts = 20; // Try for up to 2 seconds var attempts = 0; function tryTrack() { attempts++; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { console.log('✅ [Marshall] Instant Quote conversion tracked via gtag()'); gtag('event', 'conversion', { 'send_to': 'AW-17041726878/3Ha5CLORhKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined' && attempts >= maxAttempts) { console.warn('⚠️ [Marshall] gtag() not available after ' + maxAttempts + ' attempts, using dataLayer'); window.dataLayer.push({ 'event': 'instant_quote_click', 'conversion_id': 'AW-17041726878', 'conversion_label': '3Ha5CLORhKEbEJ67kL4_', 'eventCallback': callback }); console.log('⚠️ [Marshall] Instant Quote event pushed to dataLayer'); console.warn('📋 [Marshall] You need to create a tag in GTM to listen for "instant_quote_click" event'); return true; } // Try again after delay if (attempts < maxAttempts) { setTimeout(tryTrack, 100); return false; } // Give up and just navigate console.error('❌ [Marshall] Could not track Instant Quote conversion - GTM/gtag not loaded after ' + maxAttempts + ' attempts'); callback(); return false; } tryTrack(); return false; } // Delegate clicks for links marked for instant quote tracking document.addEventListener('click', function(e){ var a = e.target.closest('a.instant-quote-link'); if(!a) return; // Always log click detection (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote link clicked:', a.href); // If middle-click or modifier, let default behavior happen if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) { console.log('🔍 [Marshall] Modifier key detected, allowing default behavior'); return; } var href = a.getAttribute('href'); if (!href) return; // Allow new tab targets to proceed without blocking var target = (a.getAttribute('target') || '').toLowerCase(); if (target === '_blank') { console.log('🔍 [Marshall] Target is _blank, firing conversion without blocking'); // Fire event without blocking navigation try { gtag_report_instant_quote_conversion(); } catch(_) {} return; } // Prevent default and navigate after callback console.log('🔍 [Marshall] Preventing default, tracking conversion first'); e.preventDefault(); gtag_report_instant_quote_conversion(href); }, { capture: true }); console.log('🔍 [Marshall] Click listener attached for instant quote links'); // Check GTM/gtag availability (always log, even without WP_DEBUG) setTimeout(function() { if (typeof gtag === 'function') { console.log('✅ [Marshall] GTM loaded - gtag() function is available'); } else if (typeof window.dataLayer !== 'undefined') { console.warn('⚠️ [Marshall] dataLayer exists but gtag() is not available'); console.log('📋 [Marshall] GTM container should configure a Google Tag to make gtag() available'); } else { console.error('❌ [Marshall] GTM not loaded - neither gtag() nor dataLayer found'); } }, 2000); })(); var marshallRestApi = {"nonce":"56045d2baa","root":"https://www.marshallenergy.co.uk/wp-json/","ajax_url":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","debug":""}; //# sourceURL=marshall-rest-api-js-extra var leadin_wordpress = {"userRole":"visitor","pageType":"page","leadinPluginVersion":"11.3.33"}; //# sourceURL=leadin-script-loader-js-js-extra "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); //# sourceURL=rocket-browser-checker-js-after var RocketPreloadLinksConfig = {"excludeUris":"/(?:.+/)?feed(?:/(?:.+/?)?)?$|/(?:.+/)?embed/|/(index.php/)?(.*)wp-json(/.*|$)|/refer/|/go/|/recommend/|/recommends/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https://www.marshallenergy.co.uk","onHoverDelay":"100","rateThrottle":"3"}; //# sourceURL=rocket-preload-links-js-extra (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); //# sourceURL=rocket-preload-links-js-after var rocket_lazyload_css_data = {"threshold":"300"}; //# sourceURL=rocket_lazyload_css-js-extra !function o(n,c,a){function u(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return u(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){"use strict";{const c="undefined"==typeof rocket_pairs?[]:rocket_pairs,a=(("undefined"==typeof rocket_excluded_pairs?[]:rocket_excluded_pairs).map(t=>{var e=t.selector;document.querySelectorAll(e).forEach(e=>{e.setAttribute("data-rocket-lazy-bg-"+t.hash,"excluded")})}),document.querySelector("#wpr-lazyload-bg-container"));var o=rocket_lazyload_css_data.threshold||300;const u=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&c.filter(e=>t.target.matches(e.selector)).map(t=>{var e;t&&((e=document.createElement("style")).textContent=t.style,a.insertAdjacentElement("afterend",e),t.elements.forEach(e=>{u.unobserve(e),e.setAttribute("data-rocket-lazy-bg-"+t.hash,"loaded")}))})})},{rootMargin:o+"px"});function n(){0<(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).length&&c.forEach(t=>{try{document.querySelectorAll(t.selector).forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&(u.observe(e),(t.elements||=[]).push(e))})}catch(e){console.error(e)}})}n(),function(){const r=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType)return(t=new r(t)).observe(e,{attributes:!0,childList:!0,subtree:!0}),t}}()(document.querySelector("body"),n)}},{}]},{},[1]); //# sourceURL=rocket_lazyload_css-js-after var marshallTurnstile = {"siteKey":"0x4AAAAAAB_qN5IGGBcwZQ8T","ajaxUrl":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","action":"marshall_verify_turnstile","nonce":"8305ec662b","verifyEnabled":"1","messages":{"missingToken":"Please verify that you are human before submitting.","verificationError":"Verification failed. Please try again.","networkError":"We could not reach the verification service. Please try again."}}; //# sourceURL=marshall-script-js-extra window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hi@marshallenergy.co.uk
View text
Skip to content Marshall Clean Heat and Power Primary Menu Homeowners Commercial New Build Products Heating Solutions Air Source Heat Pumps Low-carbon, energy-saving heating from outdoor air. Ground Source Heat Pumps Harness natural underground heat for ultra-efficient home heating. Underfloor Heating Comfortable, efficient warmth from the ground up. Solar Thermal Use the sun to heat your water and cut energy bills. Cooling Solutions Air Conditioning Low-energy cooling with year-round climate control. MHVR Fresh filtered air, lower heat loss, better indoor comfort. Electrical Solutions Solar PV Generate clean electricity and reduce your energy bills. Battery Storage Store surplus solar energy to use day or night. EV Charging Smart, fast electric vehicle charging at home or work. Electrical Installations Safe, compliant wiring for homes and businesses. Aftercare Heat Pump Service Contracts Gas Boiler Service Contracts Boiler Repair Repairs & Maintenance Electrical Inspection & Testing Finance Boiler Upgrade Scheme Finance ECO4 Smart Energy Tariffs Warm Homes Grant Insights About Us Case Studies Reviews Our Customers Accreditations Partnerships News Contact Locations Instant Quote Solar Battery Heatpump Air Conditioning Book a Call Book a Call Homeowners Commercial New Build Client Login Contact Us Contact Marshall | Renewable Energy Experts in the North East Whether you’re looking for a quote, need product support, or just have a question, our friendly team is here to help. Marshall specialises in renewable energy solutions including air source heat pumps, solar PV, Battery Storage, air conditioning, and more. Get in touch and we’ll guide you through the next steps with expert advice and no sales pressure. hbspt.forms.create({ portalId: "1156839", formId: "1ee896e9-c305-4fd3-864a-7c87d5d40dbe", region: "na1" }); Address 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB Opening Hours Monday-Friday: 8am to 4:30pm Saturday & Sunday By appointment only Telephone 01642 913200 Email hi@marshallenergy.co.uk Facebook Instagram LinkedIn YouTube (function() { // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Event snippet for Contact Us conversion page // Works with Google Tag Manager (GTM) function gtag_report_contact_conversion(url) { var callback = function () { if (typeof(url) != 'undefined') { window.location = url; } }; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { gtag('event', 'conversion', { 'send_to': 'AW-17041726878/XLy1COq2hKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined') { window.dataLayer.push({ 'event': 'contact_form_submit', 'conversion_id': 'AW-17041726878', 'conversion_label': 'XLy1COq2hKEbEJ67kL4_', 'eventCallback': callback }); return true; } // If neither method worked, just run callback callback(); return false; } // Listen for HubSpot form submission events via postMessage window.addEventListener('message', function(event) { // Check if the message is from HubSpot if (event.origin !== 'https://forms.hsforms.com' && event.origin !== 'https://forms-eu1.hsforms.com' && event.origin !== 'https://forms-eu2.hsforms.com' && event.origin !== 'https://forms-asia1.hsforms.com') { return; } // Check for HubSpot form submission events if (event.data && typeof event.data === 'object') { // HubSpot sends various events, we're looking for form submission success if (event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormSubmitted') { console.log('✉️ Contact Us HubSpot form submitted successfully'); // Trigger Google Analytics conversion tracking gtag_report_contact_conversion(); } // Alternative: Listen for form validation success events else if (event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormReady') { // Form is ready, we can add additional listeners here if needed } } }); })(); // Additional method: Listen for HubSpot form iframe events document.addEventListener('DOMContentLoaded', function() { // Watch for HubSpot form iframes and add event listeners const hubspotForms = document.querySelectorAll('iframe[src*="hsforms.com"]'); hubspotForms.forEach(function(form) { // Add a load event listener to the iframe form.addEventListener('load', function() { }); }); // Also listen for dynamically added forms const observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { mutation.addedNodes.forEach(function(node) { if (node.nodeType === 1) { // Element node const forms = node.querySelectorAll ? node.querySelectorAll('iframe[src*="hsforms.com"]') : []; forms.forEach(function(form) { }); } }); }); }); // Start observing observer.observe(document.body, { childList: true, subtree: true }); }); Partnerships & Accreditations • Trusted by leading brands and backed by industry standards, our work meets the mark, every time. Marshall Clean Heat and Power Marshall Clean Heat and Power Ltd is authorised and regulated by the Financial Conduct Authority FRN 736024. We act as a credit broker not a lender and offer finance from a panel of lenders. Credit is subject to affordability, age and status minimum spend applies. Marshall Clean Heat and Power Ltd Company number: 06696717 VAT number: GB 973460794 Registered Address: 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton-on-Tees, TS18 3SB. Facebook Instagram LinkedIn YouTube Useful Links Careers About Us News Resources Fuss Free Guide to Bleeding Radiators Top 5 Energy Saving Tips Contact Us 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB hi@marshallenergy.co.uk 01642 913200 Download Guide Download our free guide to learn the true value of Smarter Energy. hbspt.forms.create({ portalId: "1156839", formId: "139f74f7-c548-4b57-810a-7d68e56aa89b", region: "na1" }); Download the guide Copyright ©Marshall Clean Heat and Power All Rights Reserved. Terms & Conditions Privacy Policy CSR Policy Cookies Policy Complaints Procedure {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/marshall/theme/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} (function(){ // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Always log this to confirm script is loaded (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote tracking script loaded'); function gtag_report_instant_quote_conversion(url) { // Always log that tracking function was called console.log('🔍 [Marshall] gtag_report_instant_quote_conversion() called'); var callback = function () { if (typeof(url) !== 'undefined' && url) { window.location = url; } }; // Wait for GTM and gtag to be ready var maxAttempts = 20; // Try for up to 2 seconds var attempts = 0; function tryTrack() { attempts++; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { console.log('✅ [Marshall] Instant Quote conversion tracked via gtag()'); gtag('event', 'conversion', { 'send_to': 'AW-17041726878/3Ha5CLORhKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined' && attempts >= maxAttempts) { console.warn('⚠️ [Marshall] gtag() not available after ' + maxAttempts + ' attempts, using dataLayer'); window.dataLayer.push({ 'event': 'instant_quote_click', 'conversion_id': 'AW-17041726878', 'conversion_label': '3Ha5CLORhKEbEJ67kL4_', 'eventCallback': callback }); console.log('⚠️ [Marshall] Instant Quote event pushed to dataLayer'); console.warn('📋 [Marshall] You need to create a tag in GTM to listen for "instant_quote_click" event'); return true; } // Try again after delay if (attempts < maxAttempts) { setTimeout(tryTrack, 100); return false; } // Give up and just navigate console.error('❌ [Marshall] Could not track Instant Quote conversion - GTM/gtag not loaded after ' + maxAttempts + ' attempts'); callback(); return false; } tryTrack(); return false; } // Delegate clicks for links marked for instant quote tracking document.addEventListener('click', function(e){ var a = e.target.closest('a.instant-quote-link'); if(!a) return; // Always log click detection (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote link clicked:', a.href); // If middle-click or modifier, let default behavior happen if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) { console.log('🔍 [Marshall] Modifier key detected, allowing default behavior'); return; } var href = a.getAttribute('href'); if (!href) return; // Allow new tab targets to proceed without blocking var target = (a.getAttribute('target') || '').toLowerCase(); if (target === '_blank') { console.log('🔍 [Marshall] Target is _blank, firing conversion without blocking'); // Fire event without blocking navigation try { gtag_report_instant_quote_conversion(); } catch(_) {} return; } // Prevent default and navigate after callback console.log('🔍 [Marshall] Preventing default, tracking conversion first'); e.preventDefault(); gtag_report_instant_quote_conversion(href); }, { capture: true }); console.log('🔍 [Marshall] Click listener attached for instant quote links'); // Check GTM/gtag availability (always log, even without WP_DEBUG) setTimeout(function() { if (typeof gtag === 'function') { console.log('✅ [Marshall] GTM loaded - gtag() function is available'); } else if (typeof window.dataLayer !== 'undefined') { console.warn('⚠️ [Marshall] dataLayer exists but gtag() is not available'); console.log('📋 [Marshall] GTM container should configure a Google Tag to make gtag() available'); } else { console.error('❌ [Marshall] GTM not loaded - neither gtag() nor dataLayer found'); } }, 2000); })(); var leadin_wordpress = {"userRole":"visitor","pageType":"page","leadinPluginVersion":"11.3.33"}; //# sourceURL=leadin-script-loader-js-js-extra "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); //# sourceURL=rocket-browser-checker-js-after var RocketPreloadLinksConfig = {"excludeUris":"/(?:.+/)?feed(?:/(?:.+/?)?)?$|/(?:.+/)?embed/|/(index.php/)?(.*)wp-json(/.*|$)|/refer/|/go/|/recommend/|/recommends/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https://www.marshallenergy.co.uk","onHoverDelay":"100","rateThrottle":"3"}; //# sourceURL=rocket-preload-links-js-extra (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); //# sourceURL=rocket-preload-links-js-after var rocket_lazyload_css_data = {"threshold":"300"}; //# sourceURL=rocket_lazyload_css-js-extra !function o(n,c,a){function u(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return u(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){"use strict";{const c="undefined"==typeof rocket_pairs?[]:rocket_pairs,a=(("undefined"==typeof rocket_excluded_pairs?[]:rocket_excluded_pairs).map(t=>{var e=t.selector;document.querySelectorAll(e).forEach(e=>{e.setAttribute("data-rocket-lazy-bg-"+t.hash,"excluded")})}),document.querySelector("#wpr-lazyload-bg-container"));var o=rocket_lazyload_css_data.threshold||300;const u=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&c.filter(e=>t.target.matches(e.selector)).map(t=>{var e;t&&((e=document.createElement("style")).textContent=t.style,a.insertAdjacentElement("afterend",e),t.elements.forEach(e=>{u.unobserve(e),e.setAttribute("data-rocket-lazy-bg-"+t.hash,"loaded")}))})})},{rootMargin:o+"px"});function n(){0<(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).length&&c.forEach(t=>{try{document.querySelectorAll(t.selector).forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&(u.observe(e),(t.elements||=[]).push(e))})}catch(e){console.error(e)}})}n(),function(){const r=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType)return(t=new r(t)).observe(e,{attributes:!0,childList:!0,subtree:!0}),t}}()(document.querySelector("body"),n)}},{}]},{},[1]); //# sourceURL=rocket_lazyload_css-js-after var marshallTurnstile = {"siteKey":"0x4AAAAAAB_qN5IGGBcwZQ8T","ajaxUrl":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","action":"marshall_verify_turnstile","nonce":"8305ec662b","verifyEnabled":"1","messages":{"missingToken":"Please verify that you are human before submitting.","verificationError":"Verification failed. Please try again.","networkError":"We could not reach the verification service. Please try again."}}; //# sourceURL=marshall-script-js-extra window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hi@marshallenergy.co.uk
View text
Skip to content Marshall Clean Heat and Power Primary Menu Homeowners Commercial New Build Products Heating Solutions Air Source Heat Pumps Low-carbon, energy-saving heating from outdoor air. Ground Source Heat Pumps Harness natural underground heat for ultra-efficient home heating. Underfloor Heating Comfortable, efficient warmth from the ground up. Solar Thermal Use the sun to heat your water and cut energy bills. Cooling Solutions Air Conditioning Low-energy cooling with year-round climate control. MHVR Fresh filtered air, lower heat loss, better indoor comfort. Electrical Solutions Solar PV Generate clean electricity and reduce your energy bills. Battery Storage Store surplus solar energy to use day or night. EV Charging Smart, fast electric vehicle charging at home or work. Electrical Installations Safe, compliant wiring for homes and businesses. Aftercare Heat Pump Service Contracts Gas Boiler Service Contracts Boiler Repair Repairs & Maintenance Electrical Inspection & Testing Finance Boiler Upgrade Scheme Finance ECO4 Smart Energy Tariffs Warm Homes Grant Insights About Us Case Studies Reviews Our Customers Accreditations Partnerships News Contact Locations Instant Quote Solar Battery Heatpump Air Conditioning Book a Call Book a Call Homeowners Commercial New Build Client Login Contact Us Contact Marshall | Renewable Energy Experts in the North East Whether you’re looking for a quote, need product support, or just have a question, our friendly team is here to help. Marshall specialises in renewable energy solutions including air source heat pumps, solar PV, Battery Storage, air conditioning, and more. Get in touch and we’ll guide you through the next steps with expert advice and no sales pressure. hbspt.forms.create({ portalId: "1156839", formId: "1ee896e9-c305-4fd3-864a-7c87d5d40dbe", region: "na1" }); Address 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB Opening Hours Monday-Friday: 8am to 4:30pm Saturday & Sunday By appointment only Telephone 01642 913200 Email hi@marshallenergy.co.uk Facebook Instagram LinkedIn YouTube (function() { // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Event snippet for Contact Us conversion page // Works with Google Tag Manager (GTM) function gtag_report_contact_conversion(url) { var callback = function () { if (typeof(url) != 'undefined') { window.location = url; } }; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { gtag('event', 'conversion', { 'send_to': 'AW-17041726878/XLy1COq2hKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined') { window.dataLayer.push({ 'event': 'contact_form_submit', 'conversion_id': 'AW-17041726878', 'conversion_label': 'XLy1COq2hKEbEJ67kL4_', 'eventCallback': callback }); return true; } // If neither method worked, just run callback callback(); return false; } // Listen for HubSpot form submission events via postMessage window.addEventListener('message', function(event) { // Check if the message is from HubSpot if (event.origin !== 'https://forms.hsforms.com' && event.origin !== 'https://forms-eu1.hsforms.com' && event.origin !== 'https://forms-eu2.hsforms.com' && event.origin !== 'https://forms-asia1.hsforms.com') { return; } // Check for HubSpot form submission events if (event.data && typeof event.data === 'object') { // HubSpot sends various events, we're looking for form submission success if (event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormSubmitted') { console.log('✉️ Contact Us HubSpot form submitted successfully'); // Trigger Google Analytics conversion tracking gtag_report_contact_conversion(); } // Alternative: Listen for form validation success events else if (event.data.type === 'hsFormCallback' && event.data.eventName === 'onFormReady') { // Form is ready, we can add additional listeners here if needed } } }); })(); // Additional method: Listen for HubSpot form iframe events document.addEventListener('DOMContentLoaded', function() { // Watch for HubSpot form iframes and add event listeners const hubspotForms = document.querySelectorAll('iframe[src*="hsforms.com"]'); hubspotForms.forEach(function(form) { // Add a load event listener to the iframe form.addEventListener('load', function() { }); }); // Also listen for dynamically added forms const observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { mutation.addedNodes.forEach(function(node) { if (node.nodeType === 1) { // Element node const forms = node.querySelectorAll ? node.querySelectorAll('iframe[src*="hsforms.com"]') : []; forms.forEach(function(form) { }); } }); }); }); // Start observing observer.observe(document.body, { childList: true, subtree: true }); }); Partnerships & Accreditations • Trusted by leading brands and backed by industry standards, our work meets the mark, every time. Marshall Clean Heat and Power Marshall Clean Heat and Power Ltd is authorised and regulated by the Financial Conduct Authority FRN 736024. We act as a credit broker not a lender and offer finance from a panel of lenders. Credit is subject to affordability, age and status minimum spend applies. Marshall Clean Heat and Power Ltd Company number: 06696717 VAT number: GB 973460794 Registered Address: 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton-on-Tees, TS18 3SB. Facebook Instagram LinkedIn YouTube Useful Links Careers About Us News Resources Fuss Free Guide to Bleeding Radiators Top 5 Energy Saving Tips Contact Us 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB hi@marshallenergy.co.uk 01642 913200 Download Guide Download our free guide to learn the true value of Smarter Energy. hbspt.forms.create({ portalId: "1156839", formId: "139f74f7-c548-4b57-810a-7d68e56aa89b", region: "na1" }); Download the guide Copyright ©Marshall Clean Heat and Power All Rights Reserved. Terms & Conditions Privacy Policy CSR Policy Cookies Policy Complaints Procedure {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/marshall/theme/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} (function(){ // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Always log this to confirm script is loaded (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote tracking script loaded'); function gtag_report_instant_quote_conversion(url) { // Always log that tracking function was called console.log('🔍 [Marshall] gtag_report_instant_quote_conversion() called'); var callback = function () { if (typeof(url) !== 'undefined' && url) { window.location = url; } }; // Wait for GTM and gtag to be ready var maxAttempts = 20; // Try for up to 2 seconds var attempts = 0; function tryTrack() { attempts++; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { console.log('✅ [Marshall] Instant Quote conversion tracked via gtag()'); gtag('event', 'conversion', { 'send_to': 'AW-17041726878/3Ha5CLORhKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined' && attempts >= maxAttempts) { console.warn('⚠️ [Marshall] gtag() not available after ' + maxAttempts + ' attempts, using dataLayer'); window.dataLayer.push({ 'event': 'instant_quote_click', 'conversion_id': 'AW-17041726878', 'conversion_label': '3Ha5CLORhKEbEJ67kL4_', 'eventCallback': callback }); console.log('⚠️ [Marshall] Instant Quote event pushed to dataLayer'); console.warn('📋 [Marshall] You need to create a tag in GTM to listen for "instant_quote_click" event'); return true; } // Try again after delay if (attempts < maxAttempts) { setTimeout(tryTrack, 100); return false; } // Give up and just navigate console.error('❌ [Marshall] Could not track Instant Quote conversion - GTM/gtag not loaded after ' + maxAttempts + ' attempts'); callback(); return false; } tryTrack(); return false; } // Delegate clicks for links marked for instant quote tracking document.addEventListener('click', function(e){ var a = e.target.closest('a.instant-quote-link'); if(!a) return; // Always log click detection (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote link clicked:', a.href); // If middle-click or modifier, let default behavior happen if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) { console.log('🔍 [Marshall] Modifier key detected, allowing default behavior'); return; } var href = a.getAttribute('href'); if (!href) return; // Allow new tab targets to proceed without blocking var target = (a.getAttribute('target') || '').toLowerCase(); if (target === '_blank') { console.log('🔍 [Marshall] Target is _blank, firing conversion without blocking'); // Fire event without blocking navigation try { gtag_report_instant_quote_conversion(); } catch(_) {} return; } // Prevent default and navigate after callback console.log('🔍 [Marshall] Preventing default, tracking conversion first'); e.preventDefault(); gtag_report_instant_quote_conversion(href); }, { capture: true }); console.log('🔍 [Marshall] Click listener attached for instant quote links'); // Check GTM/gtag availability (always log, even without WP_DEBUG) setTimeout(function() { if (typeof gtag === 'function') { console.log('✅ [Marshall] GTM loaded - gtag() function is available'); } else if (typeof window.dataLayer !== 'undefined') { console.warn('⚠️ [Marshall] dataLayer exists but gtag() is not available'); console.log('📋 [Marshall] GTM container should configure a Google Tag to make gtag() available'); } else { console.error('❌ [Marshall] GTM not loaded - neither gtag() nor dataLayer found'); } }, 2000); })(); var leadin_wordpress = {"userRole":"visitor","pageType":"page","leadinPluginVersion":"11.3.33"}; //# sourceURL=leadin-script-loader-js-js-extra "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); //# sourceURL=rocket-browser-checker-js-after var RocketPreloadLinksConfig = {"excludeUris":"/(?:.+/)?feed(?:/(?:.+/?)?)?$|/(?:.+/)?embed/|/(index.php/)?(.*)wp-json(/.*|$)|/refer/|/go/|/recommend/|/recommends/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https://www.marshallenergy.co.uk","onHoverDelay":"100","rateThrottle":"3"}; //# sourceURL=rocket-preload-links-js-extra (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); //# sourceURL=rocket-preload-links-js-after var rocket_lazyload_css_data = {"threshold":"300"}; //# sourceURL=rocket_lazyload_css-js-extra !function o(n,c,a){function u(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return u(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){"use strict";{const c="undefined"==typeof rocket_pairs?[]:rocket_pairs,a=(("undefined"==typeof rocket_excluded_pairs?[]:rocket_excluded_pairs).map(t=>{var e=t.selector;document.querySelectorAll(e).forEach(e=>{e.setAttribute("data-rocket-lazy-bg-"+t.hash,"excluded")})}),document.querySelector("#wpr-lazyload-bg-container"));var o=rocket_lazyload_css_data.threshold||300;const u=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&c.filter(e=>t.target.matches(e.selector)).map(t=>{var e;t&&((e=document.createElement("style")).textContent=t.style,a.insertAdjacentElement("afterend",e),t.elements.forEach(e=>{u.unobserve(e),e.setAttribute("data-rocket-lazy-bg-"+t.hash,"loaded")}))})})},{rootMargin:o+"px"});function n(){0<(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).length&&c.forEach(t=>{try{document.querySelectorAll(t.selector).forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&(u.observe(e),(t.elements||=[]).push(e))})}catch(e){console.error(e)}})}n(),function(){const r=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType)return(t=new r(t)).observe(e,{attributes:!0,childList:!0,subtree:!0}),t}}()(document.querySelector("body"),n)}},{}]},{},[1]); //# sourceURL=rocket_lazyload_css-js-after var marshallTurnstile = {"siteKey":"0x4AAAAAAB_qN5IGGBcwZQ8T","ajaxUrl":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","action":"marshall_verify_turnstile","nonce":"8305ec662b","verifyEnabled":"1","messages":{"missingToken":"Please verify that you are human before submitting.","verificationError":"Verification failed. Please try again.","networkError":"We could not reach the verification service. Please try again."}}; //# sourceURL=marshall-script-js-extra window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hi@marshallenergy.co.uk
View text
Skip to content Marshall Clean Heat and Power Primary Menu Homeowners Commercial New Build Products Heating Solutions Air Source Heat Pumps Low-carbon, energy-saving heating from outdoor air. Ground Source Heat Pumps Harness natural underground heat for ultra-efficient home heating. Underfloor Heating Comfortable, efficient warmth from the ground up. Solar Thermal Use the sun to heat your water and cut energy bills. Cooling Solutions Air Conditioning Low-energy cooling with year-round climate control. MHVR Fresh filtered air, lower heat loss, better indoor comfort. Electrical Solutions Solar PV Generate clean electricity and reduce your energy bills. Battery Storage Store surplus solar energy to use day or night. EV Charging Smart, fast electric vehicle charging at home or work. Electrical Installations Safe, compliant wiring for homes and businesses. Aftercare Heat Pump Service Contracts Gas Boiler Service Contracts Boiler Repair Repairs & Maintenance Electrical Inspection & Testing Finance Boiler Upgrade Scheme Finance ECO4 Smart Energy Tariffs Warm Homes Grant Insights About Us Case Studies Reviews Our Customers Accreditations Partnerships News Contact Locations Instant Quote Solar Battery Heatpump Air Conditioning Book a Call Book a Call Homeowners Commercial New Build Client Login The North East's Renewable Energy Experts 15+ Years Experience Local. Trusted. Proven. Redefining Home Energy for a Greener Future. At Marshall, we’re not just heating homes – we’re changing the way people think about energy. Founded in 2008, we’ve grown into one of the North East’s leading specialists in renewable energy and efficient heating solutions, delivering comfort, sustainability, and long-term savings to homes and businesses alike. We believe that sustainability and efficiency should go hand in hand, making greener living accessible, affordable, and hassle-free. let animation = gsap.to(".pulse-ring", { scale: 1.3, opacity: 0, duration: 4, stagger: { each: 1, repeat: -1 } }); animation.time(4); Pioneers in Renewable Energy & Heating for the North East 17 Years Experience 2035 Completed Projects 1426 Running Projects 1349 Working Facilities A team you can trust. Behind every project is a team of highly skilled engineers, electricians, and renewable energy specialists; all committed to delivering exceptional results with care, precision, and professionalism. Play Video Your browser does not support HTML video. Heating Air Source Heat Pump and Solar PV Installation for Mrs Jessop Read More Leading the Charge in Sustainable Energy & Heating Why Choose Marshall We’re passionate about helping homeowners and businesses take control of their energy. At Marshall, we don’t just install systems — we deliver smart, future-ready solutions that reduce running costs, lower carbon footprints, and increase comfort all year round. Whether you’re looking to heat your home more efficiently, power it with clean electricity, or install smart technologies that futureproof your property, our team is here to make the process simple, stress-free, and tailored to you. Our specialist services include: Renewable energy systems including air source heat pumps, solar PV, and battery storage 0% Efficient heating systems designed for maximum performance and lower bills 0% Smart Controls & Integration full system design that works together seamlessly 0% Service & Maintenance ongoing support from qualified engineers you can trust 0% Our Team • “We started Marshall to do things differently; to put the customer first, deliver real savings, and build a business people can rely on. That’s still our mission today.” — Ryan Marshall Ryan Managing Director Carly Operations Director Nick Installations Manager View All Help build a smarter, low-carbon future, with a team that does things properly We’re always on the lookout for people who care about quality, sustainability, and doing work that matters. Whether you’re just starting out or bringing years of experience, you’ll find support, growth, and purpose at Marshall. View Opportunities Partnerships & Accreditations Recognised, accredited, and trusted across the energy sector. Marshall is proud to be accredited by a wide range of industry-leading bodies and recognised for delivering work to the highest professional and technical standards. We are accredited to install: Air Source Heat Pumps (MCS certified) Ground Source Heat Pumps (MCS certified) Biomass Heating Systems (MCS certified) Solar PV Systems (MCS certified) Battery Storage (MCS certified) Solar Thermal Systems (MCS certified) REFCOM (Air Con) certified Gas Boilers & Heating Controls (Gas Safe / Competent Person Scheme) We are also fully certified for: TrustMark: Government-endorsed quality mark for technical competence and customer service NAPIT Certification: Our official MCS certification body RECC: Member of the Renewable Energy Consumer Code FCA Registered: For regulated finance options £10M Employers Liability and £5M Public Liability Insurance Qualitymark Certified EPVS Certified £2M Professional Indemnity Insurance Disputes related to MCS installations may be referred to NAPIT Certification, and consumer complaints to RECC, as part of our commitment to clear and fair trading. Marshall Clean Heat and Power Marshall Clean Heat and Power Ltd is authorised and regulated by the Financial Conduct Authority FRN 736024. We act as a credit broker not a lender and offer finance from a panel of lenders. Credit is subject to affordability, age and status minimum spend applies. Marshall Clean Heat and Power Ltd Company number: 06696717 VAT number: GB 973460794 Registered Address: 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton-on-Tees, TS18 3SB. Facebook Instagram LinkedIn YouTube Useful Links Careers About Us News Resources Fuss Free Guide to Bleeding Radiators Top 5 Energy Saving Tips Contact Us 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB hi@marshallenergy.co.uk 01642 913200 Download Guide Download our free guide to learn the true value of Smarter Energy. hbspt.forms.create({ portalId: "1156839", formId: "139f74f7-c548-4b57-810a-7d68e56aa89b", region: "na1" }); Download the guide Copyright ©Marshall Clean Heat and Power All Rights Reserved. Terms & Conditions Privacy Policy CSR Policy Cookies Policy Complaints Procedure {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/marshall/theme/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} (function(){ // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Always log this to confirm script is loaded (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote tracking script loaded'); function gtag_report_instant_quote_conversion(url) { // Always log that tracking function was called console.log('🔍 [Marshall] gtag_report_instant_quote_conversion() called'); var callback = function () { if (typeof(url) !== 'undefined' && url) { window.location = url; } }; // Wait for GTM and gtag to be ready var maxAttempts = 20; // Try for up to 2 seconds var attempts = 0; function tryTrack() { attempts++; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { console.log('✅ [Marshall] Instant Quote conversion tracked via gtag()'); gtag('event', 'conversion', { 'send_to': 'AW-17041726878/3Ha5CLORhKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined' && attempts >= maxAttempts) { console.warn('⚠️ [Marshall] gtag() not available after ' + maxAttempts + ' attempts, using dataLayer'); window.dataLayer.push({ 'event': 'instant_quote_click', 'conversion_id': 'AW-17041726878', 'conversion_label': '3Ha5CLORhKEbEJ67kL4_', 'eventCallback': callback }); console.log('⚠️ [Marshall] Instant Quote event pushed to dataLayer'); console.warn('📋 [Marshall] You need to create a tag in GTM to listen for "instant_quote_click" event'); return true; } // Try again after delay if (attempts < maxAttempts) { setTimeout(tryTrack, 100); return false; } // Give up and just navigate console.error('❌ [Marshall] Could not track Instant Quote conversion - GTM/gtag not loaded after ' + maxAttempts + ' attempts'); callback(); return false; } tryTrack(); return false; } // Delegate clicks for links marked for instant quote tracking document.addEventListener('click', function(e){ var a = e.target.closest('a.instant-quote-link'); if(!a) return; // Always log click detection (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote link clicked:', a.href); // If middle-click or modifier, let default behavior happen if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) { console.log('🔍 [Marshall] Modifier key detected, allowing default behavior'); return; } var href = a.getAttribute('href'); if (!href) return; // Allow new tab targets to proceed without blocking var target = (a.getAttribute('target') || '').toLowerCase(); if (target === '_blank') { console.log('🔍 [Marshall] Target is _blank, firing conversion without blocking'); // Fire event without blocking navigation try { gtag_report_instant_quote_conversion(); } catch(_) {} return; } // Prevent default and navigate after callback console.log('🔍 [Marshall] Preventing default, tracking conversion first'); e.preventDefault(); gtag_report_instant_quote_conversion(href); }, { capture: true }); console.log('🔍 [Marshall] Click listener attached for instant quote links'); // Check GTM/gtag availability (always log, even without WP_DEBUG) setTimeout(function() { if (typeof gtag === 'function') { console.log('✅ [Marshall] GTM loaded - gtag() function is available'); } else if (typeof window.dataLayer !== 'undefined') { console.warn('⚠️ [Marshall] dataLayer exists but gtag() is not available'); console.log('📋 [Marshall] GTM container should configure a Google Tag to make gtag() available'); } else { console.error('❌ [Marshall] GTM not loaded - neither gtag() nor dataLayer found'); } }, 2000); })(); var marshallRestApi = {"nonce":"56045d2baa","root":"https://www.marshallenergy.co.uk/wp-json/","ajax_url":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","debug":""}; //# sourceURL=marshall-rest-api-js-extra var leadin_wordpress = {"userRole":"visitor","pageType":"page","leadinPluginVersion":"11.3.33"}; //# sourceURL=leadin-script-loader-js-js-extra "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); //# sourceURL=rocket-browser-checker-js-after var RocketPreloadLinksConfig = {"excludeUris":"/(?:.+/)?feed(?:/(?:.+/?)?)?$|/(?:.+/)?embed/|/(index.php/)?(.*)wp-json(/.*|$)|/refer/|/go/|/recommend/|/recommends/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https://www.marshallenergy.co.uk","onHoverDelay":"100","rateThrottle":"3"}; //# sourceURL=rocket-preload-links-js-extra (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); //# sourceURL=rocket-preload-links-js-after var rocket_lazyload_css_data = {"threshold":"300"}; //# sourceURL=rocket_lazyload_css-js-extra !function o(n,c,a){function u(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return u(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){"use strict";{const c="undefined"==typeof rocket_pairs?[]:rocket_pairs,a=(("undefined"==typeof rocket_excluded_pairs?[]:rocket_excluded_pairs).map(t=>{var e=t.selector;document.querySelectorAll(e).forEach(e=>{e.setAttribute("data-rocket-lazy-bg-"+t.hash,"excluded")})}),document.querySelector("#wpr-lazyload-bg-container"));var o=rocket_lazyload_css_data.threshold||300;const u=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&c.filter(e=>t.target.matches(e.selector)).map(t=>{var e;t&&((e=document.createElement("style")).textContent=t.style,a.insertAdjacentElement("afterend",e),t.elements.forEach(e=>{u.unobserve(e),e.setAttribute("data-rocket-lazy-bg-"+t.hash,"loaded")}))})})},{rootMargin:o+"px"});function n(){0<(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).length&&c.forEach(t=>{try{document.querySelectorAll(t.selector).forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&(u.observe(e),(t.elements||=[]).push(e))})}catch(e){console.error(e)}})}n(),function(){const r=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType)return(t=new r(t)).observe(e,{attributes:!0,childList:!0,subtree:!0}),t}}()(document.querySelector("body"),n)}},{}]},{},[1]); //# sourceURL=rocket_lazyload_css-js-after var marshallTurnstile = {"siteKey":"0x4AAAAAAB_qN5IGGBcwZQ8T","ajaxUrl":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","action":"marshall_verify_turnstile","nonce":"8305ec662b","verifyEnabled":"1","messages":{"missingToken":"Please verify that you are human before submitting.","verificationError":"Verification failed. Please try again.","networkError":"We could not reach the verification service. Please try again."}}; //# sourceURL=marshall-script-js-extra window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hi@marshallenergy.co.uk
View text
Skip to content Marshall Clean Heat and Power Primary Menu Homeowners Commercial New Build Products Heating Solutions Air Source Heat Pumps Low-carbon, energy-saving heating from outdoor air. Ground Source Heat Pumps Harness natural underground heat for ultra-efficient home heating. Underfloor Heating Comfortable, efficient warmth from the ground up. Solar Thermal Use the sun to heat your water and cut energy bills. Cooling Solutions Air Conditioning Low-energy cooling with year-round climate control. MHVR Fresh filtered air, lower heat loss, better indoor comfort. Electrical Solutions Solar PV Generate clean electricity and reduce your energy bills. Battery Storage Store surplus solar energy to use day or night. EV Charging Smart, fast electric vehicle charging at home or work. Electrical Installations Safe, compliant wiring for homes and businesses. Aftercare Heat Pump Service Contracts Gas Boiler Service Contracts Boiler Repair Repairs & Maintenance Electrical Inspection & Testing Finance Boiler Upgrade Scheme Finance ECO4 Smart Energy Tariffs Warm Homes Grant Insights About Us Case Studies Reviews Our Customers Accreditations Partnerships News Contact Locations Instant Quote Solar Battery Heatpump Air Conditioning Book a Call Book a Call Homeowners Commercial New Build Client Login Energy efficient heating systems for your home Get a Quote Prevous slide Next slide Prevous slide Next slide Homeowners Commercial New Builds Your Local Experts in Sustainable Energy Solutions Trusted. Innovative. Efficient. Since 2008, Marshall has been delivering cutting-edge renewable energy and heating systems across the North East and Yorkshire. As a family-run business, we prioritise customer satisfaction, offering tailored solutions that reduce energy costs and carbon footprints. Get your free quote today Solar Battery Heatpump Air Conditioning Air Source Heat Pumps Ground Source Heat Pumps Solar Thermal Panels Solar PV Panels Battery Storage EV Car Charging Whole Home Solutions Everything you need under one roof Stop juggling contractors and piecemeal upgrades. With Marshall you get one expert team that designs, installs and supports every energy system your home will ever need. We pair heat-pump comfort with whisper-quiet ventilation, add solar panels that power both the lights and your car, and back it all up with certified electrics and smart controls. Every component is chosen to work in harmony, trimmed for maximum efficiency and wrapped in a single, rock-solid warranty. The result is a home that feels better, costs less to run and leaves a lighter mark on the planet—all delivered through one clear plan, one fixed price and one point of contact. Ready to make the smart move? Talk to Marshall today. Air Source Heat Pumps Underfloor Heating Plumbing Solar PV Battery Storage EV Charging Air Conditioning MVHR Funding Options Expert Advice Easy Installation Up to % Efficiency When you choose an Air Source Heat Pump Get Your Free Quote Get Your Free Quote × Name Email Message Submit 0% apr Finance Options (Subject to affordability, age and status. Minimum spend applies.) £7500 Grant Boiler Upgrade Scheme FREE Survey Home Assessment FREE Quote No Obligation Contact Us Why Work With Us Expert Care, Sustainable Solutions, Trusted Service We are a family-run company, established in 2008. We have a track record in delivering renewable energy technologies and efficient heating systems for homes and businesses in the North East. We focus on high customer satisfaction and offer expert advice to ensure our systems meet all requirements. Whole house solutions In-house team of skilled engineers Local, trusted, 5-star service Award winning company Featured Projects Air Source Heat Pump and UFH Installation for Mrs Davidson Jul 1 Air Source Heat Pump for Mr Davidson Jul 1 Air Source Heat Pump, Underfloor Heating & Solar PV Panels Installation May 12 Air Source Heat Pump, Solar PV, UFH, and Battery Storage for Mrs Swales Jan 31 Ground Source Heat Pump for Mr Joplin Jan 31 Marshall Success Stories. Matt Sawyer Sustainability Consultant We think a lot about how we heat our homes. And for me the natural steps was to have both an air source heat pump at home but also solar panels and a battery. Play Video Resources • Browse our latest guides, specs and support tools. Dec 8, 2025 Heat Pumps vs Gas Boilers: Running Cost and Comfort Comparison Are you deciding between a heat pump and a gas boiler for your home heating? With rising energy costs, increasing… Heating Dec 2, 2025 8 Proven Tips For Getting the Best Out of Your Heat Pump in Colder Months Learn how to get the best performance from your heat pump in colder months with simple winter tips that improve… Heating Nov 12, 2025 How Long Does It Take for Solar Panels to Pay for Themselves in the UK? In 2025, the average UK solar panel payback period ranges between 7 and 12 years, depending on your system size,… Renewable Energy View All Partnerships & Accreditations • Trusted by leading brands and backed by industry standards, our work meets the mark, every time. Marshall Clean Heat and Power Marshall Clean Heat and Power Ltd is authorised and regulated by the Financial Conduct Authority FRN 736024. We act as a credit broker not a lender and offer finance from a panel of lenders. Credit is subject to affordability, age and status minimum spend applies. Marshall Clean Heat and Power Ltd Company number: 06696717 VAT number: GB 973460794 Registered Address: 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton-on-Tees, TS18 3SB. Facebook Instagram LinkedIn YouTube Useful Links Careers About Us News Resources Fuss Free Guide to Bleeding Radiators Top 5 Energy Saving Tips Contact Us 3 Diamond Court, Douglas Close, Preston Farm Ind Est, Stockton on Tees, TS18 3SB hi@marshallenergy.co.uk 01642 913200 Download Guide Download our free guide to learn the true value of Smarter Energy. hbspt.forms.create({ portalId: "1156839", formId: "139f74f7-c548-4b57-810a-7d68e56aa89b", region: "na1" }); Download the guide Copyright ©Marshall Clean Heat and Power All Rights Reserved. Terms & Conditions Privacy Policy CSR Policy Cookies Policy Complaints Procedure {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/marshall/theme/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} (function(){ // Initialize dataLayer if it doesn't exist window.dataLayer = window.dataLayer || []; // Always log this to confirm script is loaded (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote tracking script loaded'); function gtag_report_instant_quote_conversion(url) { // Always log that tracking function was called console.log('🔍 [Marshall] gtag_report_instant_quote_conversion() called'); var callback = function () { if (typeof(url) !== 'undefined' && url) { window.location = url; } }; // Wait for GTM and gtag to be ready var maxAttempts = 20; // Try for up to 2 seconds var attempts = 0; function tryTrack() { attempts++; // Method 1: Try gtag() function (provided by GTM's Google tag) if (typeof gtag === 'function') { console.log('✅ [Marshall] Instant Quote conversion tracked via gtag()'); gtag('event', 'conversion', { 'send_to': 'AW-17041726878/3Ha5CLORhKEbEJ67kL4_', 'event_callback': callback }); return true; } // Method 2: Push custom event to dataLayer for GTM to handle if (typeof window.dataLayer !== 'undefined' && attempts >= maxAttempts) { console.warn('⚠️ [Marshall] gtag() not available after ' + maxAttempts + ' attempts, using dataLayer'); window.dataLayer.push({ 'event': 'instant_quote_click', 'conversion_id': 'AW-17041726878', 'conversion_label': '3Ha5CLORhKEbEJ67kL4_', 'eventCallback': callback }); console.log('⚠️ [Marshall] Instant Quote event pushed to dataLayer'); console.warn('📋 [Marshall] You need to create a tag in GTM to listen for "instant_quote_click" event'); return true; } // Try again after delay if (attempts < maxAttempts) { setTimeout(tryTrack, 100); return false; } // Give up and just navigate console.error('❌ [Marshall] Could not track Instant Quote conversion - GTM/gtag not loaded after ' + maxAttempts + ' attempts'); callback(); return false; } tryTrack(); return false; } // Delegate clicks for links marked for instant quote tracking document.addEventListener('click', function(e){ var a = e.target.closest('a.instant-quote-link'); if(!a) return; // Always log click detection (even without WP_DEBUG) console.log('🔍 [Marshall] Instant Quote link clicked:', a.href); // If middle-click or modifier, let default behavior happen if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) { console.log('🔍 [Marshall] Modifier key detected, allowing default behavior'); return; } var href = a.getAttribute('href'); if (!href) return; // Allow new tab targets to proceed without blocking var target = (a.getAttribute('target') || '').toLowerCase(); if (target === '_blank') { console.log('🔍 [Marshall] Target is _blank, firing conversion without blocking'); // Fire event without blocking navigation try { gtag_report_instant_quote_conversion(); } catch(_) {} return; } // Prevent default and navigate after callback console.log('🔍 [Marshall] Preventing default, tracking conversion first'); e.preventDefault(); gtag_report_instant_quote_conversion(href); }, { capture: true }); console.log('🔍 [Marshall] Click listener attached for instant quote links'); // Check GTM/gtag availability (always log, even without WP_DEBUG) setTimeout(function() { if (typeof gtag === 'function') { console.log('✅ [Marshall] GTM loaded - gtag() function is available'); } else if (typeof window.dataLayer !== 'undefined') { console.warn('⚠️ [Marshall] dataLayer exists but gtag() is not available'); console.log('📋 [Marshall] GTM container should configure a Google Tag to make gtag() available'); } else { console.error('❌ [Marshall] GTM not loaded - neither gtag() nor dataLayer found'); } }, 2000); })(); var leadin_wordpress = {"userRole":"visitor","pageType":"home","leadinPluginVersion":"11.3.33"}; //# sourceURL=leadin-script-loader-js-js-extra "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); //# sourceURL=rocket-browser-checker-js-after var RocketPreloadLinksConfig = {"excludeUris":"/(?:.+/)?feed(?:/(?:.+/?)?)?$|/(?:.+/)?embed/|/(index.php/)?(.*)wp-json(/.*|$)|/refer/|/go/|/recommend/|/recommends/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https://www.marshallenergy.co.uk","onHoverDelay":"100","rateThrottle":"3"}; //# sourceURL=rocket-preload-links-js-extra (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); //# sourceURL=rocket-preload-links-js-after var rocket_lazyload_css_data = {"threshold":"300"}; //# sourceURL=rocket_lazyload_css-js-extra !function o(n,c,a){function u(t,e){if(!c[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=c[t]={exports:{}},n[t][0].call(r.exports,function(e){return u(n[t][1][e]||e)},r,r.exports,o,n,c,a)}return c[t].exports}for(var s="function"==typeof require&&require,e=0;e<a.length;e++)u(a[e]);return u}({1:[function(e,t,r){"use strict";{const c="undefined"==typeof rocket_pairs?[]:rocket_pairs,a=(("undefined"==typeof rocket_excluded_pairs?[]:rocket_excluded_pairs).map(t=>{var e=t.selector;document.querySelectorAll(e).forEach(e=>{e.setAttribute("data-rocket-lazy-bg-"+t.hash,"excluded")})}),document.querySelector("#wpr-lazyload-bg-container"));var o=rocket_lazyload_css_data.threshold||300;const u=new IntersectionObserver(e=>{e.forEach(t=>{t.isIntersecting&&c.filter(e=>t.target.matches(e.selector)).map(t=>{var e;t&&((e=document.createElement("style")).textContent=t.style,a.insertAdjacentElement("afterend",e),t.elements.forEach(e=>{u.unobserve(e),e.setAttribute("data-rocket-lazy-bg-"+t.hash,"loaded")}))})})},{rootMargin:o+"px"});function n(){0<(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).length&&c.forEach(t=>{try{document.querySelectorAll(t.selector).forEach(e=>{"loaded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&"excluded"!==e.getAttribute("data-rocket-lazy-bg-"+t.hash)&&(u.observe(e),(t.elements||=[]).push(e))})}catch(e){console.error(e)}})}n(),function(){const r=window.MutationObserver;return function(e,t){if(e&&1===e.nodeType)return(t=new r(t)).observe(e,{attributes:!0,childList:!0,subtree:!0}),t}}()(document.querySelector("body"),n)}},{}]},{},[1]); //# sourceURL=rocket_lazyload_css-js-after var marshallTurnstile = {"siteKey":"0x4AAAAAAB_qN5IGGBcwZQ8T","ajaxUrl":"https://www.marshallenergy.co.uk/wp-admin/admin-ajax.php","action":"marshall_verify_turnstile","nonce":"8305ec662b","verifyEnabled":"1","messages":{"missingToken":"Please verify that you are human before submitting.","verificationError":"Verification failed. Please try again.","networkError":"We could not reach the verification service. Please try again."}}; //# sourceURL=marshall-script-js-extra window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)