";
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", "75d1859c-92cf-4d0a-a295-510aa77f9007");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "75d1859c-92cf-4d0a-a295-510aa77f9007");
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":"f031736769fb24dda55e27fc74d62b0e:6841def19027817376b26097da26ae0a53a557603ff5c4c76ec62f651c0dbc6433976b7b55fe17037bcc386b6e790f500d8907df293ddc38b92cc26e3ce055d3707b8d6fdda7955f54fe6b36924d37ce8db19614af9c523335e0b6fb33963426afb310ada507d97c7d24413d7308fac06ff1bce7753a81e4ae093d5088ddb292a5b7587e27a00e06bf58240991c6b744d8da6ccfc6","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5MzU5ZjQ5Ny03ZjcwLTRjZjgtODU1MC04YjNlNDM1ODBmMmYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.5A-ynOyYNzKdqX_ztldh6UqHhcQIKYZmXmYhio_grE4"}});
melidata("add", "user", {"uid":"9359f497-7f70-4cf8-8550-8b3e43580f2f","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":"9359f497-7f70-4cf8-8550-8b3e43580f2f-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"5bd5e903-fc8f-4d4c-afc7-60400c228fff","x-d2id":"9359f497-7f70-4cf8-8550-8b3e43580f2f"},"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");