";
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.12/melidata.min.js');
melidata("add", "id", "2eed9cc2-e468-4cc3-9310-6e2c2946175f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2eed9cc2-e468-4cc3-9310-6e2c2946175f");
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":"281cd86c8d6987e56af129d3bbf80ca8:2c6e544211d45019a3bacacf834ffdf02c0b0773bb534c6e7ff29fb8820591a2121eed62cc03bc027b2a559e19e5440ca6aa763a993777a3b00eabb1993ae48d7f5848843968b0748869d8cc82c1dfe9704cd7788838f02d5a9fcde875e7adcc38b3b16b027eab2a9fd08be9bdf7ee431677142a1852d036d8b9280ac54222b7f9020d5d604ca0b904e2e7465c45a634d2c9990763","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhZWQ1NjEzOC02ZmIzLTQ4ZjQtYjdkOS05MWY4ZGQxYzgxZGEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WEnwXDFG0kdByRCVkJqzNmGAmXZl9TNmN0RC3m5c0f4"}});
melidata("add", "user", {"uid":"aed56138-6fb3-48f4-b7d9-91f8dd1c81da","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":"aed56138-6fb3-48f4-b7d9-91f8dd1c81da-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b7912217-1290-425a-b114-e16e49d825a2","x-d2id":"aed56138-6fb3-48f4-b7d9-91f8dd1c81da"},"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");