";
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", "f2d1c745-4ca9-4a8d-a68d-f83045b881b5");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "f2d1c745-4ca9-4a8d-a68d-f83045b881b5");
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":"acbb2d2cc58226f7ca0cc8fe39b1bc21:6c8d0a5a92d5420a8be63f22e21f6d7f914106f8c0c644b30f414caeae663b48c255faf28557a86c5ff3e2af07e97e2050cb2f0f2b252b526b61b4ce8204c3916afcd70fb931b96012250020beb1ae1fcc64c15abae9cc0a2ee5f932861931054208a3e4457440db70c69b04dcd856b961475e38b372100ce8186c19bf19061b5eaf27ef8c674a243fe8fcba90bd7369d0719b257e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0ODU1NzYzMC02ZTI1LTRjMzMtYWFlNi00ZTVlZDMxNGQ4MGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.joPeCfk19y0x0KTFxFPm2YFV4_KmtVPy9NO7t26YZiQ"}});
melidata("add", "user", {"uid":"48557630-6e25-4c33-aae6-4e5ed314d80d","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":"48557630-6e25-4c33-aae6-4e5ed314d80d-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"50a78a32-b56e-483c-b68a-e4c041f88e03","x-d2id":"48557630-6e25-4c33-aae6-4e5ed314d80d"},"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");