";
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.5.11/melidata.min.js');
melidata("add", "id", "c3b4b19a-cf80-4be9-b450-b9418c0c7016");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c3b4b19a-cf80-4be9-b450-b9418c0c7016");
melidata("add", "application", {"version":"3.50.1","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MLM","secured":{"encrypted":"b7448b69e4b5a73cf0425fb0f4d88863:17ae9afdf77aeaf91bc3572e0019cb6117a6118eed9a4c88e1427ff778ace0c6dce6572a9ff761eb06f6b1761437cceadb366a74b82900b921eb43130767f16a8a95b35eea7df3c6fe3bbeca0501624b455341ce8794599b8de84c5bd7632ff47eb0d3c5e6f68544d1ce36693c3bfcfb06359281fab125e4f429390f10cb55a739675c4076b7ab447a29389e34f66b4b4f064817","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4MGYxOGRiYi0zNzljLTQ3MDgtOWY1Yi1iOWY2MmExYzI4MWEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ehAiRRoNdBG-E7kQvWJMZHphF3OXxhpJMt3cp6Tmk-w"}});
melidata("add", "user", {"uid":"80f18dbb-379c-4708-9f5b-b9f62a1c281a","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":"80f18dbb-379c-4708-9f5b-b9f62a1c281a-n"},"headers":{"host":"www.megamarcas.mx","x-device-js":"true","x-request-id":"38780523-9aed-4a09-9fd9-8c950ab13c9a","x-d2id":"80f18dbb-379c-4708-9f5b-b9f62a1c281a"},"http_url":"https://www.megamarcas.mx/navigation/addresses-hub","http_referer":"https://www.megamarcas.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");