";
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", "d54d1d75-cd6f-43f0-adcb-285e2a9df8be");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d54d1d75-cd6f-43f0-adcb-285e2a9df8be");
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":"8cc11065d4d7543410c11397caa5a656:294a8a866d85b5a4a19f5f5bb9708fe48b3856d0ca76960382ba4d1d43bf097934aa60b1f6b659feb115528c91b29245e409d417645936d5441ecd7b44aa977adc237a852b17c68505c82057c1749c4f6e3169665559746149930cbe68127b79304461d09525b13aa910fe4e4342b225115cb397397fe2b7012eef4385a44573844a0876ebec8bdc8a333abacf1393fabb01c6707103","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2MTI2ZjI0Zi1mOWRiLTQxMjktYWYyMy0wNmFmYjU0ZWM0ODEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WVPT-GYQWX0EG1-RfsICYiqfM2KUwj3SEU9k5TBVwfA"}});
melidata("add", "user", {"uid":"6126f24f-f9db-4129-af23-06afb54ec481","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":"6126f24f-f9db-4129-af23-06afb54ec481-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"0c3d5c95-d3bd-4b0e-8e78-ce3af266e1fe","x-d2id":"6126f24f-f9db-4129-af23-06afb54ec481"},"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");