";
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", "4158cf1e-92c1-44a6-9c58-4063359bb2c9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4158cf1e-92c1-44a6-9c58-4063359bb2c9");
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":"020eda6e9b9ade6acbc726bb09e75953:226f6508cd230cd7c5bc55500bdfc577715ec07228d2883693bedad9872c6fdc8cb926842ca5f5ab631a4f88048ed14cac53271e462089997ed255f2fabbb321981a90fdf6d965ff4745796e40f2156091f1ae1fb3472901393518ec12ec4f046f300589f8c8e920254fd6ab00f023fe1800159dca685b2095b56b9ab76a7d2ad37eed843d3d04c2ac2ad270eacbf76aeefbd0fd7da0","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5MTk3MmU2OS0zNzI5LTQ0NWEtODhiYi0zN2Y2YTU4NjA4N2QiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.djdXMP7c6pqLUCt70g3jIoWUYFo1wvLpjOFQj-xNZD0"}});
melidata("add", "user", {"uid":"91972e69-3729-445a-88bb-37f6a586087d","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":"91972e69-3729-445a-88bb-37f6a586087d-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"ff7330c0-8822-4719-b1e2-c7dc7bb42579","x-d2id":"91972e69-3729-445a-88bb-37f6a586087d"},"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");