";
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", "e023bcb1-e062-45e7-ae7d-3cb91370018c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "e023bcb1-e062-45e7-ae7d-3cb91370018c");
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":"0c88f570d76b561d14f8632ec47fda05:954a54cb7213fd407979f82dd1928f72216433452d487a3e3a8023d03e7c46d4cc80826330593ae4d293595d4903351bdb47288f3dc34f79be2c759184908125b55f24946814d2c0a6f9da0555b443b5d708f3c47fbc3fd2fc1a06716828c0122ae567daeb4d619ce811cc0c6fa6a4ef2239005fe4f674531e1d072f6633d74ed60a24a29aea1be077728d66d2777a50388834be5e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0YjUwMDg2MS1mNmM3LTQyNDUtYjk5MS1hZmIwMTQ0M2E4ZTQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.q97k_2QEO-QC6ywq4MSUVPmkgeYty8iaNnPPEidDi0s"}});
melidata("add", "user", {"uid":"4b500861-f6c7-4245-b991-afb01443a8e4","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":"4b500861-f6c7-4245-b991-afb01443a8e4-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"fb70ac23-94ad-4543-ba59-ca7ef1a75e78","x-d2id":"4b500861-f6c7-4245-b991-afb01443a8e4"},"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");