";
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", "c6e68418-7df4-4a6b-bd6c-4058e53f44d4");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c6e68418-7df4-4a6b-bd6c-4058e53f44d4");
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":"b7e37ff2617d40985a6c3518f819b26b:687269a47627058aa385090e194bccb88a041b98bb4d134e708c35d19e1f4a649848d00f4ba21e36747f643bab5e83254ad82c9a3549017882c3fa8ce2cac32a5f1ac4df75abb86324717bf6b422e587786673baa1af382e43162b59d03bc3e8b8ac4907b1efb18c5a004ed27a00f64c62f55bd11e8154fea6f6e9b313601bb49455f26773bb1b278063800e4cd9658ab9142d10b0","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiYzMxZWRiNy05OGFmLTRlMTMtOTZlZi00NTMwYWQyMzg5ODUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ue1FvD82aIkzhiwRAHwxm8y7Zte2rYXX6l8IHoek45w"}});
melidata("add", "user", {"uid":"bc31edb7-98af-4e13-96ef-4530ad238985","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":"bc31edb7-98af-4e13-96ef-4530ad238985-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"2ca9489d-bc91-458c-b03f-35600de71030","x-d2id":"bc31edb7-98af-4e13-96ef-4530ad238985"},"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");