";
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", "5d9d6123-b8b8-43a9-b1f6-1e6d079f4ea9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5d9d6123-b8b8-43a9-b1f6-1e6d079f4ea9");
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":"3564bd93dc1722fcb0d9a7372b1ee9fb:9936ac9967e2426964bd61ff34426477dfd6bbef1b4ac2ce9b0fcda3bae8aef2b6ce167206b89bd0f2d743174e5d571def3c0444addbeaf764f65d4f5814ead39d0fcde6ecb6560c561f851d53c16bb4d080895f5eb7e4061d74455f7872927decf1a70770821885b455680d897bf8753b7b85e3d185e78c3b6af6e9a62d2451a01f0c66a4f5971491d3726d38db6dc74b78cf7488","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIwNTZmNmVjNS1kYzg2LTQ1MDMtYjI3MC1hNDc4NmE4MzgwMDQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.DiRgWVXJ6fMzLKh8iLMT6t9yk8rnHew7r4KWadofp4g"}});
melidata("add", "user", {"uid":"056f6ec5-dc86-4503-b270-a4786a838004","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":"056f6ec5-dc86-4503-b270-a4786a838004-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"bc9ec38d-9a6e-45a9-afc0-f43220d938c7","x-d2id":"056f6ec5-dc86-4503-b270-a4786a838004"},"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");