";
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", "ec4f87c5-118d-49b8-b861-70ea2cf5c928");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ec4f87c5-118d-49b8-b861-70ea2cf5c928");
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":"beb63fb3c237912837a47804baca4dce:634eb5496f68f665ba5a80a45be4bf5e4b719ab7f106d3c7ea029411c427387f2290b3ecf1e4fe9c593cfba9e10d43ee40c73786b54e3893e62ada1003fc4d7a1013b4b155d39da0172604c56b91b4ec8807d1443deee0ae2192b5618777083b46da5157456a4cf06a588a31eb0a8093842c1b29240e6c9f29dae250ad86d581c3e7361aa2ee80f51a94d6e6bee49603b8685d3c9250","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhZGI0ZjkyZi02MmU5LTQwNDItOGEwZC01NGI5YjgyM2U0YTgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.i47K1-mvIUnXOX_D0-UyEOGg4tLxVoscVzB00nT6Z-w"}});
melidata("add", "user", {"uid":"adb4f92f-62e9-4042-8a0d-54b9b823e4a8","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":"adb4f92f-62e9-4042-8a0d-54b9b823e4a8-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"d5eeffc0-3ae2-4fcf-84dd-131fbac75e46","x-d2id":"adb4f92f-62e9-4042-8a0d-54b9b823e4a8"},"http_url":"https://elreyferretero.com/navigation/addresses-hub","http_referer":"https://elreyferretero.com/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");