";
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", "d5664c4d-ccfa-4bb4-8531-de07af1265a0");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d5664c4d-ccfa-4bb4-8531-de07af1265a0");
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":"fbdf50422db11145193fb455ecabeb46:60c74b05ccd9278a34f31660adf2f8abf3ffa0c83dd578d0237c12f81e18850366c229279e94f179c78cb36a7c8b6190a5a02755e110dce7362e6ac732fd3ad284ec81d19a556175350f154ba0c249b08d2172375b8329d5aeefb667748e831d1c9b38e8b602c3ad999e807de031a4dead71fc1ca96c229c555da6b82cca54d255be65e827da1191331e60d81e918446decd8eaa3d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1OTY2MGFjOS04NjY3LTQzZWEtOTUwMC0wMDI4OGM4NjU4MmYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.8ARtFcog_NKaiWK_cj9HJSpQA3_gmqjgrGvBiVMK3fc"}});
melidata("add", "user", {"uid":"59660ac9-8667-43ea-9500-00288c86582f","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":"59660ac9-8667-43ea-9500-00288c86582f-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"417e16df-c226-4eef-b55a-40ccf0feba42","x-d2id":"59660ac9-8667-43ea-9500-00288c86582f"},"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");