";
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", "dfee861e-0ce8-485f-879f-a4d4179f14a6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "dfee861e-0ce8-485f-879f-a4d4179f14a6");
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":"6f7cb69537018276c48485a1ea774312:08672786f58ff8e9f527680e2037eb87d9bd9699fbc7890aa1543a664d5cff17f49fb34636ef500eb79bc112bd5b4ceaf4ea922aaa320f1680b014314f0bde8a1141f6c882a7f0c0bcc572bd56e1d87be96544ae99388a1faaf2fe82deeb900da5f86c08d5e4dd7de523cf0fe80bbe250299ba1d92772a2996d165e7343ca00bc05ef940355209ae9143e13cd97cda094bc3ae9a31","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0YmMyZDAwOS0zNjJlLTQ4OTgtYTA4YS0xMGQyNzUwMGZmMGEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.njKY8cEDRLQDqRYSsyioCD1WWRQPXjHbeob3zTr7fII"}});
melidata("add", "user", {"uid":"4bc2d009-362e-4898-a08a-10d27500ff0a","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":"4bc2d009-362e-4898-a08a-10d27500ff0a-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"0498a536-1681-4198-90bb-c96eb1f42893","x-d2id":"4bc2d009-362e-4898-a08a-10d27500ff0a"},"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");