";
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.11/melidata.min.js');
melidata("add", "id", "63154767-c7f6-4c54-bd77-538345e7a892");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "63154767-c7f6-4c54-bd77-538345e7a892");
melidata("add", "application", {"version":"3.51.1","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MCO","secured":{"encrypted":"f72ea532f1cfbc523001417d3c33b028:d2b804a2963d0c403f5d59db9d1e5a42c90eac54bcad4c045ccf7ab4e0c14027669c492892411b192b2bd1abfac4983ae9a243ab87bf24d1263c42068f2432dbcbaa604902f54e323f26955c25c96027e1aa321e0b1a3b14365152368602e20e7487c205e065eb17625f10b78f8f1be86176ded94895c8439e75daede1a8d817b48791419d27233c57d5d16b599279a2aac2eeb79cb1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxZDhiZjgwZi0zNWY2LTQ3OTQtODFiNy0xNjJkMzk1ZGQzODEiLCJzaXRlX2lkIjoiTUNPIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WNl-6BwLrypXRYNsA7g39f8TMwd0DB6sz7DHSE30n1I"}});
melidata("add", "user", {"uid":"1d8bf80f-35f6-4794-81b7-162d395dd381","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":"1d8bf80f-35f6-4794-81b7-162d395dd381-n"},"headers":{"host":"www.principaldeferreterias.com.co","x-device-js":"true","x-request-id":"efd71dc8-b924-4b18-aeab-649d59352bad","x-d2id":"1d8bf80f-35f6-4794-81b7-162d395dd381"},"http_url":"https://www.principaldeferreterias.com.co/navigation/addresses-hub","http_referer":"https://www.principaldeferreterias.com.co/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");