Bolton Council to hold Armistice Day event this morning

Bolton Council to hold Armistice Day event this morning

Latest News: Today’s News Headlines, Breaking News India -2025

As a subscriber, you are shown 80% less display advertising when reading our
articles.

Those ads you do see are predominantly from local businesses promoting local
services
.

These adverts enable local businesses to get in front of their target audience – the local
community
.

It is important that we continue to promote these adverts as our local businesses need
as much support as possible during these challenging times.

( function () {

window._sp_ = {
config: {
baseEndpoint: ‘
accountId: 52,
targetingParams:{
subscribed: false,
privacy: false
},
gdpr: { },
events: {
onMessageReady: function (message_type) {
trackSPEvents(‘event76’);
},
onMessageChoiceSelect: function (message_type, choice_id, choice_type_id) {
console.log(‘message_type: ‘, message_type);
console.log(‘choice_id: ‘, choice_id);
console.log(‘choice_type_id: ‘, choice_type_id);
if (‘yes’ === ‘yes’) {
if (choice_type_id === 12) {
trackSPEvents(‘event83’); //Consent Banner Reject All
trackSPEvents(‘event82’); //Journalism Message Shown
}
if (choice_type_id === 11) {
trackSPEvents(‘event78’);
}
if (choice_type_id === 9) {
trackSPEvents(‘event77’);
}
} else {
// these are the second argument in non-gate
if (choice_type_id === 12) {
trackSPEvents(‘event77’);
}

if (choice_type_id === 11) {
trackSPEvents(‘event78’);
}

if (choice_type_id === 13) {
trackSPEvents(‘event83’);
}
}
},
onPrivacyManagerActionStatus: function(message_type, status, actionType) {
console.log(‘message_type: ‘ + message_type);
console.log(‘status: ‘ + status);
console.log(‘actionType: ‘ + actionType);
if (‘yes’ === ‘yes’) {
if (actionType === 11) {
trackSPEvents(‘event79’); //Privacy Manager Accept
}
if (actionType === 9) {
trackSPEvents(‘event68’); //Privacy Manager Redirect
}
if (actionType === 1) {
trackSPEvents(‘event75’); //Forced tcf String Change
}
} else {
// these are the second argument in non-gate
if (actionType === 13) {
trackSPEvents(‘event81’); //Privacy Manager Reject
}
if (actionType === 11) {
trackSPEvents(‘event79’); //Privacy Manager Accept
}
if (actionType === 1) {
trackSPEvents(‘event80’); //Privacy Manager Save & Exit
}
}
},
onPMCancel: function (message_type) {
console.log(‘onPMCancel’, message_type);
trackSPEvents(‘event84’); //Privacy Manager Back
},
}
}
}

__tcfapi(‘addEventListener’, 2, function (tcData, success) {
console.log(‘SP: Event Listen:’, tcData, success);
if (success && tcData.eventStatus === ‘useractioncomplete’) {
setTcfCookie(tcData.purpose.consents, tcData.purpose.legitimateInterests);

var csnt=”none”;
if ($.cookie(‘_sp_enable_dfp_personalized_ads’) === ‘true’) {
csnt=”yes”;
} else if ($.cookie(‘_sp_enable_dfp_personalized_ads’) === ‘false’) {
csnt=”no”;
}
googletag.cmd.push(function() {
// console.log(‘DFP: Cookie check – setting dfpcsnt to ‘, csnt);
googletag.pubads().setTargeting(‘dfpcsnt’, csnt);
});
// ready to start DFP
// console.log(‘PIANO: setting unrestricted via useractioncomplete’);
// runPiano(‘unrestricted’);
startAdvertising(tcData.listenerId);

var e = new Event(‘launch:cmp:choice-made’);
window.dispatchEvent(e);
} else if (success && tcData.eventStatus === ‘tcloaded’) {
// tcloaded means a valid TCF v2.0 string is available
// console.log(‘PIANO: setting unrestricted via tcloaded’);
// runPiano(‘unrestricted’);
if (tcData.gdprApplies === false) {
$.cookie(‘_sp_enable_dfp_personalized_ads’, ‘true’, {domain: ‘.theboltonnews.co.uk’, path: ” expires: 100});
}
startAdvertising(tcData.listenerId);

} else if (success && tcData.eventStatus === ‘useractionnotcomplete’) {
// do nothing – this means the user has not made a choice yet
} else if (success && tcData.eventStatus === ‘cmpuishown’) {
// do nothing – this means the CMP UI has been shown
} else if (!success) {
// $.cookie(‘_sp_enable_dfp_personalized_ads’, ‘true’, {domain: ‘.theboltonnews.co.uk’, path: ” expires: 100});
// startAdvertising();
} else {
// console.log(‘PIANO: setting restricted’);
// runPiano(‘restricted’);
}
});

$(do***ent).on(‘click’, ‘.gdpr-option-v2’, function (e) {
e.preventDefault();
sendEvent76 = false;
var id = $(this).data(‘v2-id’);
if ($(this).data(‘is-gate’) === ‘yes’) {
trackSPEvents(‘event87’);
_sp_.gdpr.loadPrivacyManagerModal(id);
} else {
trackSPEvents(‘event77’);
_sp_.gdpr.loadPrivacyManagerModal(id);
}
});

function getTcfData() {
__tcfapi(‘addEventListener’, 2, function(data, success) {
if (!data.purpose || !data.purpose.consents || !data.purpose.legitimateInterests) {
// console.log(‘DFP: No TCF data found, not setting cookies’);
return;
}
setTcfCookie(data.purpose.consents, data.purpose.legitimateInterests);
}, [755]);
}
getTcfData();

function setTcfCookie(data, legitimateInterests) {
var consents = [];
$.each(data, function(id, consent) {
var c = (consent === true) ? ‘yes’ : ‘no’;
consents.push(c)
});
// console.log(‘DFP: consents length: ‘, consents.length);
if (consents.length !== 10) {
// consents = consents.fill(‘no’, consents.length, 10);
for (var i = consents.length; i 800) {
$(‘.article-hero’).attr(‘style’, ‘order: 1’);
}
window.hide_overlay_for_exco = true;
});
};
fjs.parentNode.insertBefore(js, fjs);
}(do***ent, ‘script’, ‘exco-player’));
}

function loadSocials()
{
const socials = [



];

socials.forEach((social) => {
var script = do***ent.createElement(‘script’);
script.src = social;
script.async = true;
do***ent.getElementsByTagName(‘head’)[0].appendChild(script);
});
}

})();

Latest News: Today’s News Headlines, Breaking News India -2025

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *