";
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", "1ab4fd5e-4dcd-48d8-ac18-237d990c561c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "1ab4fd5e-4dcd-48d8-ac18-237d990c561c");
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":"2db953cca46de07c4601f18d45efe843:f7ca9defbc0f0e33e22eeff87d176483c078f9f137f1942665df3645f96977e398ca39ea80667beede1bdae0aed57abe57889ccf1ee504c248e9784955695a7d8aacadaaad85440f0a6c856ec114ba0400b027259416268b1d5cf61c0bf81824b7b581095eb041171665d42433939067785b28d3a874205cb70feba3b2c9fe87127add0523f728c3f08477f08d74dcdab9ad7c423e89","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjYzdhYTM3OC0xMTE3LTQwZGEtYmFkMy05MmEyYTZiOTg3YWQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.v8cvGqntLyrRXhGdsPekLSC7UKhBKCkPCts82NomNNY"}});
melidata("add", "user", {"uid":"cc7aa378-1117-40da-bad3-92a2a6b987ad","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":"cc7aa378-1117-40da-bad3-92a2a6b987ad-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"c9dc4f02-2012-49eb-9028-b08a397d0d91","x-d2id":"cc7aa378-1117-40da-bad3-92a2a6b987ad"},"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");