";
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", "38825b4b-915b-41e5-881d-bfddc283d8e6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "38825b4b-915b-41e5-881d-bfddc283d8e6");
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":"0bb45a9f9ecc5288906f478362d9dedb:bd04f3d0c4cbba4b4dc27149061419ee2218a1889c13bf390a5d912f7cc0d6b6dc09c1d4d41f655b510f30ad3f09bb24974cf90ea4a00211b6222a9f18fe79e8fcd388d31996d519a4c8b3710f11f780004a39fdbe6b0813f94f081c596d1c7752f809afd2865a4b893020912556b0f72eee4021385935b3a4ef6cd9d4264691578e14daac3204fda96adda8808751e8de9ee6c15d8d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhYTc3OTY2OC00NGU0LTQ0MjktYjIzNC02YWZhODljODA0ZWEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.InNi0FUsu0Tv6U80RppleybiqPk6voLHh3i1eE6xWkM"}});
melidata("add", "user", {"uid":"aa779668-44e4-4429-b234-6afa89c804ea","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":"aa779668-44e4-4429-b234-6afa89c804ea-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"2890c070-4f47-4d57-a53e-f46d189f0c4f","x-d2id":"aa779668-44e4-4429-b234-6afa89c804ea"},"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");