Paying for an EU defence plan

” +


});

var $context =
jq(this);
var creCookie = jq.cookie(cookieName) || false;
if (creCookie) {
jq(this).trigger(‘notify-hide’);
} else {
/* Use smartscroll listener to fire the panel at end of article */
jq(window).smartscroll(function () {
//Calculate how far down the page the user has scrolled
var scrollPos = (jq(window).scrollTop() / jq(‘div.article_bodycopy’).height()) * 100;
scrollPos = Math.round(scrollPos);

if (scrollPos > 75) {
showContent++;
if (showContent == 1) {
jq.notify({
headline: articleheadline,
image: articleimage
}, readNextOptions);

dataLayer.push({
‘category’: evtCategory,
‘action’: ‘Shown https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
}
}
}); // end scroll
}
/* Tracking of CRE elements via GTM */
/* Dismiss button on the top RHS of the card */
jq(document).on(‘click’, ‘.read-next–dismiss’, function (e) {
dataLayer.push({
‘category’: evtCategory,
‘action’: ‘Closed https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
});
/* Read Next title More Information */
jq(document).on(‘click’, ‘.read-next–title’, function (e) {
dataLayer.push({
‘category’: evtCategory,
‘action’: ‘More info https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
});
/* Article link Headline */
jq(document).on(‘click’, ‘.read-next–headline’, function (e) {
dataLayer.push({
‘category’: evtCategory,
‘action’: ‘Clicked https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
});
/* Article link ‘READ NOW’ button */
jq(document).on(‘click’, ‘.read-next–read’, function (e) {
dataLayer.push({
‘category’: evtCategory,
‘action’: ‘Clicked READ NOW https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
});
/* ‘OK GOT IT’ button */
jq(document).on(‘click’, ‘.read-next–ok’, function (e) {
dataLayer.push({
‘category’: evtCategory,
‘action’: ‘Accept https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
});
/* Opt Out button */
jq(document).on(‘click’, ‘.read-next–optout’, function (e) {
dataLayer.push({
‘category’: evtCategory,
‘action’: ‘Opt Out https://www.irishtimes.com/news/ireland/irish-news/covid-19-thousands-set-to-fly-home-for-christmas-despite-recipe-for-disaster-plea-1.4409979, bottom of page’,
‘label’: evtLabel
}, {‘event’: ‘data-layer-event’});
});
});