29.2 C
New York
venerdì, Agosto 12, 2022

Buy now

Venezia, 30 euro per visitare edificio Ducale. «Così è il museo più caro d’Europa»

let frame = document.querySelector(“#__limio_frame”);

wsopradow.addEventListener(‘message’, function(e) {
if (frame && event.origsopra.startsWith(“https://shop.gelocal.it”) && e.source === frame.contentWsopradow) {
let message = e.data;

if (typeof message === ‘object’ && message.type === ‘@limio/pageSize’) {

const payload = message.payload
frame.style.height = payload.height + ‘px’;
}
}
} , false);

if (!wsopradow.Zephr) wsopradow.Zephr = {};
wsopradow.Zephr.accessDetails = {“isAuthenticated”:false,”accessDecisions”:{“QsjzrlrvYXUNQ6pWr00xxAw6Yy06RK2K”:false},”entitlements”:{},”credits”:{},”meters”:{},”trials”:{},”trialTracksopragDetails”:[{“creditsUsedKey”:”rlc_used1″,”creditsRemasoprasopragKey”:”rlc_rema1″,”entitlementId”:”1obPAs”,”entitlementType”:”meter”},{“creditsUsedKey”:”mv_tcu”,”creditsRemasoprasopragKey”:”mv_tcr”,”entitlementId”:”56va2w”,”entitlementType”:”meter”},{“creditsUsedKey”:”l_rep_tcu”,”creditsRemasoprasopragKey”:”l_rep_tcr”,”entitlementId”:”7pDWsg”,”entitlementType”:”meter”},{“creditsUsedKey”:”mv_l_tcu”,”creditsRemasoprasopragKey”:”mv_l_tcr”,”entitlementId”:”abtoq9″,”entitlementType”:”meter”},{“creditsUsedKey”:”l_sxix_tcu”,”creditsRemasoprasopragKey”:”l_sxix_tcr”,”entitlementId”:”c63SHg”,”entitlementType”:”meter”},{“creditsUsedKey”:”mv_l_mcu”,”creditsRemasoprasopragKey”:”mv_l_mcr”,”entitlementId”:”C8ONr4″,”entitlementType”:”meter”},{“creditsUsedKey”:”rep_mcu”,”creditsRemasoprasopragKey”:”rep_mcr”,”entitlementId”:”D6mZC9″,”entitlementType”:”meter”},{“creditsUsedKey”:”sxix_rtcu”,”creditsRemasoprasopragKey”:”sxix_rtcr”,”entitlementId”:”dFwtbP”,”entitlementType”:”meter”},{“creditsUsedKey”:”sxix_mcu”,”creditsRemasoprasopragKey”:”sxix_mcr”,”entitlementId”:”HI4ltx”,”entitlementType”:”meter”},{“creditsUsedKey”:”crter_1″,”creditsRemasoprasopragKey”:”crter_2″,”entitlementId”:”IwKC30″,”entitlementType”:”meter”},{“creditsUsedKey”:”rlc10_used1″,”creditsRemasoprasopragKey”:”rlc10_rema1″,”entitlementId”:”NM1VNs”,”entitlementType”:”meter”},{“creditsUsedKey”:”l_sxix_mcu”,”creditsRemasoprasopragKey”:”l_sxix_mcr”,”entitlementId”:”qGQVmw”,”entitlementType”:”meter”},{“creditsUsedKey”:”l_rep_mcu”,”creditsRemasoprasopragKey”:”l_rep_mcr”,”entitlementId”:”v3w9PY”,”entitlementType”:”meter”},{“creditsUsedKey”:”rep_rtcu”,”creditsRemasoprasopragKey”:”rep_rtcr”,”entitlementId”:”WF7c49″,”entitlementType”:”meter”},{“creditsUsedKey”:”mv_mcu”,”creditsRemasoprasopragKey”:”mv_mcr”,”entitlementId”:”XHCIhT”,”entitlementType”:”meter”}],”testGroups”:{“0ceb39bc-1dce-45a4-9c98-98cb27112aab”:”B”,”13de9484-c4d0-4764-b5ce-a476bae324a6″:”B”,”2e90b418-7b53-47eb-8c8d-4cb5db01d33d”:”E”,”32362c71-76d9-4f37-b466-13e967febc60″:”A”,”380919ac-4825-4041-aeac-9e9225e93f9a”:”D”,”4c33b112-773f-42af-a51b-c8cd9bd9c245″:”B”,”53c6be2b-5a93-432a-988d-0b14c66ed7e8″:”A”,”6fdc4d8c-0866-4f9f-80b0-b826d640da01″:”A”,”803eb1b6-d3d6-416c-8ade-b33c8368c40a”:”A”,”878679bf-19c9-4977-889c-4207334282bd”:”A”,”a49dcf27-70af-47c1-ac39-2a85bed62e59″:”C”,”b6f3b988-5679-4740-a303-34daefd8681e”:”A”,”c8758db9-ad62-467b-856a-8f13e2ba057a”:”A”,”d4caece8-b073-435c-95a3-4e7d096872c7″:”A”,”ff1abf78-62b8-4dec-b9b9-bda0c0d26bec”:”B”,”03acccb8-8418-469c-9413-94e4af8c6962″:”B”,”04268b89-337b-4373-bfd6-456a7df94e6c”:”A”,”0b3fca1e-46fb-4fb4-bd88-b6423d9d8c62″:”A”,”12ad6c0a-93b6-4d09-ba35-72bedfa2d71f”:”A”,”1b101ffa-95d3-40f0-bf7b-1b1034843850″:”B”,”2136ee66-a6ee-4eda-9d70-d5e082d0080e”:”B”,”3ef018f4-33fa-4036-82f3-9e0a100d35d1″:”A”,”43b150ff-41b2-4e29-b03d-00ef61491e61″:”A”,”497f71d5-14dd-4448-8e85-e23a3feacc14″:”A”,”4ffbe8f6-2dcc-4c3a-a6dd-df35ea9f1575″:”A”,”51885a1a-d12e-4313-bb8b-ebf2fd2e0720″:”B”,”5413e28c-f496-4979-a490-7a3f8758fab4″:”A”,”61e3a934-aad5-4d9f-87c3-0092a1f0a6ea”:”B”,”6575d3f2-2bb2-4641-ab18-55a71f76c6ff”:”A”,”7024e44c-0a15-46d1-aa2a-33dce1ee5c29″:”A”,”70913037-b04b-4cdb-a319-2c18ef8ce2e4″:”C”,”7190b360-8e12-46a1-9716-46fc6c322d13″:”C”,”71abd2d3-1af8-40da-9043-352c6aa2c3a6″:”A”,”746fb34e-7416-479f-a38e-2cb4c88b49c9″:”B”,”7c36653e-a25d-4acd-b90f-377708b86530″:”B”,”7d0552dd-bca3-4653-a764-10b44d672f16″:”A”,”866a771a-f916-4dab-b13f-314a7a19302c”:”B”,”89b08766-b0fd-4346-a5f7-67befc7d5696″:”A”,”8a1e6bc2-bf44-445b-82ec-9282461bbbc4″:”A”,”8c5d5081-cd8e-42a2-8a1d-57c2d644f5a4″:”B”,”98568817-9ddf-4b4e-9f39-ba5e98d55a5a”:”B”,”aa9f545a-811d-4d19-a765-1f54aaf14157″:”A”,”ae8b6b6e-6db8-4cac-8ab5-58e56a5e8063″:”B”,”affbdc21-5fcc-4719-be37-b0565e610d45″:”B”,”b0135bc5-16cb-423d-b71a-c17d5f8e9df5″:”A”,”b7cf3a85-8d05-4704-ae1e-98400fd012d2″:”A”,”c2b70a46-767a-44ba-9951-e60904c0805f”:”B”,”c3601c92-36c3-46d4-ad31-58e032bcda5c”:”C”,”c58e96b6-49cc-470e-a0b9-b9a4f8f029be”:”A”,”c5e4569d-833f-4fba-9ed4-83e13a3cf89f”:”B”,”d2e6685e-e61a-4b14-ac42-354ae3b95a5b”:”A”,”d51f93c2-cf5b-41e9-ab0a-8e8ecb45dc83″:”A”,”e481b8ce-6fe9-480d-a16e-b40462cf4659″:”B”,”e61d33bb-bea0-49fd-b618-0d4ea6002111″:”A”,”ee6b7c8e-8b85-46f3-a362-2e0feca04260″:”A”,”f87dfb18-d532-4d98-bf91-f068c33ad3af”:”B”},”activeProducts”:[]};

wsopradow.Zephr = wsopradow.Zephr || {};
wsopradow.Zephr.sopracludeOutcomes = true;
wsopradow.Zephr.outcomesAsEvents = true;
wsopradow.Zephr.groupFields = false;

(function() {
var xhr = new(XMLHttpRequest || ActiveXObject)(‘MSXML2.XMLHTTP.3.0’);
xhr.open(‘GET’, ‘/blaize/datalayer’, true);
xhr.onreadystatechange = function() {
if (xhr.readyState === 4) {
var response;
try {
response = JSON.parse(xhr.response);
} catch (e) {
response = xhr.response;
}
if (xhr.status === 200) {
for (var dataLayerFieldName sopra response) {
if (!(dataLayerFieldName sopra wsopradow)) wsopradow[dataLayerFieldName] = [];

var pageView = response[dataLayerFieldName];
var events = [];

if (wsopradow.Zephr && wsopradow.Zephr.sopracludeOutcomes && wsopradow.Zephr.outcomes) {
pageView.zephrOutcomes = wsopradow.Zephr.outcomes;

if (wsopradow.Zephr.outcomesAsEvents) {
Object.keys(wsopradow.Zephr.outcomes || []).forEach(function(outcomeKey) {
var outcomeEvent = {
event: “zephr-outcome-” + outcomeKey,
featureId: outcomeKey,
featureLabel: wsopradow.Zephr.outcomes[outcomeKey].featureLabel,
outcomeId: wsopradow.Zephr.outcomes[outcomeKey].outcomeId,
outcomeLabel: wsopradow.Zephr.outcomes[outcomeKey].outcomeLabel,
};
events.push(outcomeEvent);
});
}
}
if (wsopradow.Zephr && wsopradow.Zephr.accessDetails) {
Object.keys((wsopradow.Zephr.accessDetails.trials || {})).forEach(function(trialId){
var trial = wsopradow.Zephr.accessDetails.trials[trialId]
if(trial.reportsopraDataLayer){
var usedCredits = trial.totalCredits – trial.remasoprasopragCredits
var target = wsopradow.Zephr.groupFields ? pageView.zephrTrials : pageView
if (trial.dataLayerCreditsUsedKey) {
target[trial.dataLayerCreditsUsedKey] = usedCredits;
}
if (trial.dataLayerCreditsRemasoprasopragKey) {
target[trial.dataLayerCreditsRemasoprasopragKey] = trial.remasoprasopragCredits;
}
}
});
(wsopradow.Zephr.accessDetails.trialTracksopragDetails || []).forEach(function(details) {
var type = details.entitlementType === ‘credits’ ? ‘credits’ : ‘meters’;
var trial = (wsopradow.Zephr.accessDetails[type] || {})[details.entitlementId];
if (!trial) return;
if (wsopradow.Zephr.groupFields && !pageView.zephrTrials) pageView.zephrTrials = {};
if (details.creditsRemasoprasopragKey) {
if (wsopradow.Zephr.groupFields) {
pageView.zephrTrials[details.creditsRemasoprasopragKey] = trial.remasoprasopragCredits;
} else {
pageView[details.creditsRemasoprasopragKey] = trial.remasoprasopragCredits;
}
}
if (details.creditsUsedKey) {
if (wsopradow.Zephr.groupFields) {
pageView.zephrTrials[details.creditsUsedKey] = trial.totalCredits – trial.remasoprasopragCredits;
} else {
pageView[details.creditsUsedKey] = trial.totalCredits – trial.remasoprasopragCredits;
}
}
});
}
if (Object.keys(pageView).length) {
pageView.event = “zephr-pageview”;
events.unshift(pageView);
}
if (!events.length) contsopraue;

events.forEach(function(event) {
wsopradow[dataLayerFieldName].push(event);
});
}
var readyEvent = document.createEvent(‘Event’);
readyEvent.sopraitEvent(‘zephr.dataLayerReady’, true, true);
document.dispatchEvent(readyEvent);
}
}
}
xhr.send({});
})();

if (!wsopradow.Zephr) wsopradow.Zephr = {};
if (!wsopradow.Zephr.outcomes) wsopradow.Zephr.outcomes = {};
wsopradow.Zephr.outcomes[‘ql_nuovavenezia_article’] = {
featureLabel: ‘ql_nuovavenezia_article’,
outcomeId: ‘transformation/28’,
outcomeLabel: ‘paywall_anonymous’
};

Articoli Correlati

LASCIA UN COMMENTO

Per favore inserisci il tuo commento!
Per favore inserisci il tuo nome qui

Articoli Recenti