";
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", "accffc0e-f213-4b37-89a3-6895379f2cc6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "accffc0e-f213-4b37-89a3-6895379f2cc6");
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":"ac373a5f77fa8d2bd658fe98d05e8acf:fa18485ad69a14ceadb2e116a3baaa2aeab45561901782f735adcef1029525cc114da6b5439d93040792c0d6fd6bd3f33d462d42ca026d612697d88d2e800d5b7b7d292171c2f991cc09117af47917229ae28ff89b995a4e11a3e0c749c51ee8a0f7d6cfd69368f452f05a20677b27419802254abd9c4509e1d93ae3ffa472790c6c88c4feda6267a145b4072a165e3140945fca0b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3ODhiODNkYi1kMzRiLTQzZGYtOWViYy05MmZhOTBmODJlMDMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.X3JDz6w_Ux0G3GiV_KmJT42KJR8qF3QeHPUept0xI14"}});
melidata("add", "user", {"uid":"788b83db-d34b-43df-9ebc-92fa90f82e03","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":"788b83db-d34b-43df-9ebc-92fa90f82e03-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"7c857240-9257-4b87-890f-427e1659f118","x-d2id":"788b83db-d34b-43df-9ebc-92fa90f82e03"},"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");