";
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.5.11/melidata.min.js');
melidata("add", "id", "7d8c3d94-2401-491f-b5d9-a5327e8bac13");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "7d8c3d94-2401-491f-b5d9-a5327e8bac13");
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":"43951e93814e0c5963546c97c3c069a5:2fff57b37c2e817b8070586a4a6fd3709bd6320185c06424bd71d31346616e241d82d5e8f49e8fa909fb989e85e18040a126dc23e1c4105662eac4e4d8ee77eb65c2c0a7fe8ede00013709ae5c9fd4a3a7c1b8978af69bd734af098f26c583e82c169e404d360ddbdadc83a2c9aecc132f36ab8adb760d19015edb42573d554f9fdc681a48f52e1e64c020fd95435d5310d02ae2f5c3","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxYTdiMmY4Yi0wY2NhLTQxNmYtYjliMS00MDI5OWRkYTIyODIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Vx9gxhn4mhuDX4GMJfw_E7g5nD2UaUGY5dIhf57lyhc"}});
melidata("add", "user", {"uid":"1a7b2f8b-0cca-416f-b9b1-40299dda2282","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":"1a7b2f8b-0cca-416f-b9b1-40299dda2282-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"e428f51a-501c-4446-af6c-2cd4842f154b","x-d2id":"1a7b2f8b-0cca-416f-b9b1-40299dda2282"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");