";
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", "bc70cf78-7fc1-488d-a2bf-a484a6dd8d6a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "bc70cf78-7fc1-488d-a2bf-a484a6dd8d6a");
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":"507f895646920b2634be49d35c29133e:28298abf4f1f2c4ad3e2c515268ca90514023148ccc024ac8d653ba0c57e2dae5828789bafe9a7b0f8087d68cba04068decb0714449caaa28465a04d76e8dd0180e1b31dbb4e9022362d4ead454f40cf58de8e5d69275df59cb83ea29eeaa967bfdd419e1fdc7d090ebaa33bc4734eeb574ea2007e315ed7a80a3a5510f1bf4fc8e5ed26cd8c5af81697ad6f8af46bb6e186f841ec","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5MzQzZGUyNC1kMzRhLTRmZmUtOWEwNy1iODU2OTM4NWJhNjYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.dwc4Oz4c-kr3gMPYxePjoSmFLJil29gx5CuQ5nU5ytI"}});
melidata("add", "user", {"uid":"9343de24-d34a-4ffe-9a07-b8569385ba66","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":"9343de24-d34a-4ffe-9a07-b8569385ba66-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"6319353a-42d1-4ef1-92de-b20e0825a023","x-d2id":"9343de24-d34a-4ffe-9a07-b8569385ba66"},"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");