";
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", "501f4960-17e4-4b43-aff5-4da8daf6ff01");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "501f4960-17e4-4b43-aff5-4da8daf6ff01");
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":"dc31caf4037030ca216602990b3facd1:c353888c359d7d975c086777683ce8a46ac6d202112e124292a2c673cf2f80790a65a69679abccd525a29520b2271cddf8bf895cb5f71bdaece48fc5accf5f14e0684ba94815f378140b429527013c0e1115f8bbda92867adc6d8242fb98df619e1d95694f53ce8492e4590faf1b64264cd7145f4048e771985aa9df61072f4a0455e8a23b1205c747ae6e5613f35bed0398c9783b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2ZjM0YTVlNy1iMjA5LTRlNDktOTQxMi02NDJiNTk0YzY2Y2EiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.SQqdnzRGd2oVhRVATWTlRW7WRo7xXoRLEOdnxWKRt3U"}});
melidata("add", "user", {"uid":"6f34a5e7-b209-4e49-9412-642b594c66ca","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":"6f34a5e7-b209-4e49-9412-642b594c66ca-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"38515372-b79b-4897-b30a-1c61d16079f6","x-d2id":"6f34a5e7-b209-4e49-9412-642b594c66ca"},"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");