";
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", "af4ed061-1756-4242-af6d-f808f8d85091");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "af4ed061-1756-4242-af6d-f808f8d85091");
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":"d5bbd8e0551979704ff5480a336f9f45:e02ab0e5feb8ee646e7bd10e6aaed4b7c528b1b2931d7555bbe03cac1115cffcf1391f9c6b08d7aec75de1720628cf715239abb36d43205fe28aff38db5b74d9fc5e1ed64a544f4f02a116b1f76e16931d81a4209515b1f72b6f05e2cd504c3c89a354950e21fd8cdecba639ad43bff0e45097b09e42efcad88f519d87cbf9e9a2f3c5631cf1811321a642568f67285bd8861c53cf30","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiNjVjMTYzNS1mNjMzLTRiOGQtOWE4Ni0zYzFjZWFlNGM2YjQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.vaBCH0PPXlQH5OGF5KD0oVtSe3bUq5fclrIXKweJgq4"}});
melidata("add", "user", {"uid":"b65c1635-f633-4b8d-9a86-3c1ceae4c6b4","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":"b65c1635-f633-4b8d-9a86-3c1ceae4c6b4-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"3fac28cd-30cc-4c88-a8d2-cb73ec7512f6","x-d2id":"b65c1635-f633-4b8d-9a86-3c1ceae4c6b4"},"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");