";
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", "3e88dbfc-1dbc-47f5-8179-4e943c1d7d51");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3e88dbfc-1dbc-47f5-8179-4e943c1d7d51");
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":"e2c82ca5cb07b80c517679b1ee6c5a42:28c4d923060dfe4f583b3cd55db23494f81e9236cfd252f8d0dd76893d695f0897582f1503f0e363e7cf501b84bc33217232cfd491b841e696b31de5d61099f4324331d1c2e08f0717ef6208270ecfdb46637184bc6049a1702d3c6489a672c77d6c397c376000aa357bc059cec35311f0b312bbf33b6c4f22747f0cecdb3546db929fe244f5966f63bbfa350ed119f25dc7068ce2","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkYTgxMGFiYS03ZGM0LTQ5ZGMtYmY2Ni04ZWRhZDYxNTQ4MzQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WOLz0x1PtUauP9WWMa3n8FisRnLL1ByfsCEOljLCQFE"}});
melidata("add", "user", {"uid":"da810aba-7dc4-49dc-bf66-8edad6154834","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":"da810aba-7dc4-49dc-bf66-8edad6154834-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"f52d86eb-002e-46eb-b3df-671587023a30","x-d2id":"da810aba-7dc4-49dc-bf66-8edad6154834"},"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");