";
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", "1f8781f4-ec14-4091-b688-9269b2bc399a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "1f8781f4-ec14-4091-b688-9269b2bc399a");
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":"957f406bde1f41237040e9efe842f0a1:d5bd2374933b432ddc751b8f6939716608c140f91095b40b3e65930e3e0f853909deda038e9275a4cbbb30ab03fd90ba5f1be39efed738658cea00f5034c10bce40cc6fae111674aa7600a5f18c136b0f1dbdf5ad3de40be9960f6252eb82adfeca4bc686d614431ae82d59299576e551481639cb9b6b6a7d4ea68a10f0983b7b0c7086e7f6fc34d01016908e979eceb75bacb3ac357","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjMjk2OGFkYS0xMDNjLTQ1NWYtYWM2Ni0yNjRhOGU1M2Y2ODQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.us5DHzkdGHgzqTg6dCUMTdu3itz4PSlmdQeRKjEiHEw"}});
melidata("add", "user", {"uid":"c2968ada-103c-455f-ac66-264a8e53f684","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":"c2968ada-103c-455f-ac66-264a8e53f684-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"f1e9737e-f210-4769-a6c6-97b25286c723","x-d2id":"c2968ada-103c-455f-ac66-264a8e53f684"},"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");