";
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", "5c3a54da-eae8-46d9-b1e0-cf98b68a1841");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5c3a54da-eae8-46d9-b1e0-cf98b68a1841");
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":"0d9b6e534abd44acb2e00133a51efaee:6538a736145449bc28ab8e19d689d65a32e6528a824e6605935140a9c563a4a4c0148e3688c56c654d8411032b33b2e3b8a3d53989bed1730bdb7671604d2fb9afdeb102b83161280a16699e108a9504d327effd9415b84e6751399dd0c4ae21869b106d81ceff4b315083a936140346e667951af73a6e88061fa264f0378869e6c1028991c35687c80d11b6da930c7bfd7aab973d2a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyOTQwMjE2OS1lNTk4LTQ0NzgtOTA5Yy03NTE4NDM5NzI1MGMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.cvtkUVotkfRuQIctXtb5txI2P4Yd8Gs2rkdBCfKl9sQ"}});
melidata("add", "user", {"uid":"29402169-e598-4478-909c-75184397250c","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":"29402169-e598-4478-909c-75184397250c-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"ed488aee-e299-40e3-a8eb-b9302824cc23","x-d2id":"29402169-e598-4478-909c-75184397250c"},"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");