";
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", "d3b8f1e3-15ee-422c-be2b-2cab24f52167");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d3b8f1e3-15ee-422c-be2b-2cab24f52167");
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":"a0cc797e43d0c7f2e02d6436fcfdf089:444a05b3e23d33a3b4de4ed483e57908b6e8cc5cba74997fa37eae4b370f5a5ec44a35b1c6f7796eabdd09fa35e604e3b54a428d04522dd0f3a651908c0f91e11488920fd1e86f47748ec55674b582dbb1439d47a55aa4b7dacdfeda410ce10d4d108efcdf8ce3f9d59d44a918695f098d35df0a7adc63ac138dcc1084c5e8463ca0d4fa131ff9853f2cfc99b702b63167ed95748d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzNmY5ZmE0Yy02OWM2LTRkMTQtYWMxMi1iM2FmZWQ4NzFiM2QiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.LpX8L4C9jsLTpD5YMhq_WVtj-Hg-UwzSxW-P6_nI1WM"}});
melidata("add", "user", {"uid":"36f9fa4c-69c6-4d14-ac12-b3afed871b3d","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":"36f9fa4c-69c6-4d14-ac12-b3afed871b3d-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"9799bccf-9c2f-4ee1-85d2-8d57ddba3eea","x-d2id":"36f9fa4c-69c6-4d14-ac12-b3afed871b3d"},"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");