";
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", "f5a8817e-c88c-4eb5-83eb-9414e8b49a39");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "f5a8817e-c88c-4eb5-83eb-9414e8b49a39");
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":"8250dae609319bcc73ccf97fb574f1bf:fddc4a666b8bf5851eae168b6bd4ddca1aef03c049c2ecc6e856eff92cf4e45af4b4cb3359fc6939071ecba994ec25979d5c95d40c1d902e867aa3f587244a86b703789f23eecd040f1afe5274a022f297361185c18e09a59ad35662f1745ef9fca3bf3cda859b1fed214e0171232c7b0a32986a88d9503d53476c327c26d43fca0940e3ba0d08d44cab24cd57f0f6219b1756d9610f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiZWNmYzA4OS1hNjVjLTQ4YWItODliZi1lZjA1ODM3NDU1MDQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.h3lfsrz6ak7yFbOyWEu7h49TTxd0fVkuS_PZwbQBQac"}});
melidata("add", "user", {"uid":"becfc089-a65c-48ab-89bf-ef0583745504","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":"becfc089-a65c-48ab-89bf-ef0583745504-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"89fea5ad-76c6-4531-b043-7c05a523410f","x-d2id":"becfc089-a65c-48ab-89bf-ef0583745504"},"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");