";
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", "9407bb83-e8ab-4083-b59b-16d17446f76e");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9407bb83-e8ab-4083-b59b-16d17446f76e");
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":"b31062e9f7193251e7a7c117a1669632:d4d87e432753e7f53d24b12f5614a4786a8c0f1bc0d14a35e731998add73d00eb3a937eb3dad84ac8eaea3631e669b636289472e892619d16d6da7758c189e3c1c3ff7818da904e73e8936eaae91127d0df1822ac5f8991f783be51cbc306942fe3301d84f6652080cb672a7c9650941ddfd96da78b29216d4f8b61a3ec30d93d0ab2754f7885583e0de7d6b86df6677b5d88f9a46","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJlZTNkMjA3Ni0yNDA1LTQxNGYtODQyOC01MGJmMjAxYTcxYTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.EyM96rBtzIjjdrAvHwupj8gTxEG-yfvQtlEPcGuec0I"}});
melidata("add", "user", {"uid":"ee3d2076-2405-414f-8428-50bf201a71a0","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":"ee3d2076-2405-414f-8428-50bf201a71a0-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"197ab4f7-b720-4280-9a0d-ce579c9358c8","x-d2id":"ee3d2076-2405-414f-8428-50bf201a71a0"},"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");