";
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", "0865f897-b081-48bc-8fd1-9211edeee23d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "0865f897-b081-48bc-8fd1-9211edeee23d");
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":"dd7f4f677272ec55938862f9fc60da40:1aea2e4cd635316dc714db89e14aa75b38aa1916b3b957f020d62e0ee3dd87926761538e51dbbd26b322e084c5147202f42cd0823c26aa0bd51185114bf2d0995a31c47f8a9e6c1c4b1a532a57cd9285258ab53d54ab65f5f9fa4ffd3f21c663f03b6bde2e1fa10052b02c7bf90dc3f0c2f76590fd1e4d7a3b51407ae63dd3c10c67f885c9821c656f431d1082bb229257fe9fde42eb","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0ZTFkMTJhOC0yNDM3LTQ3NmYtOWM4NS0wOTMwZTZhMjYyMzQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.aOwsmZA1fPdzJUwa9Wun_M6vBArPjxZ831DJtpiQZPM"}});
melidata("add", "user", {"uid":"4e1d12a8-2437-476f-9c85-0930e6a26234","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":"4e1d12a8-2437-476f-9c85-0930e6a26234-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"366f7d7e-dc18-4c44-9f65-a2202ee31535","x-d2id":"4e1d12a8-2437-476f-9c85-0930e6a26234"},"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");