";
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", "5e0b3d47-3125-43e3-bb1f-bfa7d9317825");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5e0b3d47-3125-43e3-bb1f-bfa7d9317825");
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":"5c4a6c9757c7cfbe916ae696de270723:37b63dd934619aff69751d7defc5862075d2210f193b2e0bdd469d0f06fdde0b3e04b41480a6788df795834a3332352f6e4c7d42c0cc7681d0081b7966948c1a06c7bbd294d944687cfe6b5d8bb8e739090c86ebe6933f5b9920772ffc114844b833595731f85ffe7f0b10bcb328f9244d230e64225f0b5778d1d93a401175b4d839492c3355944c119ffaa0fb3faf349e64af8a3e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhN2U5YjY5YS03NDI5LTRlOWUtYjRmZS1mZGU3ZDQ2MTZmN2QiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.n_5kCiSkquDcXzueDnEa4CUGPznFTUAGKZ-YXOIcZhA"}});
melidata("add", "user", {"uid":"a7e9b69a-7429-4e9e-b4fe-fde7d4616f7d","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":"a7e9b69a-7429-4e9e-b4fe-fde7d4616f7d-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"018c59ec-72e2-4dbe-aaac-03a60801fe70","x-d2id":"a7e9b69a-7429-4e9e-b4fe-fde7d4616f7d"},"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");