";
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", "cfec7c43-5955-45d3-8a50-2020cd2ed0e8");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "cfec7c43-5955-45d3-8a50-2020cd2ed0e8");
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":"b612679fd05db56cef8eed8c698a076e:3c95950e5e6526a07a8a8ffc729b2145c26b5679323df76d7f1d6bfb2c86d43b41baf60ee0efb182b123a43c5c04931fd19912966e71eb33034e8816711e8999ca7d92ba3997d7ae530a674680343f0beedb2f694074c461fe5095452def48173b58331efd74fedf5d26d20452ede4c8f5c6951b9d0946921a8da6eb6cc8d046cab2761a25a5edc114959b0ed1bc7229c4508af5e4","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxZGIzY2VkNS01NjVjLTRkNmUtOGZiZS0zZTRjZDIyMzBlNGEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.hDavS0kwI7IQaYdFQF67zLjR8h0jOfhsdfpZJ00bLxw"}});
melidata("add", "user", {"uid":"1db3ced5-565c-4d6e-8fbe-3e4cd2230e4a","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":"1db3ced5-565c-4d6e-8fbe-3e4cd2230e4a-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"5f2395f6-6e9a-45f7-a135-c178504a838e","x-d2id":"1db3ced5-565c-4d6e-8fbe-3e4cd2230e4a"},"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");