";
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", "35374dd4-637c-41ea-a9d6-2e067bdf7d69");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "35374dd4-637c-41ea-a9d6-2e067bdf7d69");
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":"3ca82af75f5c0c853f3a1a220f6f5d2c:210cdf40cc5117d9cc99bc72e90bf0288a7683aeeed7a30ee2ae488f9a0be7866d9f434587a5f05859a8ff3ad367eaa6688f047eaaec60a3a9e43e318e3aeef1e842eb7b52dfc166d7783146ac7a9ad566eee1b244b04de922358831661c1653c9547ca2feccd1e60a9e465cb3fa738d5337072625fa12265c38fd88dfe5936740b85a05968dc779c1dd291b7076e078a3b6a1ab60ec","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkYTMxOWVkMS01M2U5LTQ3YzQtYjBmMC02NDQyYTQ4YzEyYTIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.pFjnMQo3tvHZxeelf-a65HQbVkgym3GHsom4JeqKt8Q"}});
melidata("add", "user", {"uid":"da319ed1-53e9-47c4-b0f0-6442a48c12a2","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":"da319ed1-53e9-47c4-b0f0-6442a48c12a2-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e8337504-83ee-4212-8e7c-1015d4715f35","x-d2id":"da319ed1-53e9-47c4-b0f0-6442a48c12a2"},"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");