";
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", "c3be6de4-ad33-4e88-a38a-8346334ad6d2");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c3be6de4-ad33-4e88-a38a-8346334ad6d2");
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":"b988c2a45041b532d764a614b688053a:205c8e5f68bd04ace549a1bdc123e693321852f39376f21a023312bded80791c67e4d1007de54d9f59801c046cbe3b51dbe2d046118bd6ae36ebfa4398832bcfd7c6b823572576145e67775098b81186eb54644856fce8a08b3bca223d34ea6707707b4e878a345902a551fbef33c60d8eb230fa99eb6fa6254950806607fda06c384cc0fcbd7cf870b0f5d23c1ddb2df159787bbd20","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmY2IxNTBmMS1lODU0LTQ4MWItYmY5MC1lNTlkOTMzZGE5YWIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.d1siMGthxE7SyHFFqKjLgSjQiAl8mXIMeGmVu795gQ0"}});
melidata("add", "user", {"uid":"fcb150f1-e854-481b-bf90-e59d933da9ab","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":"fcb150f1-e854-481b-bf90-e59d933da9ab-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"738ce8a3-f946-4e35-a6cc-8b03e5716022","x-d2id":"fcb150f1-e854-481b-bf90-e59d933da9ab"},"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");