britishgaslite.co.uk Ads.txt file
<!DOCTYPE html><html lang="en"><head><link rel="canonical" href="https://www.britishgas.co.uk/business/lite"><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"><meta name="msvalidate.01" content="AE96AB4A787FF05CFC6FC2B1C5BB6E38"><script type="application/ld+json">
[{"@context":"http://schema.org","@type":"Organization","name":"British Gas Business","logo":"https://www.britishgas.co.uk/nucleus/images/logo.svg","url":"https://www.britishgas.co.uk/business/lite","description":"Offers small businesses fixed-price tariffs for business electricity & gas. Pay by Direct Debit, get a smart meter and through British Gas Lite login customers benefit from online chat."}]</script><meta property="og:title" content="British Gas Lite - What is it? | British Gas business"><meta property="og:description" content="Offers small businesses fixed-price tariffs for business electricity & gas. Pay by Direct Debit, get a smart meter and through British Gas Lite login customers benefit from online chat."><meta property="og:type" content="website"><meta property="og:url" content="https://www.britishgas.co.uk/business/lite"><meta name="format-detection" content="telephone=no"><meta name="keywords" content=""><meta name="description" aem6/content="Offers small businesses fixed-price tariffs for business electricity & gas. Pay by Direct Debit, get a smart meter and through British Gas Lite login customers benefit from online chat."><title>British Gas Lite - What is it? | British Gas business</title><link rel="icon" type="image/vnd.microsoft.icon" href="/digital/business/vi/favicon.ico"><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/digital/business/vi/favicon.ico"><script src="/aem6/etc/designs/britishgas/clientlib/scripts/jquery.js" type="text/javascript"></script><script src="https://www.britishgas.co.uk/nucleus/nucleus.min.js" type="text/javascript"></script><link rel="dns-prefetch" href="//assets.adobedtm.com"><link rel="dns-prefetch" href="//smetrics.britishgas.co.uk"><link rel="dns-prefetch" href="//cdn.decibelinsight.net"><link rel="dns-prefetch" href="//stats.g.doubleclick.net"><link rel="dns-prefetch" href="//ict.infinity-tracking.net"><link rel="dns-prefetch" href="//px.ads.linkedin.com"><link rel="dns-prefetch" href="//www.google.co.uk"><link rel="dns-prefetch" href="//www.googletagmanager.com"><link rel="dns-prefetch" href="//www.googleadservices.com"><!--ns-pill hide and show--><link rel="stylesheet" href="/aem6/etc/designs/configurator/clientlib.css" type="text/css"><script type="text/javascript" src="/aem6/etc/designs/configurator/clientlib.js"></script><script type="text/javascript" src="/aem6/etc.clientlibs/centrica/components/content/nucleus/form/form-container/clientlib3.js"></script></head><body><div class="adobescript adobelaunchscript">
<!-- Only run this block if NOT in edit or design mode -->
<!-- Adobe Launch script loading -->
<script src="https://assets.adobedtm.com/launch-ENeed1182c91bb48c4bf18493223fcb09b.min.js" async></script>
</div>
<div id="header"><div class="header bgb-header">
<nsx-header menu-banner="[{"text":"Switch your business energy to British Gas today","link":{"href":"/business/gas-and-electricity/get-a-quote","text":"Get your energy quote","type":"direct"}},null,null,null,{"text":"Need more support on a specific matter?","link":{"href":"/business/help-and-support/ContactUs","text":"Contact us","type":"direct"}}]" secondary-banner="[{"text":"Log in to manage your business account","link":{"href":"/business/your-account/login","text":"Log in"}}]" quick-links="[[{"heading":"Common actions","href":"","links":[{"text":"Submit a meter reading","href":"/business/help-and-support/connections-meters-readings/submitting-my-meter-reading","data-ns-link":""},{"text":"Pay a bill","href":"/business/help-and-support/billing-and-payments/paying-my-bill","data-ns-link":""},{"text":"Set up a Direct Debit","href":"/business/help-and-support/billing-and-payments/paying-by-direct-debit","data-ns-link":""},{"text":"Get a copy bill or statement","href":"/business/help-and-support/billing-and-payments","data-ns-link":""},{"text":"Renew your business energy contract","href":"/business/gas-and-electricity/renewing-made-easy","data-ns-link":""},{"text":"Paperless bills","href":"/business/help-and-support/my-online-account/paperless-bills","data-ns-link":""},{"text":"Apply for a VAT reduction","href":"/business/help-and-support/billing-and-payments/VAT-reduction","data-ns-link":""},{"text":"Moving business location","href":"/business/help-and-support/moving-premises","data-ns-link":""}]}]]" type="business" sections="[[{"heading":"Business electricity","href":"/business/gas-and-electricity/business-electricity","alt":"","links":[{"text":"Natural Renewable Electricity","href":"/business/gas-and-electricity/renewable-business-energy/natural-renewable-electricity","alt":""},{"text":"Flex Advantage","href":"/business/gas-and-electricity/flexible-energy-contracts","alt":""}]},{"heading":"Business gas","href":"/business/gas-and-electricity/business-gas","alt":"","links":[{"text":"Carbon Neutral Gas","href":"/business/gas-and-electricity/renewable-business-energy/carbon-neutral-gas","alt":""},{"text":"Renewable Gas","href":"/business/gas-and-electricity/renewable-business-energy/renewable-gas","alt":""}]},{"heading":"See also","href":"","alt":"","links":[{"text":"Switching business energy suppliers","href":"/business/gas-and-electricity/switching-business-energy-supplier","alt":""},{"text":"New gas & electricity connections","href":"/business/gas-and-electricity/connections-and-metering","alt":""},{"text":"What is British Gas Lite?","href":"/business/lite","alt":""},{"text":"Our Business Energy Price Plans","href":"/business/gas-and-electricity/energy-price-plans","alt":""},{"text":"Commercial landlord energy","href":"/business/gas-and-electricity/commercial-landlord-energy","alt":""}]}],[{"heading":"About us","href":"","alt":"","links":[{"text":"British Gas business","href":"/business/about-us","alt":""},{"text":"British Gas Lite","href":"/business/lite","alt":""},{"text":"British Gas Plus","href":"/business/plus","alt":""},{"text":"Centrica Business Solutions","href":"/business/about-us/who-is-centrica-business-solutions","alt":""},{"text":"Business blog","href":"/business/blog","alt":""}]}],[{"heading":"Read our most recent articles","href":"","alt":"","links":[{"text":"Gas Safety Week 2025 - Protect your Business, People and Community","href":"/business/blog/gas-safety-week","alt":""},{"text":"Unlock savings - PeakSave for Business returns this September!","href":"/business/blog/peaksave-half-price-electricity","alt":""},{"text":"A business guide to the Smart Export Guarantee","href":"/business/blog/seg-business-guide","alt":""},{"text":"How to clean your business solar panels for maximum efficiency","href":"/business/blog/how-to-clean-solar-panels","alt":""}]},{"heading":"Market Insight overview","href":"/business/blog/energy-market","alt":"","links":[{"text":"Energy prices react to tariffs, start and end of ‘Twelve-Day War’","href":"/business/blog/energy-market/energy-price-geopolitics-impact","alt":""},{"text":"UK companies prioritise business cost reduction amid economic uncertainty","href":"/business/blog/energy-market/business-cost-reduction-prioritised","alt":""},{"text":"Renewable energy solutions set new Q2 heights for UK electricity","href":"/business/blog/energy-market/renewable-electricity-heights-q2-2025","alt":""},{"text":"Energy pricing trends - what’s driving the change in third party costs?","href":"/business/blog/energy-market/energy-pricing-trends-q2-25","alt":""}]}],[{"heading":"Business energy efficiency","href":"","alt":"","links":[{"text":"Smart meters","href":"/business/smart-meters","alt":""},{"text":"Business energy saving","href":"/business/business-energy-saving","alt":""},{"text":"Energy360® DataView","href":"/business/gas-and-electricity/energy360","alt":""},{"text":"Help for struggling businesses","href":"/business/help-and-support/billing-and-payments/financial-difficulty","alt":""},{"text":"Commercial Solar PV panels","href":"/business/green-business/commercial-solar-PV-panels","alt":""},{"text":"Smart Export Guarantee for businesses","href":"/business/help-and-support/billing-and-payments/smart-export-guarantee","alt":""}]}],[{"heading":"Get help with the following","href":"","alt":"","links":[{"text":"Billing & payments","href":"/business/help-and-support/billing-and-payments","alt":""},{"text":"My online account","href":"/business/help-and-support/my-online-account","alt":""},{"text":"Connections, meters & readings","href":"/business/help-and-support/connections-meters-readings","alt":""},{"text":"Switching business energy supplier","href":"/business/help-and-support/switching-to-british-gas-business","alt":""},{"text":"Moving premises","href":"/business/help-and-support/moving-premises","alt":""},{"text":"Emergencies","href":"/business/help-and-support/emergencies","alt":""}]}]]"></nsx-header>
</div>
</div>
<div class="ndsn" id="content" role="main"><div class="par parsys">
<div class="landmark">
<ns-landmark image="/aem6/content/dam/ukbusiness/ukb-nucleus/images/lite/FemaleArtistoverLaptop-1440x810.jpg" type="valley" decoration="cyan" ratio="16 / 9">
<h1 slot="heading">
<span class="h5">
</span>
<span class="h1">British Gas Lite</span>
</h1>
<div slot="paragraph"><p>Lite is a product for small businesses with fixed-price tariffs for business electricity and business gas.</p>
</div>
<div slot="paragraph"><p>Benefit through easy Direct Debit payments, automated smart meter readings, and a dedicated team for <b>quick online chat support.</b></p>
<div slot="cta"><ns-cta href="https://signup.britishgaslite.co.uk/#/quote?cid=bgb_aboutbglite-acq-oct-2023">Get a British Gas Lite quote</ns-cta></div>
</div>
<ns-cta slot="cta" href="https://customer.britishgaslite.co.uk/#/login" type="text">Log in to your Lite account</ns-cta>
</ns-landmark>
</div>
<div class="panel">
<ns-panel decoration="blue">
<ns-content>
<h2>Why should I buy the British Gas Lite product?</h2>
</ns-content>
<ns-column rugbypitch="4" footballpitch="4">
<ns-card role="listitem" type="section" decoration="payments">
<h3 slot="heading">
Fixed Price tariffs
</h3>
<div slot="paragraph">
<p>Fixed tariffs ensure your energy bills remain stable throughout your contract. With a Variable Direct Debit, you pay only for the energy you use each month.</p>
</div>
</ns-card>
<ns-card role="listitem" type="section" decoration="bar-graph">
<h3 slot="heading">
Free smart meter<br>
when you join
</h3>
<div slot="paragraph">
<p>Accurate bills and insights into your energy usage and help you to identify areas you could save energy.</p>
</div>
</ns-card>
<ns-card role="listitem" type="section" decoration="laptop">
<h3 slot="heading">
Online account available 24/7
</h3>
<div slot="paragraph">
<p>Quick and easy access to your online account where you can manage your account, view and pay your bills and live chat with the team.</p>
</div>
</ns-card>
<ns-card role="listitem" type="section" decoration="circle-tick-blue">
<h3 slot="heading">
Trusted energy supplier
</h3>
<div slot="paragraph">
<p>British Gas is one of the UK's largest and most trusted energy suppliers. You can be assured of receiving high-quality service when you join us.</p>
</div>
</ns-card>
</ns-column>
</ns-panel>
</div>
<ns-panel inset="true" decoration="navy-light">
<ns-content>
<ns-pill colour="lime" icon="piggy-bank">Business savings</ns-pill>
<h2>Go to British Gas Lite for an instant quote</h2>
<p>Do you have single business location, spend less than £30,000 or use less than 150MW per year?</p>
<ns-cta icon="arrow-right" href="https://signup.britishgaslite.co.uk/#/quote?cid=bgb_aboutbglite-acq-oct-2023" type="direct">Get a quote for British Gas Lite</ns-cta>
</ns-content>
</ns-panel>
<ns-panel decoration="navy">
<ns-content>
<h2>Log in to your Lite account</h2>
</ns-content>
<ns-column footballpitch="2">
<ns-card role="listitem" type="section" decoration="shop">
<h3 slot="heading">
British Gas Lite login for customers
</h3>
<div slot="paragraph">
<ul class="ul-ticked">
<li>View and pay bills</li>
<li>Send meter readings</li>
<li>Set up or amend your Direct Debit</li>
</ul>
</div>
<ns-cta icon="arrow-right" slot="cta" href="https://customer.britishgaslite.co.uk/#/login" type="direct">Lite customer login</ns-cta>
</ns-card>
<ns-card role="listitem" type="section" decoration="multiple-people">
<h3 slot="heading">
British Gas Lite login for brokers
</h3>
<div slot="paragraph">
<ul class="ul-ticked">
<li>Track new sales registrations</li>
<li>Review pricing</li>
<li>View account upgrades</li>
</ul>
</div>
<ns-cta icon="arrow-right" slot="cta" href="https://partner.britishgaslite.co.uk/#/login" type="direct">Lite broker login</ns-cta>
</ns-card>
</ns-column>
</ns-panel>
<ns-panel decoration="grey-light">
<ns-content>
<h2>Chat to us</h2>
<p class="p-feature">We have a dedicated customer service team to answer questions about British Gas Lite.</p>
<ns-column footballpitch="2">
<ns-card role="listitem" type="section" decoration="chat">
<h3 slot="heading">
Live chat
</h3>
<div slot="paragraph">
<p>We're open 8am to 6pm, Monday to Friday.</p>
<style>
.htmlinput:after {
content:"";
display:table;
clear:both;
}
</style>
<div id="aws-chat-fixed-contactus" class="nav-item nav-item-chat">
<div class="contact-cta contact-cta--webchat contact-cta--available">
<ns-cta icon="arrow-right" slot="cta" type="direct" class="contact-cta__link" onclick="window.AmazonCustomChatWidget.API.startChat()" data-di-id="di-id-61d5d188-5d05007a">Chat with us</ns-cta>
</div>
</div>
</div>
</ns-card>
</ns-column>
</ns-content>
</ns-panel>
<ns-panel>
<ns-accordion>
<h2 class="h2" slot="heading">Frequently asked questions about British Gas Lite</h2>
<ns-expander open="false">
<h4 slot="heading">What is the British Gas Lite product?</h4>
<p>British Gas Lite is a fixed-price online-only product, offering lower costs to small business customers.</p>
<p>Created in 2018, British Gas Lite offers online, cost-effective services to help customers manage their accounts more efficiently at a time that's convenient to them.</p>
</ns-expander>
<ns-expander open="false">
<h4 slot="heading">What's the difference between British Gas and British Gas Lite?</h4>
<p>British Gas Lite has been created for small business who want a fixed tariff contract. The business also pays by Direct Debit and gets a smart meter. British Gas Lite is cost effective as it's online-only and offers web chat with a dedicated team.</p>
<p>British Gas sells energy supply products to business and residential customers.</p>
</ns-expander>
<ns-expander open="false">
<h4 slot="heading">Is British Gas Lite for business only?</h4>
<p>Yes, British Gas Lite has been designed with small business customers in mind.</p>
</ns-expander>
<ns-expander open="false">
<h4 slot="heading">How do I call British Gas Lite?</h4>
<p>There is a dedicated web chat team for Lite customers. As it's an online-only product, customers can only web chat with us, 8am to 6pm, Monday to Friday.</p>
</ns-expander>
<ns-expander open="false">
<h4 slot="heading">Where can I find the British Gas Lite terms and conditions?</h4>
<p>You can find the British Gas Lite terms and conditions on our <a adhocenable="false" data-toggle="none" href="/business/terms-and-conditions">Terms and conditions</a> page.</p>
</ns-expander>
<ns-expander open="false">
<h4 slot="heading">How can I complain about British Gas Lite?</h4>
<p>To read more about our Lite complaints procedure, please visit our <a adhocenable="false" data-toggle="none" href="/business/complaints?cid=litecomplaints">Complaints section</a>.</p>
</ns-expander>
</ns-accordion>
</ns-panel>
</div>
</div>
<div id="footer">
<ns-footer company="British Gas">
<ns-card slot="section" type="nav">
<h2 slot="heading">About us</h2>
<ul slot="paragraph">
<li><a id="footer-aboutus-bgb" href="/business/about-us" data-di-id="#footer-aboutus-bgb" adhocenable="false" data-toggle="none">British Gas business</a></li>
<li><a id="footer-aboutus-bglite" href="/business/lite" data-di-id="#footer-aboutus-bglite" adhocenable="false" data-toggle="none">British Gas Lite</a></li>
<li><a id="footer-aboutus-cbs" href="https://www.centricabusinesssolutions.com" data-di-id="#footer-aboutus-cbs" adhocenable="false" data-toggle="none" title="This link will open in a new window" target="_blank">Centrica Business Solutions</a></li>
<li><a id="footer-aboutus-centrica" href="https://www.centrica.com" data-di-id="#footer-aboutus-centrica" adhocenable="false" data-toggle="none" title="This link will open in a new window" target="_blank">Centrica Plc</a></li>
<li><a id="footer-aboutus-blog" href="/business/blog" data-di-id="#footer-aboutus-blog" adhocenable="false" data-toggle="none">Business blog</a></li>
</ul>
</ns-card>
<ns-card slot="section" type="nav">
<h2 slot="heading">Information</h2>
<ul slot="paragraph">
<li><a id="footer-info-tcs" href="/business/terms-and-conditions" data-di-id="#footer-info-tcs" adhocenable="false" data-toggle="none">Energy terms & conditions</a></li>
<li><a id="footer-info-webterms" href="/business/terms-and-conditions/website" data-di-id="#footer-info-webterms" adhocenable="false" data-toggle="none">Website terms of use</a></li>
<li><a id="footer-info-privacy" href="/business/privacy-policy" data-di-id="#footer-info-privacy" adhocenable="false" data-toggle="none">Privacy policy</a></li>
<li><a id="footer-info-cookies" class="optanon-toggle-display" href="#cookies">Cookie settings</a></li>
<li><a id="footer-info-accessibility" href="/business/accessibility" data-di-id="#footer-info-accessibility" adhocenable="false" data-toggle="none">Accessibility</a></li>
<li><a id="footer-info-sitemap" href="/business/sitemap" data-di-id="#footer-info-sitemap" adhocenable="false" data-toggle="none">Sitemap</a></li>
</ul>
</ns-card>
<ns-card slot="section" type="nav">
<h2 slot="heading">Support</h2>
<ul slot="paragraph">
<li><a id="footer-support-emergencies" href="/business/help-and-support/emergencies" data-di-id="#footer-support-emergencies" adhocenable="false" data-toggle="none">Emergencies</a></li>
<li><a id="footer-support-contactus" href="/business/help-and-support/ContactUs" data-di-id="#footer-support-contactus" adhocenable="false" data-toggle="none">Contact us</a></li>
<li><a id="footer-support-complaints" href="/business/complaints" data-di-id="#footer-support-complaints" adhocenable="false" data-toggle="none">Complaints</a></li>
<li><a id="footer-support-help" href="/business/help-and-support" data-di-id="#footer-support-help" adhocenable="false" data-toggle="none">Help</a></li>
</ul>
</ns-card>
<ns-card slot="section" type="nav">
<h2 slot="heading">Social channels</h2>
<ul slot="paragraph" class="social-links">
<li><a id="footer-social-linkedin" href="https://www.linkedin.com/company/british-gas-business/" data-di-id="#footer-social-linkedin" title="This link will open in a new window" target="_blank"> <img src="/digital/business/assets/ukb-nucleus/images/logo/Social_media_logo-linkedin.svg" alt="See the British Gas business LinkedIn page" loading="lazy"> </a></li>
<li><a id="footer-social-youtube" href="https://www.youtube.com/user/BritishGasBusiness/" data-di-id="#footer-social-youtube" title="This link will open in a new window" target="_blank"> <img src="https://www.britishgas.co.uk/nucleus/images/social-youtube.svg" alt="See the British Gas business YouTube page" loading="lazy"> </a></li>
<li><a id="#footer-social-twitter" href="https://x.com/BritishGasUKB" data-di-id="#footer-social-twitter" title="This link will open in a new window" target="_blank"><img src="https://www.britishgas.co.uk/nucleus/images/social-twitter.svg" alt="See the British Gas business Twitter page" loading="lazy"></a></li>
</ul>
</ns-card>
<ns-card slot="section" type="nav">
<div slot="paragraph"><a id="footer-teamgb-logo-aboutus" href="/business/about-us" data-di-id="#footer-teamgb-logo-aboutus"><img src="/digital/business/assets/ukb-nucleus/images/logo/British_Gas_proudly_supports.svg" width="auto" height="100px" alt="British Gas is a proud partner of Team GB and Paralympics GB" loading="lazy"></a></div>
</ns-card>
</ns-footer>
<script src="https://www.britishgas.co.uk/aem6/etc/designs/britishgas/nucleus/scripts/bundle.js"></script>
<link type="text/css" href="https://cdn.cookielaw.org/skins/5.7.0/default_flat_bottom_two_button_black/v2/css/optanon.css" rel="stylesheet">
<script type="text/javascript" src="https://www.britishgas.co.uk/aem6/etc/designs/britishgas/clientlib/scripts/components.js" defer></script>
<script src="https://www.britishgas.co.uk/nucleus-experiences/only.components.min.js" type="text/javascript"></script>
<script>
window.addEventListener('load', function() {
if (typeof _satellite !== 'undefined') {
_satellite.pageBottom();
}
});</script>
<!-- signal script start -->
<script type="text/javascript">
var url = window.location.pathname;
var pagePath = url.substring(url.indexOf('/')+10);
window.digitalData = {};
digitalData.navigation = {
pageName: pagePath,
phase: "new"
};
</script>
<!-- signal script end -->
<script>
//tagging code starts
function mm_buildYardPayload(data) { return {'category': data.category || null, 'data': data.data || null, 'key': data.key || null, 'text': data.text || null, 'href': data.href || null, 'category': data.category || null, 'pathname': data.pathname || null, 'search': data.search || null, 'yardPrefix': data.yardPrefix || null }; }
function mm_sendYardEvent(event, data) { var data = mm_buildYardPayload(data); var eventObject; if (typeof (CustomEvent) === 'function') {eventObject = new CustomEvent(event, { 'bubbles': true, detail: data }); } else {eventObject = document.createEvent('Event'); eventObject.initEvent(event, true, true); } document.dispatchEvent(eventObject, {detail: data }); }
function mm_getSavedEvent() { var cache = JSON.parse(localStorage.getItem('ukbSavedEvent')); if (cache && cache.data) {mm_sendYardEvent(cache.event, cache.data); localStorage.removeItem('ukbSavedEvent'); } }
function mm_saveEvent(event, data) { var cache = JSON.stringify({'event': event, 'data': data }); localStorage.setItem('ukbSavedEvent', cache); mm_getSavedEvent(); }
//header script for tagging
document.addEventListener("DOMContentLoaded", () => {
//logo
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > div > div > a > img").addEventListener("click", function (e) { var target = e.target; tagginglogo(e); })
//secondary banner links
if (document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header.desktop")) {
//primary links
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > div > div > ul.header-list").addEventListener("click", function (e) { var target = e.target; tagging(e); })
//secondary top banner tagging
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > div > nav").addEventListener("click", function (e) {var target = e.target;tagging(e);})
//quicklinks
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > div > div > ul.header-quick-links").addEventListener("click", function (e) {var target = e.target;tagging(e);})
//blog
}
//mobile buger menu tagging
if (document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header.mobile")) {
//menu
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > nav.panel").addEventListener("click", function (e) { var target = e.target; tagging(e); });
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > div > div > span > button:nth-child(1)").addEventListener("click", function (e) {var target = e.target;tagginglogo(e);});
document.querySelector("#header > div > nsx-header").shadowRoot.querySelector("header-header").shadowRoot.querySelector("header > div > div > span").addEventListener("click", function (e) { var target = e.target;tagging(e);});
//mobile blog view
}
//blog tagging
//blog tagging
function taggingblog1(e) {
const target = e.target.parentNode;
const href1 = target.getAttribute("href");
const target1 = e.target.parentNode.parentNode;
const parenthead = target1.parentNode;
const index = [].indexOf.call(parenthead.children, target1);
const blogindex = index+1;
const indexmobile = [].indexOf.call(target1.children, target);
const href = e.target.getAttribute("href");
const parentclass = e.target.getAttribute('class');
if (href1 === null){
if (screen.width < 1079){
const text = "blog-article" + indexmobile;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href, 'yardPrefix': 'ukb-Event' });
}
else{
const text = "blog-article" + index;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href, 'yardPrefix': 'ukb-Event' });
}}
else{
if (screen.width > 1079){
const text = "blog-article" + blogindex;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href1, 'yardPrefix': 'ukb-Event' });
}
else{
const text = "blog-article" + index;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href1, 'yardPrefix': 'ukb-Event' });
}}
}
function taggingblog2(e) {
const target = e.target.parentNode;
const href1 = target.getAttribute("href");
const target1 = e.target.parentNode.parentNode;
const parenthead = target1.parentNode;
const index = [].indexOf.call(parenthead.children, target1);
const blogindex = index+1;
const href = e.target.getAttribute("href");
const parentclass = e.target.getAttribute('class');
const indexmobile = [].indexOf.call(target1.children, target);
if (href1 === null){
if (screen.width < 1079){
const text = "mir-article" + indexmobile;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href, 'yardPrefix': 'ukb-Event' });
}
else{
const text = "mir-article" + index;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href, 'yardPrefix': 'ukb-Event' });
}}
else{
if (screen.width > 1079){
const text = "mir-article" + blogindex;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href1, 'yardPrefix': 'ukb-Event' });
}
else{
const text = "mir-article" + index;
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentclass, 'href': href1, 'yardPrefix': 'ukb-Event' });
}}
}
function tagging(e) {
var target = e.target;
if (target.nodeName === 'A' || 'BUTTON') {
if (screen.width < 1079) {
if (target.nodeName === 'A') {
const targetmain = e.target.parentNode.parentNode;
const parentheadmain = targetmain.parentNode;
const indexmain = [].indexOf.call(parentheadmain.children, targetmain);
const blogoverview = parentheadmain.children[0].innerText;
if (blogoverview === 'Blog overview') {
if (indexmain === 1) {
const target = e.target.parentNode.parentNode; taggingblog1(e);
}
if (indexmain === 2) {
const target = e.target.parentNode.parentNode; taggingblog2(e);
}
}
else{
var text = e.target.innerText.split(' ').join('-');
var href = e.target.getAttribute("href");
var parent = e.target.getAttribute('class');
var hrefparentnode = e.target.parentNode.getAttribute("href");
var parentnode = e.target.parentNode.getAttribute('class');
var textparentnode = e.target.parentNode.innerText;
if (href === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parent, 'href': hrefparentnode, 'yardPrefix': 'ukb-Event' });}
else if (text === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + textparentnode, 'componentName': parent, 'href': href, 'yardPrefix': 'ukb-Event' });}
else if (parent === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentnode, 'href': href, 'yardPrefix': 'ukb-Event' });}
else if (parent === "header-link primary" || parent === "header-link primary active"){mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': 'Primary', 'href': href, 'yardPrefix': 'ukb-Event' });}
else{mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentnode, 'href': href, 'yardPrefix': 'ukb-Event' });}
}
}
if (target.nodeName === 'HEADER-CTA') {
var text = e.target.innerText.split(' ').join('-');
var href = e.target.getAttribute("href");
var parent = e.target.getAttribute('class');
var hrefparentnode = e.target.parentNode.getAttribute("href");
var parentnode = e.target.parentNode.getAttribute('class');
var textparentnode = e.target.parentNode.innerText;
if (href === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parent, 'href': hrefparentnode, 'yardPrefix': 'ukb-Event' });}
else if (text === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + textparentnode, 'componentName': parent, 'href': href, 'yardPrefix': 'ukb-Event' });}
else if (parent === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentnode, 'href': href, 'yardPrefix': 'ukb-Event' });}
else if (parent === "header-link primary" || parent === "header-link primary active"){mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': 'Primary', 'href': href, 'yardPrefix': 'ukb-Event' });}
else{mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentnode, 'href': href, 'yardPrefix': 'ukb-Event' });}
}
}
else{
const targetmainclass = e.target.parentNode.className;
if (targetmainclass === "secondary-banner"){
var text = e.target.innerText.split(' ').join('-');
var href = e.target.getAttribute("href");
var parent = e.target.getAttribute('class');
mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-secondary-banner-'+text, 'componentName': parent, 'href': hrefparentnode, 'yardPrefix': 'ukb-Event' })
}else{
const targetmainblog = e.target.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.children[0].innerText;
if (targetmainblog === "Blog overview"){
const parentblog = e.target.parentNode.parentNode.parentNode;
const parentheadmainblog = parentblog.parentNode.parentNode.parentNode;
const parentheadmainblog1 = parentblog.parentNode.parentNode;
const indexmainblog = [].indexOf.call(parentheadmainblog.children, parentheadmainblog1);
if (indexmainblog === 0){const target = e.target;taggingblog1(e);}
else if (indexmainblog === 1){const target = e.target;taggingblog2(e);}}
else{
var text = e.target.innerText.split(' ').join('-');
var href = e.target.getAttribute("href");
var parent = e.target.getAttribute('class');
var hrefparentnode = e.target.parentNode.getAttribute("href");
var parentnode = e.target.parentNode.getAttribute('class');
var textparentnode = e.target.parentNode.innerText;
if (href === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parent, 'href': hrefparentnode, 'yardPrefix': 'ukb-Event' });}
else if (text === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + textparentnode, 'componentName': parent, 'href': href, 'yardPrefix': 'ukb-Event' });}
else if (parent === null) {mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentnode, 'href': href, 'yardPrefix': 'ukb-Event' });}
//checking parent node
else if (parent === "header-link primary" || parent === "header-link primary active"){mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': 'Primary', 'href': href, 'yardPrefix': 'ukb-Event' });}
else{mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': parentnode, 'href': href, 'yardPrefix': 'ukb-Event' });}
}}
}}}
function tagginglogo(e) {
var text = e.target.alt.split(' ').join('-');
var href = e.target.parentNode.getAttribute("href");
mm_saveEvent('ukb-Event', {'category': 'event', 'data': 'event', 'key': 'click', 'text': 'MM-' + text, 'componentName': text + "logo",'href': href, 'yardPrefix': 'ukb-Event' });
}
//footer tagging code
if (document.getElementById('footer')) {
document.getElementById('footer').addEventListener('click', function (event) {
var target = event.target;
if (target.nodeName === 'A') {
var text = event.target.innerText.split(' ').join('-');
var href = event.target.getAttribute('href');
var parent = event.target.getAttribute('id');
mm_saveEvent('ukb-Event', { 'category': 'event', 'data': 'event', 'componentName': parent, 'href': href, 'key': 'click', 'text': 'FT-' + text, 'yardPrefix': 'ukb-Event' });
}
});
}
(function () { if (!Object.getOwnPropertyDescriptor(NodeList.prototype, 'forEach')) {Object.defineProperty(NodeList.prototype, 'forEach', Object.getOwnPropertyDescriptor(Array.prototype, 'forEach')); } })();
})
</script></div>
</body></html>