";
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", "160338fb-ee00-4fc6-98f1-392d3ce4ae7c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "160338fb-ee00-4fc6-98f1-392d3ce4ae7c");
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":"d2c93f40beac1052f06775784238f0fd:666df43117f26f0d8a93e575b42149e08810f471c7ab44700c95b51775ca79d2141427fd4476066b42cb0d5936ce5932ece2f6813f52beea252d9be71d592dc6e87ee3f7b5ba9e91b6bc039994dbb07196f126daec206bd6d38dc491e26b91f58902c5d85d19994c688ed408b9d840f4b1e5f288937cb04d2861671deb397aa90115ff818136997c00cae4e0e5f89dfae800698b00","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3MGM5OGFjZC1lNDA2LTQwMmYtOGY1Ni1mOTMxYWI1MjRiYWEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.kixJ-DIzG8N1WLs5QvaxivgiA0dHaZXqKubcxeXLm-8"}});
melidata("add", "user", {"uid":"70c98acd-e406-402f-8f56-f931ab524baa","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":"70c98acd-e406-402f-8f56-f931ab524baa-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b597f1f7-3962-4c7b-a59b-929bd6731559","x-d2id":"70c98acd-e406-402f-8f56-f931ab524baa"},"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");