";
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", "18b61a27-24a6-4d70-9bb9-5e597be5ef9f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "18b61a27-24a6-4d70-9bb9-5e597be5ef9f");
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":"f58d6a4d1c1351c8e63ffeddc36573d7:c0dfccd03140242a8ff347f5e448640bbed9be8f34502b61f263beaded083d2727294db3e5892650b051c2cd7c1f0b30387f50915ec6ff8d82e141b35b4e249737207ac57b8930e6e813952daa15d698f265e9e489a17aa573fa424eb7f4520574e08099e3679b80eb19071cc1aaa544126a84fdc2d9884681898c8da9e1182b899e7188e83e3c23b6344e4e8d8a29edf6b2daeee697","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0ZDIxNWE5My1jNzgxLTQ2NDctODUyOC1kNTg2YWM1MDZkYmUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.7bzK3ReYnvqg2s5uWyEizy7uJv7xqppU5C5Si-rwf78"}});
melidata("add", "user", {"uid":"4d215a93-c781-4647-8528-d586ac506dbe","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":"4d215a93-c781-4647-8528-d586ac506dbe-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"368c0718-b561-43fa-a199-92e8633ddfde","x-d2id":"4d215a93-c781-4647-8528-d586ac506dbe"},"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");