";
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", "4b4699fc-84ca-455d-9619-b5fde1006d6f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4b4699fc-84ca-455d-9619-b5fde1006d6f");
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":"d39b778ff1a8fde746135fa9ea6e2c28:325ab06a7b84b6083187eeadf215f0ec9302c8d489508a2e84b378ede08136206d61868fc3d18b1b660e4f99385c1af5e1faa274a85ad5607d0c429d8bd84a1af3d8172e46e166fa6268c2b683f567dd9e9374a7ac2f0b64d7b1602c2fcad3eba8cc4398d52c73f58164971b8e3ac5b20d774384725384aba7383b3d707e010ba3953dea5671157e3a2f7c6ef88feb1eeaf2799a0182","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4ODA1Mzk1MS03NzhlLTQwYWItODQ5ZC00MTE3MTI2MDUwNWEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.e4FT7XoZSOk3I_yhtRdOa7S95-LElfV3y3AmnY2WgOw"}});
melidata("add", "user", {"uid":"88053951-778e-40ab-849d-41171260505a","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":"88053951-778e-40ab-849d-41171260505a-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"c8c24d55-454a-46e4-a6f0-13df68d84676","x-d2id":"88053951-778e-40ab-849d-41171260505a"},"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");