var gg = window.gg = window.gg || {};
var ggCmd = window.ggCmd || [];
window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [];
window.enabledYtIma = true;
godo={};godo.ads=[];var adsCfg= {"unitname":"/55964524/lv_w/horoscopo/signos-zodiaco-libra/horoscopo-diario/p","sequential":["roba","mega","modulo","triplepack-izq-","triplepack-cen-","triplepack-der-"],"sectionable":["cintillo","patrocinio"],"prebid":{"timeout":5000,"bidders":{"criteo":{"md":{"mega1":"768469","roba1":"768472","roba2":"768473","roba3":"768474","roba4":"768475","skyl-inpage":"768470","skyr-inpage":"768471"},"sm":{"mega1":"768476","roba1":"768477","roba3":"792061","roba4":"792062","roba5":"792063"},"xs":"sm"},"richaudience":{"md":{"mega1":["aNaXJdDvuL","1gQhRt80hv"],"roba1":"1RTpvUFaDi","roba2":"2F1bMdvQu6","roba3":"7Y70bZitxT","roba4":"1r9klYTjZC","roba5":"0CsNLIjw2h","roba6":"0LnvaGbOZa","roba7":"0hJChb7mJK","skyl-inpage":"j4SK4Qf3mj","skyr-inpage":"RwysGvzhSL"},"sm":{"mega1":"ypBZN0Dlrk","roba1":"AGtH0mSoEW","roba2":"1jEFqsZQ0S","roba3":"WYhNchHxsD","roba4":"mHnn7u2ksB","roba5":"1ph3qY3443","roba6":"2PIByXjhcR","roba7":"S1VdhdOBlT"},"xs":"sm"},"appnexus":{"md":{"mega1":"16324512","mega2":"16324513","mega3":"16324514","mega4":"16324515","roba1":"16324516","roba2":"16324517","roba3":"16324518","roba4":"16324519","roba5":"16324520","roba6":"16324521","roba7":"16324522","skyl-inpage":"16324524","skyr-inpage":"16324523"},"xs":{"mega1":"16324802","mega2":"16324804","mega3":"16324805","mega4":"16324807","roba1":"16324808","roba2":"16324809","roba3":"16324810","roba4":"16324811","roba5":"16324812","roba6":"16324813","roba7":"16324814"}},"smartadserver":{"md":{"slots":{"sky1":"128424","sky2":"128425","mega1":"59970","mega2":"59970","mega3":"59970","mega4":"59970","mega5":"59970","mega6":"59970","mega7":"59970","mega8":"59970","mega9":"59970","roba1":"62693","roba2":"62694","roba3":"62695","roba4":"62696","roba5":"62696","roba6":"62696","roba7":"62696","roba8":"62696","roba9":"62696"},"pageId":"1928229","siteId":"636712"},"xs":{"slots":{"mega1":"59970","mega2":"59970","mega3":"59970","mega4":"59970","mega5":"59970","mega6":"59970","mega7":"59970","mega8":"59970","mega9":"59970","roba1":"62693","roba2":"62694","roba3":"62695","roba4":"62696","roba5":"62696","roba6":"62696","roba7":"62696","roba8":"62696","roba9":"62696"},"pageId":"1928230","siteId":"636713"},"siteId":null}}},"keys":{"environment":"pro"}};adsCfg.adUnitSection= adsCfg.unitname.split('/')[3];
adsCfg.aps = {
pubID: '3714',
isEnabled: false,
adServer: 'googletag'
}
adsCfg.googletagVendorId = 'google';
adsCfg.apstagVendorId = 'c:amazonads-9c5TNGaj';
adsCfg.isDfpConsentRequired = true;
godo.ads.push(function(x){x.configure(null, adsCfg);});godo.ads.push(function(x){x.init();});
gg.didomi.doWhenConsent(!window.didomiBy, 596, function () {
gg.util.getScript("https://cdn.insurads.com/bootstrap/EMOIYLRT.js",{async:true});
});
window.didomiOnReady = window.didomiOnReady || [];
var _comscore = _comscore || [];
comscoreSrc = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
window.didomiOnReady.push(function(){
_comscore.push({
c1:"2",
c2:"6398301",
cs_ucfr: Didomi.getConsentStatusForVendor('c:comscore-jUFc9icY') === false ? "0" : "1"
});
gg.util.getScript(comscoreSrc,{async:true});
});
var gfkMediaId = "LavanguardiaWeb";
if (typeof ggIsApp !== 'undefined' & ggIsApp) {
gfkMediaId = /iPad|iPhone|iPod/i.test(navigator.Agent) ? "LavanguardiaIos" : "LavanguardiaAndroid";
}
var gfkS2sConf = {
media: gfkMediaId,
url: "//es-config.sensic.net/s2s-web.js",
type: "WEB",
logLevel: "none" //optional
};
if (typeof ggIsApp !== 'undefined' & ggIsApp) {
gfkS2sConf.type = "APP";
gfkS2sConf.device = "UNKNOWN";
gfkS2sConf.ai = "";
}
(function (w, d, c, s, id, v) {
if (d.getElementById(id)) {
return;
}
w.gfkS2sConf = c;
w[id] = {};
w[id].agents = [];
var api = ["playStreamLive", "playStreamOnDemand", "stop", "skip", "screen", "volume", "impression"];
w.gfks = (function () {
function f(sA, e, cb) {
return function () {
sA.p = cb();
sA.queue.push({f: e, a: arguments});
};
}
function s(c, pId, cb) {
var sA = {queue: [], config: c, cb: cb, pId: pId};
for (var i = 0; i < api.length; i++) {
var e = api[i];
sA[e] = f(sA, e, cb);
}
return sA;
}
return s;
}());
w[id].getAgent = function (cb, pId) {
var a = {
a: new w.gfks(c, pId || "", cb || function () {
return 0;
})
};
function g(a, e) {
return function () {
return a.a[e].apply(a.a, arguments);
}
}
for (var i = 0; i < api.length; i++) {
var e = api[i];
a[e] = g(a, e);
}
w[id].agents.push(a);
return a;
};
var lJS = function (eId, url) {
var tag = d.createElement(s);
var el = d.getElementsByTagName(s)[0];
tag.id = eId;
tag.async = true;
tag.type = 'text/javascript';
tag.src = url;
el.parentNode.insertBefore(tag, el);
};
if (c.hasOwnProperty(v)) {lJS(id + v, c[v]);}
lJS(id, c.url);
})(window, document, gfkS2sConf, 'script', 'gfkS2s', 'visUrl');
var agent = gfkS2s.getAgent();
var customParams = {
c1: "lavanguardia.com",
c2: "horoscopo/signos-zodiaco-libra"
};
agent.impression("default", customParams);
gg.didomi.doWhenConsent(!window.didomiBy, 'c:facebooka-frU9M5JY', function () {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '316167066837274');
fbq('track', 'PageView');
});
var initGtm = function() {
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHSTS65');
};
window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [], window.googletag.cmd.push(function () {if (0 === window.googletag.pubads().getTargeting('permutive').length) {var e = window.localStorage.getItem('_pdfps');window.googletag.pubads().setTargeting('permutive', e ? JSON.parse(e) : []);var o = window.localStorage.getItem('permutive-id');o & (window.googletag.pubads().setTargeting('puid', o), window.googletag.pubads().setTargeting('ptime', Date.now().toString())), window.permutive.config.viewId && window.googletag.pubads().setTargeting('prmtvvid', window.permutive.config.viewId), window.permutive.config.workspaceId && window.googletag.pubads().setTargeting('prmtvwid', window.permutive.config.workspaceId);}})
!function(e,o,n,i){if(!e){e=e||{},window.permutive=e,e.q=[];var t=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})};e.config=i||{},e.config.apiKey=o,e.config.workspaceId=n,e.config.environment=e.config.environment||"production",(window.crypto||window.msCrypto)&(e.config.viewId=t());for(var g=["addon","identify","track","trigger","query","segment","segments","ready","on","once","","consent"],r=0;r<g.length;r++){var w=g[r];e[w]=function(o){return function(){var n=Array.prototype.slice.call(arguments,0);e.q.push({functionName:o,arguments:n})}}(w)}}}(window.permutive,"eef148c2-9875-47de-a74e-1f63e078551b","045b8894-d300-4d6e-9660-5d16b7c213f9",{"consentRequired": true});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
permutive.once("Pageview", function (evnt, err) {
firePixels();
function firePixels() {
if (window.__tcfapi) {
__tcfapi('addEventListener', 2, function(tcdata, success){
if(success & tcdata.eventStatus === 'tcloaded') {
if (Didomi.getConsentStatusForVendor("c:laliga-Y6YQ22RR")) {
laLigaPixel();
}
};
});
} else {
return [0, null];
}
}
function laLigaPixel() {
var cohortsToFire = getCohortsToFireByLocalStorageKey("laliga_datasharing");
if (cohortsToFire.length < 1) {
return;
}
cohortsToFire.forEach(function (cohortId) {
var src = "https://beacon.krxd.net/event.gif?event_id=Opf7g9VZ&event_type=default&event_name=GODO" + "&segment=" + cohortId;
firePixelWithImgElement(src);
});
saveFiredPixels("laliga_datasharing", cohortsToFire);
}
function firePixelWithImgElement(src) {
var s = document.createElement("img");
s.src = src;
s.height = 1;
s.width = 1;
s.style = "display:none;visibility:hidden";
document.head.appendChild(s);
}
function getCohortsToFireByLocalStorageKey(localStorageKey) {
var cohorts = localStorage.getItem(localStorageKey) || "";
cohorts = cohorts.length > 0 ? JSON.parse(cohorts) : [];
var cohortsPost = localStorage.getItem(localStorageKey + "Post") || "";
cohortsPost = cohortsPost.length > 0 ? JSON.parse(cohortsPost) : [];
return cohorts.filter(function (cohortCode) {
return !cohortsPost.includes(cohortCode);
});
}
function saveFiredPixels(localStorageKey, cohorts) {
var cohortsPost = localStorage.getItem(localStorageKey + "Post") || "";
cohortsPost = cohortsPost.length > 0 ? JSON.parse(cohortsPost) : [];
localStorage.setItem(
localStorageKey + "Post",
JSON.stringify(cohortsPost.concat(cohorts))
);
}
});
} catch (e) {
console.log("Permutive is not running");
}
});
function triggerPermutivePush(dataSource, util) {
var topics = [];
if (dataSource.topics & '' !== dataSource.topics) {
topics = dataSource.topics.split(',').filter(function(str){ return '' !== str.trim(); }).map(function(topic) {
return topic.trim();
});
}
var authors = [];
if (dataSource.authorName & '' !== dataSource.authorName) {
authors = dataSource.authorName.split(',').map(function(author) {
return author.replace('#', '').trim();
});
}
var pageKeys = [];
if (dataSource.pageKeys & '' !== dataSource.pageKeys) {
pageKeys = dataSource.pageKeys.split(',').map(function(pageKey) {
return pageKey.replace('#', '').trim();
});
}
function parseDateFormat(dataSourceDateString){
var dateISOString = null;
if (dataSourceDateString & '' !== dataSourceDateString){
var formattedDate = new Date(dataSourceDateString);
const parsed = Date.parse(dataSourceDateString);
// Hack for iOS-macOS devices because they don't read properly the date format and returns NaN
if(isNaN(parsed)) {
formattedDate = new Date(dataSourceDateString.replace(/-/g, '/').replace('T', ' '));
}
dateISOString = util.toIsoString(formattedDate);
}
return dateISOString;
}
var modificationDateISO = parseDateFormat(dataSource.modificationDate);
var publicationDateISO = parseDateFormat(dataSource.publicationDate);
var creationDateISO = parseDateFormat(dataSource.creationDate);
var forcedUpdateDateISO = parseDateFormat(dataSource.forcedUpdateDate);
var sections = [];
var section = '';
if (dataSource.mainSection) {
section = dataSource.mainSection;
}
var = true;
if (gg.paywall.utils.getAccessType(ggPageData.accessType) === "no") {
= false;
}
var daysPublished = null;
if (dataSource.publicationDate !== ''){
var today = new Date();
var pubDate = new Date(dataSource.publicationDate);
var msSincePubDate = today.getTime() - pubDate.getTime();
daysPublished = Math.floor(msSincePubDate / (1000 * 60 * 60 * 24));
}
var evSegments = null;
if (typeof localStorage.evolokSegments !== "undefined") {
evSegments = JSON.parse(localStorage.evolokSegments).split(",").map(entry=>entry);
}
var permutiveJSON = {
page: {
type: dataSource.webType,
content: {
categories: sections,
trackingId: dataSource.trackingId,
unitName: dataSource.unitName
},
article: {
id: dataSource.contentId,
title: dataSource.title || '',
description: dataSource.description || '',
authors: authors,
modifiedAt: modificationDateISO,
publishedAt: publicationDateISO,
topics: topics,
: ,
wordCount: parseInt(dataSource.wordCounter) ,
paragraphCount: parseInt(dataSource.paragraphCounter) || 0,
section: section,
company: "LV",
creationDate: creationDateISO,
daysPublished: daysPublished,
pagekeys: pageKeys,
facet: dataSource.facet,
forcedUpdateDate: forcedUpdateDateISO,
inlineNews: parseInt(dataSource.inlineNews),
relatedNews: parseInt(dataSource.relatedNews),
webType: dataSource.webType
},
: {
type: gg.s.getType(),
age: (typeof gg.s.get().getAge === 'function' & gg.s.get().getAge() !== null) ? parseInt(gg.s.get().getAge()) : null,
gender: (typeof gg.s.get().getGender ==='function') ? gg.s.get().getGender() : null,
language: navigator.language,
Id: (typeof gg.s.get().uid !== 'undefined') ? gg.s.get().uid : null,
evolok_segments: evSegments,
consentedTcf: (typeof didomiState !== 'undefined') ? didomiState.didomiVendorsConsent.split(",") : null
}
}
}
if (dataSource.webType == "story" || dataSource.webType == "opinion"){
permutiveJSON.page["classifications_watson"] = {
concepts: '$alchemy_concepts',
entities: '$alchemy_entities',
keywords: '$alchemy_keywords',
categories: '$alchemy_taxonomy',
sentiment: '$alchemy_document_sentiment',
emotion: '$alchemy_document_emotion',
taxonomy_labels: '$alchemy_taxonomy_labels'
}
}
if (window.ggIsApp) {
if (window.__evContext && window.__evContext.platform) {
if (window.__evContext.platform === 'ios' || window.__evContext.platform === 'android') {
permutiveJSON.page['client'] = { type: window.__evContext.platform };
}
}
}
permutive.addon('web', permutiveJSON);
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
window.ggPageDataCmd.push(function(sourceData, util){
triggerPermutivePush(sourceData, util);
});
gg.didomi.doWhenConsent(!window.didomiBy, 361, function () {
gg.util.getScript("https://045b8894-d300-4d6e-9660-5d16b7c213f9.edge.permutive.app/045b8894-d300-4d6e-9660-5d16b7c213f9-web.js",{async:true});
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
var consentToken = "";
__tcfapi('addEventListener', 2, function(tcdata, success){
if(success & tcdata.eventStatus === 'tcloaded') {
consentToken = tcdata.tcString;
};
})
gg.didomi.doWhenConsent(true, 361, function(){
if (typeof consentToken !== 'undefined'){
permutive.consent({ "opt_in": true, "token": consentToken })
}
})
} catch(e) {
console.log(e);
}
});
var gaId = gg.cookie.get("_ga");
var permutiveIdentifyJSON = [
{
"id": gaId,
"tag": "gtm_id",
"priority": 1
}
];
var sId = gg.s.get().uid;
if (typeof sId !== 'undefined') {
permutiveIdentifyJSON.push({
"id": sId,
"tag": "_id",
"priority": 0
});
}
var emailSha = gg.s.get().email;
if (typeof emailSha !== "undefined" & emailSha.length > 0) {
permutiveIdentifyJSON.push({
"id": emailSha,
"tag": "email_sha256",
"priority": 3
});
}
if (typeof ggIsApp !== 'undefined' & ggIsApp && typeof sId !== 'undefined'){
var mobileId = window["mobileId"];
permutiveIdentifyJSON.push({
"id": mobileId,
"tag": "mobile_id",
"priority": 2
})
}
permutive.identify(permutiveIdentifyJSON);
window.__wmass = window.__wmass || {};
window.__wmass.bff = window.__wmass.bff || [];
window.__wmass.getSegments = window.__wmass.getSegments || function () {
let psegs = [];
try {
pSegs = JSON.parse(window.localStorage["28986622-e6be-473d-9a8f-e603a25f3c66_papns"] || '[]').slice(0, 250).map(String);
} catch (e) {
pSegs = []
}
return { permutive: pSegs };
};
function triggerWeMassPush(dataSource, util) {
var topics = [];
if (dataSource.topics & '' !== dataSource.topics) {
topics = dataSource.topics.split(',').filter(function (str) { return '' !== str.trim(); }).map(function (topic) {
return topic.trim();
});
}
var authors = [];
if (dataSource.authorName & '' !== dataSource.authorName) {
authors = dataSource.authorName.split(',').map(function (author) {
return author.replace('#', '').trim();
});
}
function parseDateFormat(dataSourceDateString){
var dateISOString = null;
if (dataSourceDateString & '' !== dataSourceDateString){
var formattedDate = new Date(dataSourceDateString);
const parsed = Date.parse(dataSourceDateString);
// Hack for iOS-macOS devices because they don't read properly the date format and returns NaN
if(isNaN(parsed)) {
formattedDate = new Date(dataSourceDateString.replace(/-/g, '/').replace('T', ' '));
}
dateISOString = util.toIsoString(formattedDate);
}
return dateISOString;
}
var modificationDateISO = parseDateFormat(dataSource.modificationDate);
var publicationDateISO = parseDateFormat(dataSource.publicationDate);
var = true;
if (gg.paywall.utils.getAccessType(ggPageData.accessType) === "no") {
= false;
}
var sections = [];
var section = '';
if (dataSource.mainSection) {
section = dataSource.mainSection;
}
var addonData = {
page: {
type: dataSource.webType,
content: {
categories: sections
},
article: {
id: dataSource.contentId,
title: dataSource.title || '',
description: dataSource.description || '',
topics: topics,
authors: authors,
modifiedAt: modificationDateISO,
publishedAt: publicationDateISO,
: ,
wordCount: parseInt(dataSource.wordCounter),
paragraphCount: parseInt(dataSource.paragraphCounter) || 0,
section: section
},
: {
type: gg.s.getType(),
age: (typeof gg.s.get().getAge === 'function') ? gg.s.get().getAge() : null,
gender: (typeof gg.s.get().getGender === 'function') ? gg.s.get().getGender() : null
}
}
};
window.__wmass.bff.push(function () {
__wmass.dmp.addon('web', addonData);
});
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
window.ggPageDataCmd.push(function (sourceData, util) {
triggerWeMassPush(sourceData, util);
});
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
try {
var consentTokenWM = "";
__tcfapi('addEventListener', 2, function (tcdata, success) {
if(success & tcdata.eventStatus === 'tcloaded') {
consentTokenWM = tcdata.tcString;
};
})
gg.didomi.doWhenConsent(true, 968, function () {
if (typeof consentTokenWM !== 'undefined') {
window.__wmass.bff.push(function () {
__wmass.dmp.consent({ "opt_in": true, "token": consentTokenWM });
});
}
})
} catch (e) {
console.log(e);
}
});
window.__didomiVersion=2;
var dataLayer = window["dataLayer"] || [];
dataLayer.push({"modificationDate":"2025-05-22T22:00:00Z","environment":"pro","unitName":"/55964524/lv_w/horoscopo/signos-zodiaco-libra/horoscopo-diario/p","contentId":"","company":"LV","creationDate":"2021-06-03T00:00:00Z","facet":"web","publicationDate":"2021-06-03T00:00:00Z","sections":"/horoscopo/signos-zodiaco-libra/horoscopo-diario#","trackingId":"gg.util.getTrackingId()"});
dataLayer.push({"company":"LV","slug":"/horoscopo/signos-zodiaco-libra/horoscopo-diario","content":{"creationDate":"2021-06-03T00:00:00Z","publicationDate":"2021-06-03T00:00:00Z","modificationDate":"2025-05-22T22:00:00Z"},"page":{"webType":"story","mainSection":"/horoscopo/signos-zodiaco-libra/horoscopo-diario","pagePath":"/horoscopo/signos-zodiaco-libra/horoscopo-diario","accessType":"abierto"},"tech":{"cms":"propio","facet":"web","environment":"pro","autorefresh":false},"ad":{"unitName":"/55964524/lv_w/horoscopo/signos-zodiaco-libra/horoscopo-diario/p","ismonetized":true}});
var autorefresh = !!window.performance.navigation.type & sessionStorage.getItem('autorefresh') || false;
sessionStorage.removeItem('autorefresh');
dataLayer.push({
"tech": {
autorefresh: autorefresh
},
});
var ggPageData = Object.assign({"modificationDate":"2025-05-22T22:00:00Z","environment":"pro","unitName":"/55964524/lv_w/horoscopo/signos-zodiaco-libra/horoscopo-diario/p","contentId":"","company":"LV","creationDate":"2021-06-03T00:00:00Z","facet":"web","publicationDate":"2021-06-03T00:00:00Z","sections":"/horoscopo/signos-zodiaco-libra/horoscopo-diario#","trackingId":"gg.util.getTrackingId()"}, {"company":"LV","slug":"/horoscopo/signos-zodiaco-libra/horoscopo-diario","content":{"creationDate":"2021-06-03T00:00:00Z","publicationDate":"2021-06-03T00:00:00Z","modificationDate":"2025-05-22T22:00:00Z"},"page":{"webType":"story","mainSection":"/horoscopo/signos-zodiaco-libra/horoscopo-diario","pagePath":"/horoscopo/signos-zodiaco-libra/horoscopo-diario","accessType":"abierto"},"tech":{"cms":"propio","facet":"web","environment":"pro","autorefresh":false},"ad":{"unitName":"/55964524/lv_w/horoscopo/signos-zodiaco-libra/horoscopo-diario/p","ismonetized":true}}) || {"modificationDate":"2025-05-22T22:00:00Z","environment":"pro","unitName":"/55964524/lv_w/horoscopo/signos-zodiaco-libra/horoscopo-diario/p","contentId":"","company":"LV","creationDate":"2021-06-03T00:00:00Z","facet":"web","publicationDate":"2021-06-03T00:00:00Z","sections":"/horoscopo/signos-zodiaco-libra/horoscopo-diario#","trackingId":"gg.util.getTrackingId()"};
window.__evContext = {
platform: "",
token: "",
isApp: false,
isNativePurchaseEnabled: null
};
gg.didomi.doWhenConsent(!window.didomiBy, 'google', function () {
initGtm();
});
var Info = {};
var Id = gg.cookie.get(gg.s.cookieName);
if (Id)
Info.Id = Id;
Info.Type = gg.s.getType();
Info.Age = (typeof gg.s.get().getAge === 'function') ? gg.s.get().getAge() : "";
Info.monthsFromRegistration = gg.s.get().registrationDate ? gg.paywall.utils.getedValue(gg.s.get().registrationDate) : "";
dataLayer.push(Info);
/* GA4 */
Info.evolokId = (gg.s.get().getEvolokId !== undefined ? gg.s.get().getEvolokId() || undefined : undefined);
Info.roles = (gg.s.get().getRoleName !== undefined ? gg.s.get().getRoleName() || undefined : undefined);
Info.Date = (gg.s.get().getDate !== undefined ? gg.s.get().getDate() || undefined : undefined);
Info.newsletters = (gg.s.get().getNewsletterList !== undefined ? gg.s.get().getNewsletterList() || undefined : undefined);
Info.communications = (gg.s.get().getCommunicationList !== undefined ? gg.s.get().getCommunicationList() || undefined : undefined);
if (Info.monthsFromRegistration == false) Info.monthsFromRegistration = undefined;
Info.Id = Info.Id || undefined;
Info.monthsFromRegistration = Info.monthsFromRegistration || undefined;
dataLayer.push({
: Info
});
gg.didomi.init({
newVersion: false,
siteName: 'La Vanguardia',
privacyPolicyUrl: '/politica-privacidad',
brandColor: '#001c4c',
noticeTimeout: 5000,
font: 'sans-serif',
acceptButtonFunction: function() {
dataLayer.push({
'event': 'consent-management',
'eventAction': 'click-seguir-navegando',
'eventLabel': null,
'eventValue': null
});
},
showPreferencesButtonFunction: function() {
// wait for element
var fixpoint = function (f, selector, callback) {
var e = $(selector);
if(e.get().length == 1) {
callback(e);
} else {
window.setTimeout(function () { f(f, selector, callback) }, 100);
}
};
//
// visible after preferences is pressed (WARNING title text selector and comparisons!)
var K_DENY_ALL = "Rechazar todo";
var K_SAVE = "Guardar";
fixpoint(fixpoint, '.didomi-button span:contains("' + K_DENY_ALL + '")', function (btn) {
btn.click(function () {
var txt = $(this).text();
var action = "";
if(txt == K_DENY_ALL) action = "click-rechazar-todo";
if(txt == K_SAVE ) action = "guardar";
if(action !== "") {
dataLayer.push({
event: "consent-management",
eventAction: action
});
}
});
});
dataLayer.push({
'event': 'consent-management',
'eventAction': 'click-mas-informacion',
'eventLabel': null,
'eventValue': null
});
},
scrollFunction: function() {
dataLayer.push({
'event': 'consent-management',
'eventAction': 'scroll',
'eventLabel': null,
'eventValue': null
});
}
})
console.log('start');
gg.breakpoint.setBreakpoints({'xs': 0, 'md': 768}, true);
gg.registry.init();
const onGGLoad = () => {
document.querySelectorAll('script[type="script/gg"]')
.forEach(scr => {
try {
eval.call(window, scr.textContent)
} catch (e) {
console.error('Error running gg script', e);
console.log('gg script contents:', scr.textContent);
}
});
window.ggReady = true;
document.dispatchEvent(new CustomEvent("ggReady", {}));
}
document.addEventListener("DOMContentLoaded", function() {
return onGGLoad();
});
var mrfTech = 'web';
if(dataLayer[0].facet === "app"){
mrfTech='app';
}
function e(e){var t=!(arguments.length>1&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.async=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}function t(t,c,n){var a,o,r;null!==(a=t.marfeel)&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n,t.marfeel.config.Id=c;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}!function(e,c){var n=arguments.length>2&void 0!==arguments[2]?arguments[2]:{};t(e,c,n)}(window,1435,{pageType:mrfTech} /*config*/);
window.marfeel = window.marfeel || {};
window.marfeel.cmd = window.marfeel.cmd || [];
window.marfeel.cmd.push(['experiences', 'com', function(experiences, com) {
experiences.addEventListener('flowcards', 'navigationfromcard', function(event) {
com.trackNewPage(); // Com
ga('send', 'pageview', document.location.pathname); //Google Analytics
COMSCORE.beacon({ c1: '2', c2: 6398301 }); // Comscore
});
}]);
if(typeof ev !== "undefined"){
ev.marfeel.Type();
};
if (typeof varPageScrollEnabled === 'undefined' || varPageScrollEnabled == true) {
var recommendationItems;
var ggPageDataOriginal = null;
var infiniteScrollTestMode = 0;
function handleRecommendations(response) {
if (!response || !response.items.length) {
var loadingNextTextEl = document.querySelector("#infinite-loading");
if (loadingNextTextEl) {
loadingNextTextEl.style.display = "none"
}
recommendationItems = [];
return;
}
if (infiniteScrollTestMode & !response.testMode) {
return;
}
recommendationItems = response.items;
var newEvent = new Event("recommendationItemsAvailable");
document.dispatchEvent(newEvent);
}
var ggPageDataCmd = window.ggPageDataCmd || [];
window.ggPageDataCmd = ggPageDataCmd;
var ggInfiniteScrollSlugsLoaded = false;
ggPageDataCmd.push(function (articleData, util) {
if (ggInfiniteScrollSlugsLoaded) {
return;
}
ggInfiniteScrollSlugsLoaded = true;
});
}
window._gravity = [];
if (typeof varPageScrollEnabled === 'undefined' || varPageScrollEnabled == true) {
function getRecommendedNewsBySection(section) {
var recommended_by_section = {
'default':'FC_kc7P1wOuS9qR8BqznOvC6A',
'comprar':'FC_TKMbG3xITyeNC_qz3CloSQ',
'ocio':'FC_eSHetJR2Rz6VLW9rpZPjwA',
'lacontra':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'vida':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'economia':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'natural':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'internacional':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'deportes':'FC_eSHetJR2Rz6VLW9rpZPjwA',
'ocio':'FC_JsTk0-VCRSSu3RwEp3aPXg',
'politica':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'motor':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'mascotas':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'empresas-de-vanguardia':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'videos':'FC_rMZGuHLDTjm4RCjPgjPn9A',
'comer':'FC_7nkUnaXJToqVztHiYSbNWw',
'gente':'FC_7OQ-ShEEQuSMmSTspK2h8w',
'television':'FC_7OQ-ShEEQuSMmSTspK2h8w',
'cribeo':'FC_8W3EU6YGRsapxzm6mfZNkQ',
'magazine':'FC_b-3PUfGQSNCRqdlhA3Sa7w',
}
if(section in recommended_by_section & recommended_by_section[section] != ''){
return recommended_by_section[section];
}
if(section.includes('/')){
var split_section = section.split('/');
if(split_section[0] in recommended_by_section & recommended_by_section[split_section[0]] != ''){
return recommended_by_section[split_section[0]];
}
}
return recommended_by_section['default'];
}
var ggPageDataCmd = window.ggPageDataCmd || [];
ggPageDataCmd.push(function(articleData, util) {
if (window._ggYuspRecommendationsRequested) {
return;
}
var section = 'default';
if (articleData['page']['mainSection'] !== null) {
section = articleData['page']['mainSection'].substring(1);
}
var recommendationsSection = getRecommendedNewsBySection(section);
window._ggYuspRecommendationsRequested = 1;
window.marfeel = window.marfeel || {};
window.marfeel.cmd = window.marfeel.cmd || [];
window.marfeel.cmd.push(['experiences', (experiences) => {
experiences.getRecommendations(recommendationsSection).then(recommendations => {
handleRecommendations({items: recommendations});
});
}]);
});
}
ggCmd.push(function () {
gg.registry.('GoogleTagManager', 'lv.googleTagManager.init', null, {priority: 99999});
gg.registry.('scroll-registry', 'gg.scrollRegistry.init');
});
{
"@id":"#organization",
"@context": "https://schema.org",
"@type": "Organization",
"name": "La Vanguardia",
"url": "",
"logo": "/rsc/images/logo-lv.png",
"sameAs": ["https://www.facebook.com/LaVanguardia", "https://www.twitter.com/lavanguardia", "https://www.instagram.com/lavanguardia"]
}
3m225n
Cómo son 1p2p1v
Hoy 5v6t9
Mañana 65452e
Los posibles problemas con el dinero y la falta de precisión en el trabajo será lo que más te preocupe en este día. Por otra parte, tenderás a ser demasiado egoísta y algo irresponsable o inconsciente de tus actos; estas actitudes quizá te causen dificultades con las amistades y conocidos. Evita la falta de creatividad y la presunción, o tendrás problemas y desilusiones. ¡Invierte la energía!
19/05/2025 2p1k6
Tensión y posibles problemas en temas financieros serán la tónica predominante hoy, Libra, deberás istrar muy bien tus finanzas y no hacer gastos excesivos; tampoco será el mejor día para la especulación o el juego, porque podrías perder. Emocionalmente podrías tener cierta tensión y estar involucrándote en relaciones que no te convienen y que tal vez puedan provocarte cierta desilusión. ¡Ten cuidado con los excesos!
20/05/2025 4z555v
Una buena salida para pasar este día de una forma agradable será evitando cualquier tipo de discusión y actuando de una manera muy diplomática, Libra, con mucho tacto. Tu familia será en este momento lo más importante: olvida los problemas cotidianos y dedícate a compartir con quienes te importan todo lo conseguido en tu vida.
21/05/2025 416326
Hoy sentirás más relajación, Libra, una buena opción será compartir con los amigos y con las personas que más amas; además, tu familia estará en un primer lugar. Emocionalmente te sentirás bien. Trata de evitar los excesos en el comer o beber, pues podrían afectar a tu salud. Por último, estarás muy sensual y podrías preparar una velada muy agradable con tu pareja...
22/05/2025 5r543v
Durante el día de hoy podrás aprovechar para iniciar cualquier proyecto, Libra. Los mejores aspectos serán para quienes trabajen en las artes, en la comunicación, en ventas o en las relaciones públicas. Por otro lado, una buena istración será necesaria para manejar el área financiera; si gastas demasiado podrías después darte cuenta de que es muy difícil pagar los créditos.
18/05/2025 2r196o
Hoy podrías dedicar parte de tu tiempo a limpiar y a poner en orden los espacios vitales que ocupas, Libra, así todo lo nuevo podrá entrar y ocupar su sitio. Por otro lado, deberías evitar las tensiones y los enfrentamientos con tu pareja, si la tienes, porque podrían llevarte a desilusiones y rupturas.
Cargando siguiente contenido...