";
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", "366c7648-89fd-4987-b4f8-c144d61a07bb");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "366c7648-89fd-4987-b4f8-c144d61a07bb");
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":"14479cdaede0979229fc797194fde713:46f35fe143a72e98f1b179c44f339ae9505fd7a7b9e1e62162779205c762090b64a7834de9adf70829cc0316c0ff74a998e4c2a29ce498faed765d4b79222d1e5cdfc4475459e892147692cbee5881cf1a370b1e85f332cf96cea9364e641ace86d265fc3a21a9baf83bb12516d223597aac7c75482d56e15dceec89cb985ea50162a228c51ff1952b3351e555191713a068867476","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjYTY2ZjU5Yi0xYjUwLTQwYWYtOTI0OS1lMzgzMWE2NGFjMTgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.KTeWkqJ0cID8DJNpzdmbjwmTRAuBmKO_oQZ9R7brCXk"}});
melidata("add", "user", {"uid":"ca66f59b-1b50-40af-9249-e3831a64ac18","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":"ca66f59b-1b50-40af-9249-e3831a64ac18-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"7c2cf0b0-bb30-44f1-9040-31c3fd72b59a","x-d2id":"ca66f59b-1b50-40af-9249-e3831a64ac18"},"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");