DELETE FROM KEYWORDS WHERE ID_DOMAINE=360410DoneDoneDone
URL:radio.rtl.lu
Date: Wed, 30 Oct 2024 10:14:31 GMT
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Age: 0
Location: https://www.rtl.lu/radio
Vary: Origin
x-redirect: 1
access-control-allow-origin: *
x-cache: MISS
x-cache-hits: 0
x-cache-host: front-webcache12
grace: none
Location => https://www.rtl.lu/radio
Status => 302
(vide) Tentative en https
<!DOCTYPE html>
<html lang="lb" class="theme-rtl">
<head>
<meta charset="utf-8">
<title>RTL - Radio</title>
<meta property="og:app_id" content="1594823294110501" /><meta property="og:site_name" content="RTL" /><meta property="og:title" content="RTL - Radio" /><meta property="og:image" content="/assets/images/facebook-share/rtl_share.png" /><meta property="og:url" content="https://radio.rtl.lu" /><meta property="og:type" content="website" /> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1" />
<meta name="google-site-verification" content="qRv1iGl6N2MfEsEncxCJN3cXClFCUUN7ebwf6a5vQyc" />
<meta name="apple-itunes-app" content="app-id=360077592" />
<link rel="dns-prefetch" href="https://www.google-analytics.com"/>
<link rel="dns-prefetch" href="https://gabe.hit.gemius.pl"/>
<link rel="dns-prefetch" href="https://ls.hit.gemius.pl"/>
<link rel="dns-prefetch" href="https://tpc.googlesyndication.com"/>
<link rel="dns-prefetch" href="https://securepubads.g.doubleclick.net"/>
<link rel="dns-prefetch" href="https://stock.rtl.lu"/>
<link rel="dns-prefetch" href="/assets"/>
<link rel="dns-prefetch" href="/components"/>
<link rel="preconnect" href="https://www.google-analytics.com"/>
<link rel="preconnect" href="https://gabe.hit.gemius.pl"/>
<link rel="preconnect" href="https://ls.hit.gemius.pl"/>
<link rel="preconnect" href="https://tpc.googlesyndication.com"/>
<link rel="preconnect" href="https://securepubads.g.doubleclick.net"/>
<link rel="preconnect" href="https://stock.rtl.lu"/>
<link rel="preconnect" href="/assets"/>
<link rel="preconnect" href="/components"/>
<link rel="preload" href="/assets/js/rtl.bundle.js?v=202410300850" as="script">
<link rel="preload" href="/components/rtl.bundle.js?v=202410300850" as="script">
<link rel="icon" href="/assets/images/favicon-rtllu/favicon.ico?v=202410300850" sizes="any" />
<link rel="icon" href="/assets/images/favicon-rtllu/favicon.svg?v=202410300850" type="image/svg+xml" />
<link rel="apple-touch-icon" sizes="57x57" href="/assets/images/favicon-rtllu/apple-touch-icon.png?v=202410300850" />
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="/components/vendor/theoplayer6.10.0/ui.css?v=202410300850" />
<link rel="stylesheet" href="/assets/styles/main_rtl.css?v=202410300850" />
<script type="text/javascript">window.gdprAppliesGlobally=true;(function(){function a(e){if(!window.frames[e]){if(document.body&&document.body.firstChild){var t=document.body;var n=document.createElement("iframe");n.style.display="none";n.name=e;n.title=e;t.insertBefore(n,t.firstChild)}
else{setTimeout(function(){a(e)},5)}}}function e(n,r,o,c,s){function e(e,t,n,a){if(typeof n!=="function"){return}if(!window[r]){window[r]=[]}var i=false;if(s){i=s(e,t,n)}if(!i){window[r].push({command:e,parameter:t,callback:n,version:a})}}e.stub=true;function t(a){if(!window[n]||window[n].stub!==true){return}if(!a.data){return}
var i=typeof a.data==="string";var e;try{e=i?JSON.parse(a.data):a.data}catch(t){return}if(e[o]){var r=e[o];window[n](r.command,r.parameter,function(e,t){var n={};n[c]={returnValue:e,success:t,callId:r.callId};a.source.postMessage(i?JSON.stringify(n):n,"*")},r.version)}}
if(typeof window[n]!=="function"){window[n]=e;if(window.addEventListener){window.addEventListener("message",t,false)}else{window.attachEvent("onmessage",t)}}}e("__tcfapi","__tcfapiBuffer","__tcfapiCall","__tcfapiReturn");a("__tcfapiLocator");(function(e){
var t=document.createElement("script");t.id="spcloader";t.type="text/javascript";t.async=true;t.src="https://didomi.rtl.lu/"+e+"/loader.js?target="+document.location.hostname;t.charset="utf-8";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)})("77af67f2-d74a-428a-b7f1-7bc398b5fc06")})();
</script>
<script type="text/javascript">
window.didomiConfig = {
languages: {
enabled: ['fr'],
default: 'fr'
},
sdkPath: 'https://didomi.rtl.lu/',
apiPath: 'https://didomi.rtl.lu/api'
};
</script>
<script>
function rtl_isAndroidApp() {
if (
typeof(rtl) == "undefined" &&
typeof(window.rtl) == "undefined"
) return false;
if(typeof(rtl) != "undefined") {
return typeof(rtl.getAppParams) != "undefined";
}
return typeof(window.rtl.getAppParams) != "undefined";
}
function rtl_isIOSApp() {
if (typeof(window.appParams) != "undefined") return true;
if (typeof(window.webkit) == "undefined") return false;
if (typeof(window.webkit.messageHandlers) == "undefined") return false;
return (
typeof(window.webkit.messageHandlers.sizeNotification) != "undefined" ||
typeof(window.webkit.messageHandlers.getFontSize) != "undefined" ||
typeof(window.webkit.messageHandlers.setFontSize) != "undefined"
);
}
function checkIfSportApp() {
if (window.location.search.indexOf('isSportApp=1')>=0) {
window.localStorage.setItem('isSportApp', "true");
return true;
}
return false;
}
function rtl_isSportApp() {
return window.localStorage.getItem('isSportApp') === "true";
}
function rtl_isApp() {
if(window.location.search.indexOf('app=1')>=0) return true;
return rtl_isAndroidApp() || rtl_isIOSApp() || rtl_isSportApp();
}
checkIfSportApp();
window.rtlsites = {
config: {
language: 'lu',
site: 'rtl',
product: 'rtl',
ads: true,
auID: {
desktop: '00000000000e19b1',
tablet: '0000000000121e16',
mobile: '0000000000121e14',
appPhone: '00000000000e19b5',
appTablet: '00000000000e19b6',
},
page: {
tags: []
},
article: {
id: '',
tags: []
},
gallery: {
tags: []
},
appCode: 0,
debug: false,
isApp: rtl_isApp(),
//isApp: true,
isIosApp : rtl_isIOSApp(),
//isIosApp: true,
isAndroidApp : rtl_isAndroidApp(),
//isAndroidApp: true,
isSportApp : rtl_isSportApp(),
gestureNavigation : false,
device: '',
mo: '',
currentApp: 'rtllu',
gemiusTag: '',
version: '202410300850',
assetsUrl: '/assets',
syncedAds: []
}
};
if(window.rtlsites.config.isApp) {
console.log("adding is-app to html tag");
if (rtl_isIOSApp() && typeof(window.appParams) != "undefined") {
if (window.appParams.debug) window.rtlsites.config.debug = true;
if (window.appParams.mo) window.rtlsites.config.mo = window.appParams.mo;
if (window.appParams.dev) window.rtlsites.config.device = window.appParams.dev;
if (window.appParams.appScheme) window.rtlsites.config.appScheme = window.appParams.appScheme
if (window.appParams.appVer) window.rtlsites.config.appVer = window.appParams.appVer;
if (window.appParams.gestureNavigation) window.rtlsites.config.gestureNavigation = window.appParams.gestureNavigation;
if (window.appParams.appCode) window.rtlsites.config.appCode = window.appParams.appCode;
}
if (rtl_isAndroidApp() && typeof(rtl.getAppParams) != "undefined") {
var aAppParams = window.rtl.getAppParams();
aAppParams = JSON.parse(aAppParams);
if (aAppParams.debug) window.rtlsites.config.debug = true;
if (aAppParams.mo) window.rtlsites.config.mo = aAppParams.mo;
if (aAppParams.dev) window.rtlsites.config.device = aAppParams.dev;
if (aAppParams.appScheme) window.rtlsites.config.appScheme = aAppParams.appScheme;
if (aAppParams.appId) window.rtlsites.config.appId = aAppParams.appId;
if (aAppParams.appVer) window.rtlsites.config.appVer = aAppParams.appVer;
if (aAppParams.appInstallerId) window.rtlsites.config.appInstallerId = aAppParams.appInstallerId;
if (aAppParams.appCode) window.rtlsites.config.appCode = aAppParams.appCode;
}
document.getElementsByTagName("html")[0].className += " is-app";
}
if(window.location.hash == "#__preview_iframe") {
document.getElementsByTagName("html")[0].className += " is-app";
}
if (window.rtlsites.config.isSportApp) {
window.rtlsites.config.ads = false;
document.getElementsByTagName("html")[0].className += " is-sportsapp";
}
function setFontSize(size) {
var sizes = { s: "80%", m: "100%", l: "120%" };
var fontsize = "100%";
if (sizes[size]) fontsize = sizes[size];
document.getElementsByTagName("html")[0].style.fontSize = fontsize;
}
</script>
<script>
(function (w, d, t, s, o, i, j) {
w['__BETAObject'] = o;
w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments); }
i = d.createElement(t), j = d.getElementsByTagName(t)[0]; i.async = 1; i.src = s;
j.parentNode.insertBefore(i, j);
})(window, document, 'script', '//collect.rtl.lu/js/c.js?v=3', 'beta', '1.0');
try {beta('init', window.rtlsites.config.product);} catch (e) {}
</script>
<script type="didomi/javascript" data-vendor="c:gigya" async src="//cdns.eu1.gigya.com/js/gigya.js?apikey=3_GrIH4wyVdEGBWtbHuPmCh669d0ReOliTAHH4tePPwELds6CIg0fnuMzeJ5Dr68FY">{'enableSSOToken': true}</script>
<script type="text/javascript" async src="https://cdn.adnuntius.com/adn.js"></script>
<script type="text/javascript">window.adn = window.adn || {}; adn.calls = adn.calls || [];</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script type="didomi/javascript" data-vendor="c:googleana-Y8iUer6Z" async src="https://www.googletagmanager.com/gtag/js?id=UA-1316751-51"></script>
<script type="didomi/javascript" data-vendor="c:googleana-Y8iUer6Z">
window.dataLayer = window.dataLayer || [];
function gtag(){
// console.log(arguments);
dataLayer.push(arguments);
}
gtag('js', new Date());
function sendScreenView() {
gtag('config', 'UA-1316751-51', {
'app_name': window.rtlsites.config.currentApp,
'cookie_expires': 365 * 24 * 60 * 60
});
gtag('event', 'screen_view', gAppConfig);
}
if (!window.rtlsites.config.isApp) {
gtag('config', 'UA-1316751-51', {
'cookie_expires': 365 * 24 * 60 * 60,
'send_page_view': false
});
gtag('config', 'G-VCBQ3RV8YE', {
'cookie_expires': 365 * 24 * 60 * 60,
'send_page_view': false
} );
} else {
var gAppConfig = {};
if (window.rtlsites.config.appId) gAppConfig.app_id = window.rtlsites.config.appId;
if (window.rtlsites.config.appVer) gAppConfig.app_version = window.rtlsites.config.appVer;
if (window.rtlsites.config.appInstallerId) gAppConfig.app_installer_id = window.rtlsites.config.appInstallerId;
gAppConfig.screen_name = window.location.pathname;
gAppConfig.app_name = window.rtlsites.config.currentApp;
sendScreenView();
}
</script>
<script>
var pageData = { page : {} };
pageData.page.content = {};
pageData.page.content.site = window.rtlsites.config.site;
if (window.rtlsites.config.isApp) {
if (window.rtlsites.config.device == 't' || window.rtlsites.config.device == 'p') {
pageData.page.content.deviceType = 'tablet';
} else {
pageData.page.content.deviceType = 'mobile';
}
} else {
pageData.page.content.deviceType = 'desktop';
}
var pathFiltered = window.location.pathname.substr(1).split("\/").filter(function (item) {
return item != '' && item.indexOf(".html") == -1 && item.indexOf(".php") == -1;
});
if (pathFiltered.length > 0) {
if (pathFiltered[0]) pageData.page.content.sectionLevel1 = pathFiltered[0];
if (pathFiltered[1]) pageData.page.content.sectionLevel2 = pathFiltered[1];
if (pathFiltered[2] && pathFiltered[2].length > 2) pageData.page.content.sectionLevel3 = pathFiltered[2];
}
if (pathFiltered.length == 0) {
pageData.page.content.pageType = "hp";
} else if (pathFiltered.length == 1 && window.location.pathname.indexOf(".html") == -1 && window.location.pathname.indexOf(".php") == -1) {
pageData.page.content.pageType = "hp_section";
} else if(pathFiltered.length > 1) {
pageData.page.content.pageType = "info";
}
const ce = new Date();
ce.setMonth(ce.getMonth() + 12);
ce.toUTCString();
!function(n,e,i){if(!n){n=n||{},window.permutive=n,n.q=[],n.config=i||{},n.config.apiKey=e,n.config.environment=n.config.environment||"production";for(var o=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],r=0;r<o.length;r++){var t=o[r];n[t]=function(e){return function(){var i=Array.prototype.slice.call(arguments,0);n.q.push({functionName:e,arguments:i})}}(t)}}}(window.permutive,"fc3efde6-fa7e-4691-b672-07cea173d599",{});
permutive.addon('web',pageData);
</script>
<script type="didomi/javascript" data-vendor="iab:361" async src="https://3a4e240f-8dba-4f15-a961-4cbecd5ecfc9.edge.permutive.app/9b4023a5-0c38-478d-b19f-523fde66c519-web.js"></script>
<script type="didomi/javascript" src="/assets/js/rtl.bundle.js?v=202410300850"></script>
<script type="didomi/javascript" src="/components/rtl.bundle.js?v=202410300850"></script>
<script>function backCommit() {
console.log("APP BACK COMMIT: need to refresh ads");
sendScreenView();
}</script>
<script type="didomi/javascript" data-vendor="c:onesignal-wdR2FRMx" src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async></script>
<script type="didomi/javascript" data-vendor="c:onesignal-wdR2FRMx">
window.OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.SERVICE_WORKER_PARAM = { scope: '/assets/vendor/OneSignal/' };
OneSignal.SERVICE_WORKER_PATH = 'assets/vendor/OneSignal/OneSignalSDKWorker.js'
OneSignal.init({
appId: "a6cba441-604d-47d5-b27b-986ddcb93576",
safari_web_id: "web.onesignal.auto.412ff56c-6955-417a-b410-cc97b21af240",
notifyButton: {
enable: false
},
allowLocalhostAsSecureOrigin: false,
promptOptions: {
slidedown: {
prompts: [
{
type: "category",
autoPrompt: true,
text: {
actionMessage: "Mir wëllen Iech gäre Push-Messagë mat den neisten Noriichten an Updaten uweisen",
acceptButton: "Akzeptéieren",
cancelButton: "Ofbriechen",
/* CATEGORY SLIDEDOWN SPECIFIC TEXT */
negativeUpdateButton:"Ofbriechen",
positiveUpdateButton:"Späicheren",
updateMessage: "Aktualiséiert Är Astellunge fir Push-Messagen",
},
delay: {
pageViews: 1,
timeDelay: 0
},
categories: [
{
tag: "rtllu_breaking_news",
label: "Breaking News"
},
{
tag: "rtllu_news_national",
label: "News National"
},
{
tag: "rtllu_news_international",
label: "News International"
},
{
tag: "rtllu_trafic_info",
label: "Trafic, Meteo a méi",
},
{
tag: "rtllu_sport_news",
label: "Sport News"
},
{
tag: "rtllu_program",
label: "Sport Stream"
},
{
tag: "rtllu_kultur",
label: "Kultur"
},
{
tag: "rtllu_kultur_lifestyle",
label: "Lifestyle"
},
{
tag: "rtllu_panorama",
label: "Panorama"
},
{
tag: "rtllu_fotosgalerien",
label: "Fotosgalerien"
},
]
}
]
}
}
});
OneSignal.setDefaultNotificationUrl("https://www.rtl.lu");
});
</script>
<script>
const md5 = function(d){var r = M(V(Y(X(d),8*d.length)));return r.toLowerCase()};function M(d){for(var _,m="0123456789ABCDEF",f="",r=0;r<d.length;r++)_=d.charCodeAt(r),f+=m.charAt(_>>>4&15)+m.charAt(15&_);return f}function X(d){for(var _=Array(d.length>>2),m=0;m<_.length;m++)_[m]=0;for(m=0;m<8*d.length;m+=8)_[m>>5]|=(255&d.charCodeAt(m/8))<<m%32;return _}function V(d){for(var _="",m=0;m<32*d.length;m+=8)_+=String.fromCharCode(d[m>>5]>>>m%32&255);return _}function Y(d,_){d[_>>5]|=128<<_%32,d[14+(_+64>>>9<<4)]=_;for(var m=1732584193,f=-271733879,r=-1732584194,i=271733878,n=0;n<d.length;n+=16){var h=m,t=f,g=r,e=i;f=md5_ii(f=md5_ii(f=md5_ii(f=md5_ii(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_ff(f=md5_ff(f=md5_ff(f=md5_ff(f,r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+0],7,-680876936),f,r,d[n+1],12,-389564586),m,f,d[n+2],17,606105819),i,m,d[n+3],22,-1044525330),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+4],7,-176418897),f,r,d[n+5],12,1200080426),m,f,d[n+6],17,-1473231341),i,m,d[n+7],22,-45705983),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+8],7,1770035416),f,r,d[n+9],12,-1958414417),m,f,d[n+10],17,-42063),i,m,d[n+11],22,-1990404162),r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+12],7,1804603682),f,r,d[n+13],12,-40341101),m,f,d[n+14],17,-1502002290),i,m,d[n+15],22,1236535329),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+1],5,-165796510),f,r,d[n+6],9,-1069501632),m,f,d[n+11],14,643717713),i,m,d[n+0],20,-373897302),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+5],5,-701558691),f,r,d[n+10],9,38016083),m,f,d[n+15],14,-660478335),i,m,d[n+4],20,-405537848),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+9],5,568446438),f,r,d[n+14],9,-1019803690),m,f,d[n+3],14,-187363961),i,m,d[n+8],20,1163531501),r=md5_gg(r,i=md5_gg(i,m=md5_gg(m,f,r,i,d[n+13],5,-1444681467),f,r,d[n+2],9,-51403784),m,f,d[n+7],14,1735328473),i,m,d[n+12],20,-1926607734),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+5],4,-378558),f,r,d[n+8],11,-2022574463),m,f,d[n+11],16,1839030562),i,m,d[n+14],23,-35309556),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+1],4,-1530992060),f,r,d[n+4],11,1272893353),m,f,d[n+7],16,-155497632),i,m,d[n+10],23,-1094730640),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+13],4,681279174),f,r,d[n+0],11,-358537222),m,f,d[n+3],16,-722521979),i,m,d[n+6],23,76029189),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+9],4,-640364487),f,r,d[n+12],11,-421815835),m,f,d[n+15],16,530742520),i,m,d[n+2],23,-995338651),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+0],6,-198630844),f,r,d[n+7],10,1126891415),m,f,d[n+14],15,-1416354905),i,m,d[n+5],21,-57434055),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+12],6,1700485571),f,r,d[n+3],10,-1894986606),m,f,d[n+10],15,-1051523),i,m,d[n+1],21,-2054922799),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+8],6,1873313359),f,r,d[n+15],10,-30611744),m,f,d[n+6],15,-1560198380),i,m,d[n+13],21,1309151649),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+4],6,-145523070),f,r,d[n+11],10,-1120210379),m,f,d[n+2],15,718787259),i,m,d[n+9],21,-343485551),m=safe_add(m,h),f=safe_add(f,t),r=safe_add(r,g),i=safe_add(i,e)}return Array(m,f,r,i)}function md5_cmn(d,_,m,f,r,i){return safe_add(bit_rol(safe_add(safe_add(_,d),safe_add(f,i)),r),m)}function md5_ff(d,_,m,f,r,i,n){return md5_cmn(_&m|~_&f,d,_,r,i,n)}function md5_gg(d,_,m,f,r,i,n){return md5_cmn(_&f|m&~f,d,_,r,i,n)}function md5_hh(d,_,m,f,r,i,n){return md5_cmn(_^m^f,d,_,r,i,n)}function md5_ii(d,_,m,f,r,i,n){return md5_cmn(m^(_|~f),d,_,r,i,n)}function safe_add(d,_){var m=(65535&d)+(65535&_);return(d>>16)+(_>>16)+(m>>16)<<16|65535&m}function bit_rol(d,_){return d<<_|d>>>32-_}
const setAsyncTimeout = (timeout = 0) => new Promise(ok => {
setTimeout(() => ok(), timeout);
});
function parseJwt(token) {
var base64Url = token.split('.')[1];
var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
var jsonPayload = decodeURIComponent(window.atob(base64).split('').map(function(c) {
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
}).join(''));
return JSON.parse(jsonPayload);
}
async function getUserId() {
return new Promise(async (ok, nok) => {
while (!window.gigya) {
await setAsyncTimeout(200);
}
window.gigya.accounts.getJWT({callback: (response) => {
if (parseInt(response.errorCode) === 0 && response.id_token) {
let parsed = parseJwt(response.id_token);
ok(md5(parsed.sub));
} else {
ok(null)
}
}});
})
}
function getUniqueId() {
// let uniqueId = localStorage.getItem('rtl-unique-id');
// if(uniqueId == null) {
// uniqueId = "rtl-unique-" + Date.now().toString(36) + Math.random().toString(36).substr(2);
// localStorage.setItem('rtl-unique-id', uniqueId);
// }
return localStorage.getItem('ipdig-id');
}
async function sendToTracker(data = {}) {
// let userId = await getUserId();
// console.log("sendToTracker", data);
if (!data.device) {
data.device = {
"id": getUniqueId(),
"userAgent": window.navigator.userAgent,
"storage": {
cookies: Object.fromEntries(document.cookie.split('; ').map(c => c.split('=')))
},
"lang": navigator.language,
"viewport": {
width: window.innerWidth,
height: window.innerHeight
}
}
}
data.userId = null;
data.url = {
"schema": document.location.protocol,
"domainName": document.location.hostname,
"port": document.location.port,
"path": document.location.pathname,
"parameters": document.location.search,
"anchor": document.location.hash
}
data.timestamp = new Date().toISOString();
// if (Didomi) {
// data.consent = Didomi.getUserStatus().purposes.consent;
// }
// console.log("sendToGoogleAnalytics", data);
sendToGoogleAnalytics(data);
//LEGACY STUFF
if (!data.resources || data.resources.articles.length !== 1) {
return false;
}
// console.log("sendtolegacy");
let cId = data.resources.articles[0].contentId
.replace("rtl", "newstool")
.replace("today", "newstool")
.replace("5minutes", "newstool");
let oldData = {
contentUrn: cId,
source: cId.includes("sujet") ? "gestion" : "newstool",
contentPath: data.resources.articles[0].contentPath.replace("/", "\/")
}
beta('view', {'data': btoa(JSON.stringify(oldData))});
beta('pageview', {
'data': JSON.stringify({
'url': window.location.href,
'uid': localStorage.getItem('ipdig-id')
})
});
}
function getFilteredParams() {
let allowedParams = ["utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content", "utm_id"];
const urlParams = new URLSearchParams(window.location.search);
const filteredParams = {};
// Loop through allowed parameters
for (const param of allowedParams) {
if (urlParams.has(param)) {
filteredParams[param] = urlParams.get(param);
}
}
if (Object.keys(filteredParams).length === 0) return "";
return "?"+Object.keys(filteredParams).map(key => `${key}=${filteredParams[key]}`).join("&");
}
function sendToGoogleAnalytics(trackerData) {
let sliceToLength = (s, length = 100) => s.slice(0, length);
//AN FOTOGALLERIEN GETT KEEN TRACKER GESCHECKT!
let data = {
"page_title": sliceToLength(document.title),
"page_location": sliceToLength(window.location.origin + window.location.pathname + getFilteredParams(), 1000),
"rtl_page_location": sliceToLength(window.location.origin + window.location.pathname, 1000),
"rtl_content_type": "home"
};
if (trackerData.resources && trackerData.resources.articles.length === 1) {
let article = trackerData.resources.articles[0];
data["rtl_content_id"] = article.contentId;
data["rtl_content_type"] = "article";
data["rtl_art_kicker"] = sliceToLength(article.kicker);
data["rtl_art_title"] = sliceToLength(article.title);
data["rtl_art_author"] = sliceToLength(article.author);
data["rtl_art_display_date"] = sliceToLength(article.displayDate);
data["rtl_art_tags"] = article.tags.join(",");
} else {
let contentId = "";
let path = document.location.pathname.substring(1);
if (path === "") {
path = "home";
}
let splitted = path.split("/");
if (splitted.length > 1) {
contentId = "urn:rtl:archive:" + path;
data["rtl_content_type"] = "archive";
} else {
contentId = "urn:rtl:section:" + path;
data["rtl_content_type"] = "section";
}
if (path === "home") {
data["rtl_content_type"] = "home";
}
data["rtl_content_id"] = contentId;
}
if (trackerData.resources && trackerData.resources.images.length > 0) {
let split = splitTags(trackerData.resources.images.map(i => i.id).join(","), "rtl_art_image_ids");
data = {...data, ...split}
}
if (trackerData.resources && trackerData.resources.photoGalleries.length > 0) {
let split = splitTags(trackerData.resources.photoGalleries.map(i => i.contentId).join(","), "rtl_art_photo_gallery_ids");
data = {...data, ...split}
let tags = []
trackerData.resources.photoGalleries.map(gallery => {
gallery.tags.forEach(tag => {
if (!tags.includes(tag)) tags.push(tag)
})
});
data["rtl_art_photo_gallery_tags"] = sliceToLength(tags.join(","));
if (trackerData.resources.articles.length === 0) {
data["rtl_content_id"] = trackerData.resources.photoGalleries[0].contentId;
data["rtl_content_type"] = "photogallery";
}
}
if (trackerData.resources && trackerData.resources.audios.length > 0) {
let split = splitTags(trackerData.resources.audios.map(i => i.contentId).join(","), "rtl_art_audio_ids");
data = {...data, ...split}
let tags = []
trackerData.resources.audios.map(audio => {
audio.tags.forEach(tag => {
if (!tags.includes(tag)) tags.push(tag)
})
});
data["rtl_art_audio_tags"] = sliceToLength(tags.join(","));
if (trackerData.resources.articles.length === 0) {
data["rtl_content_id"] = trackerData.resources.audios[0].contentId;
data["rtl_content_type"] = "audio";
}
}
if (trackerData.resources && trackerData.resources.videos.length > 0) {
let split = splitTags(trackerData.resources.videos.map(i => i.contentId).join(","), "rtl_art_video_ids");
data = {...data, ...split}
let tags = []
trackerData.resources.videos.map(video => {
video.tags.forEach(tag => {
if (!tags.includes(tag)) tags.push(tag)
})
});
data["rtl_art_video_tags"] = sliceToLength(tags.join(","));
if (trackerData.resources.articles.length === 0) {
data["rtl_content_id"] = trackerData.resources.videos[0].contentId;
data["rtl_content_type"] = "video";
}
}
if (trackerData.resources && trackerData.resources.livestreams && trackerData.resources.livestreams.length > 0) {
let split = splitTags(trackerData.resources.livestreams.map(i => i.contentId).join(","), "rtl_art_livestream_ids");
data = {...data, ...split}
}
if (window.rtlsites.config.isIosApp) {
window.webkit.messageHandlers.callAnalytics.postMessage({name: "screen_view", data: {
...data,
"screen_class": sliceToLength(document.location.pathname),
"screen_name": sliceToLength(document.title),
}});
} else if (window.rtlsites.config.isAndroidApp && typeof window.rtl.callAnalytics === "function") {
window.rtl.callAnalytics(JSON.stringify({
...data,
"screen_class": sliceToLength(document.location.pathname),
"screen_name": sliceToLength(document.title),
}));
} else {
//send to old GA first
if (window.gtag) {
gtag('event', 'page_view', {
...data,
"page_path": sliceToLength(window.location.pathname),
'send_to': "UA-1316751-51"
});
//kucken op hei nix duebel ass
gtag('event', 'page_view', {
...data,
"send_to": "G-VCBQ3RV8YE"
});
}
}
// console.log("gaTrackerData", data, Object.keys(data).length);
window.gaTrackerData = data;
}
function splitTags(input, prefix = "ids") {
let maxLength = 100;
const tags = input.split(',');
const result = [];
let currentSubarray = [];
for (const tag of tags) {
if (currentSubarray.join(',').length + tag.length <= maxLength) {
currentSubarray.push(tag);
} else {
result.push(currentSubarray);
currentSubarray = [tag];
}
}
if (currentSubarray.length > 0) {
result.push(currentSubarray);
}
let ret = {};
result.forEach((entry, key) => {
ret[prefix+"_"+key] = entry.join(",")
})
return ret;
}
function callMobileAnalytics() {
return window.gaTrackerData;
}
</script>
</head>
RTL - Radio
Recherche META Description de la page
Recherche META Keywords de la page
UPDATE DOMAINES SET server='',redirection='https://www.rtl.lu/radio',Status='200',err='',[TITRE]=N'RTL - Radio',[DESCRIPTION]=N'',[KEYWORDS]=N'' WHERE id=360410
0 RTL - Radio
0. RTL (3)--------->0
1. - (1)--------->0
2. Radio (5)--------->0
INSERT INTO KEYWORDS (keyword,id_domaine) VALUES (N'RTL',360410),(N'-',360410),(N'Radio',360410)