";
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", "2112f520-4f7e-4231-aa68-38f013427c4c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2112f520-4f7e-4231-aa68-38f013427c4c");
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":"6a3162622b9c461cf070fc9e02294788:798592045d29fb5a1c9295237dba2b0f1bb67e5525adb4c0d881f115bfe675e40a43400a131904d7d09375e1c26d89a3584985feb508baa304641dc31d2303d74cceee71437a0988b793eb231b0c45396e49747f3f145896292b41392ddebd04414cfdcd0edd7c7c6aa716318b9612aa5323133c05034b0eb76256e05800c6ecdf5c74df4c201bc0329e20442c3c7341e80639db3fe7","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiMzFlMjI5NS1lNDJmLTQ3MGEtYTdkMi04Y2ZmNTAwODg0ZDEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.106NDEoPN6bQOZ2KVSGePwGylUx7Oim9OSgz2NfQGBA"}});
melidata("add", "user", {"uid":"b31e2295-e42f-470a-a7d2-8cff500884d1","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":"b31e2295-e42f-470a-a7d2-8cff500884d1-n"},"headers":{"host":"magia-digital.com.mx","x-device-js":"true","x-request-id":"903fd22a-2440-40c1-ac83-b38fb5447362","x-d2id":"b31e2295-e42f-470a-a7d2-8cff500884d1"},"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");