";
i.id = "GoogleAnalyticsIframe";
if ("MutationObserver" in win) {
new MutationObserver(function onDocumentChange() {
if (d.body) {
appendAnalytics(i, d.body.firstChild);
this.disconnect();
}
}).observe(d, { subtree: true, childList: true });
} else {
appendAnalytics(i, d.getElementsByTagName('script')[0]);
}
})(document, window);
Elige dónde recibir tus compras
";
i.id = "MelidataIframe";
d.body.appendChild(i);
var doc = i.contentWindow.document;
var script = doc.createElement('script');
script.type = 'text/javascript';
script.text ='window.inDapIF = true;';
doc.documentElement.appendChild(script);
} else {
// This page is charged async via AJAX and inserted into another one who has
// already download melidata js lib => Just clean the track
melidata("clean");
}
})(document,'https://http2.mlstatic.com/storage/melidata-js-sdk/js/3/0.6.0/melidata.min.js');
melidata("add", "id", "5940cf25-ca57-4ca3-bbc0-fda59d5fa106");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5940cf25-ca57-4ca3-bbc0-fda59d5fa106");
melidata("add", "application", {"version":"3.51.1","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MLM","secured":{"encrypted":"d7adae49970ac81335eba872a90954db:697def56758f4fc0438fba1fb51604eedaed139c644ff7e306b571d4ffc959fa279348db4b1df446a665c1fc84cc97e254ac6f05d6b689653d22057b3dfab395350776d2a1bcbde9482bf2dea971f9c647573d36592012a65f407859341f1359b1db1feef608c55b0cefce549da02904764e763263ee8d4fd08cfbaa941f3ef2ee497fcbe2e42a29dc7ce9a938967ea9147d9ec524","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjYzEzMThlMC04OTZlLTRjMzAtOGE0NC1jMjk4NTQ5ZTUxZDAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Y8rzo87vHV4ajQ3Dy-IFq00QyQTt8Uvqu5HE5a5SfiU"}});
melidata("add", "user", {"uid":"cc1318e0-896e-4c30-8a44-c298549e51d0","user_tags":[],"privacy_consents":{"advertising":true,"traceability":true,"performance":true,"functionality":true}});
melidata("add", "device", {"platform":"/web/desktop","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"});
melidata("add", "platform", {"http":{"cookies":{"_d2id":"cc1318e0-896e-4c30-8a44-c298549e51d0-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"42cbfb2c-75f9-46ea-941f-6e8dc745a153","x-d2id":"cc1318e0-896e-4c30-8a44-c298549e51d0"},"http_url":"https://magia-digital.com.mx/navigation/addresses-hub","http_referer":"https://magia-digital.com.mx/gz/shipping-calculator"}});
melidata("add", "event_data", {"addresses_quantity":0,"has_errors":false,"zipcode":"","experiment6":"without_coachmark","experiment7":"without_promise"});
melidata("send", "view", {
path: "/current_location/hub",
data: {}
}, "melidata");