";
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", "31b77699-1c5d-4f12-8a40-229c1ba6ff9f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "31b77699-1c5d-4f12-8a40-229c1ba6ff9f");
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":"b2cc4285dc181eba9d9b3364aa13c5ba:74082973d418739b59fb3272be27f0060b80baf0d2c861305bf81c9767ea9f3b6224be79f3116bef30138424eeed653141065e2a5ee92ce62649d92d286886407098847e1fae33bf416944e5ac464942efd86ee2b45283ff4d9ccb73513cd46098a795be4f333305f5e2e63f9668b87efaba48bb8cd44fc62c397a4dcfdcaa3cd765b417854f55c151d7278656b2e91fa4f9e5d1129f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4N2JkODljNC1mYmFjLTQ2MDQtYTNkOS1jYjFmNzEwNGJlYmIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.QMJe0lNU2ul0sug-O43FlUbJOF_9igCANVd5bTH2BOU"}});
melidata("add", "user", {"uid":"87bd89c4-fbac-4604-a3d9-cb1f7104bebb","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":"87bd89c4-fbac-4604-a3d9-cb1f7104bebb-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"bfb44e57-b5bc-45fe-bf8f-73857eb9756f","x-d2id":"87bd89c4-fbac-4604-a3d9-cb1f7104bebb"},"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");