";
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", "49459dfb-8919-4794-bff8-ab884e353f32");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "49459dfb-8919-4794-bff8-ab884e353f32");
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":"361158a214a79389a28537ce99305061:77b4a6faa4b98dc272670a4701be934b09342b3e4db006e8cc05998de4365b0930051c1df6893ef220b3b7778f617ed38a3867fd30b07e463d88ef02c77c26bb04bbefa42211af84866a49f9704ca165b37e645f4004a763488a578893cc9f6b8dcf0928ca0039b27ffd5461262bdf760ecf1d136af436ca4727159394d4e9cb4518285072080619b1efc5f38cb9161ac834679b36","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzMTdhNWM5Ny04NWFhLTQ3YzktYmVjMC1kMzdlMGZjYTA1OGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.I3Nl1THjBXpgWB4OTAyUcesHKKqgS3nQhPNWo-QK1VI"}});
melidata("add", "user", {"uid":"317a5c97-85aa-47c9-bec0-d37e0fca058d","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":"317a5c97-85aa-47c9-bec0-d37e0fca058d-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"80450f66-ab50-4c4b-bbfd-e688b1dc71e9","x-d2id":"317a5c97-85aa-47c9-bec0-d37e0fca058d"},"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");