";
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", "4bacb337-ee8a-40eb-9fd3-c7732f9bdce9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4bacb337-ee8a-40eb-9fd3-c7732f9bdce9");
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":"7f2bec21299be2c32bcef949dc9d8a48:4222e65592b7c9c4ad013ea7f058487dd6a5745f39955fab21b3e8ca61a9a2bd36009ef58c19803dc7cc302ded530281fe95a332b5e6b484eca1a14c98efebe8558f22e0c6554a30ab85e0a420e890e06aa8e5d73f9bab79eaf0f261494ea005da6dd2ade7d5f04bbd384e827e226ba2c41513171eed60d25dc5987468c50af336391e18364367b9ceedbc4134bb0e80da57d0490d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJlNjYxNzA0MC1iZjc4LTQ3MTQtYjA3OS03NWExZTYyNjQ5NTUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.gTbfXIaT5elaTVthTSH7AvZbUpJokxmvnyhwwD3Kyag"}});
melidata("add", "user", {"uid":"e6617040-bf78-4714-b079-75a1e6264955","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":"e6617040-bf78-4714-b079-75a1e6264955-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"0992a3c3-6c67-4bc4-a411-ebcbc38310f0","x-d2id":"e6617040-bf78-4714-b079-75a1e6264955"},"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");