";
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", "788fbe00-3fa9-47a0-9d03-3e81d9168dcd");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "788fbe00-3fa9-47a0-9d03-3e81d9168dcd");
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":"9db6a597b1b8bc978fc88ffc37a71bb0:884ea497501173861a86f109e03b0c41a323d1403de1f0cfae558945c2fdef58f4f2e75ba648df8b590e367cbd5bf98fd1044cb02f62864c96d647895199641f37b3f934ec3c14a8735fda8c73f5bf3e23c5b1153d9b980dfd9b1dec25b9a2b762038f8adcf2a67c94422801d0d5bee763f3b12e81fe84d7e3c0dba92ea8d61ab19eee8d17163ac7e2679400c74998d7f43a6c9c98","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxZmI3N2JjNC1mMTI3LTRkMDgtYTEwNS1iODA2NTJmMTQ3NGUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.3QG3gGOmVgbN5549wXeU5rm05EEUMaLT9EU977Dy55k"}});
melidata("add", "user", {"uid":"1fb77bc4-f127-4d08-a105-b80652f1474e","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":"1fb77bc4-f127-4d08-a105-b80652f1474e-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"0df217d4-b35b-4e17-9ef2-d8528124a963","x-d2id":"1fb77bc4-f127-4d08-a105-b80652f1474e"},"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");