";
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", "e535fc9c-f16b-49c3-8da2-5a9dd3025b01");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "e535fc9c-f16b-49c3-8da2-5a9dd3025b01");
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":"6da668f8554f1d7342a955039d47e6ed:1d3d7cdbefe6dffa8891d40253f88a1ef9b4ae7e49312b42378e9f6e4e04aa4ead49c87eb56cdff10c8fc7b5a6a287286ab8f46319ffd2e8844798b00749dd4b106b507705e063613e203f82f202131dbac1f8325e9a4403074a1644570bb499194220f544cc8aed48040e8da330e5444a63d6f06a8375fefc5019701a25579f439a2150332781aa48b1c4218a9bc3f1b594422f34","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhYzBkM2IwNC04N2QwLTRmMTktYmE4Mi0xNjdmMGI4YjRiYjkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.MZ9GAG13Kp1I7RpoHddbp2jbXQ5SWC9xeFcg1qJZnPI"}});
melidata("add", "user", {"uid":"ac0d3b04-87d0-4f19-ba82-167f0b8b4bb9","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":"ac0d3b04-87d0-4f19-ba82-167f0b8b4bb9-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"0a37f41d-200b-4baa-a4ec-9a771b5790d1","x-d2id":"ac0d3b04-87d0-4f19-ba82-167f0b8b4bb9"},"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");