";
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", "d44916f0-d519-476d-a277-d3774747c003");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d44916f0-d519-476d-a277-d3774747c003");
melidata("add", "application", {"version":"3.51.1","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MLC","secured":{"encrypted":"989b37887d3b3c8b5d60f5e55cc9a280:badc0e77d7cdf1073e090dc8a0c4e754998ffcbec2d24dbc7ab8002cadb6781bf438c6700cccd18fe5d291f8c7c6c296d60641ee5a3da7c7ce29e10fc67682ae6c548056b59b161777ccb27a65a841d2d5cfa330ca0c359d90ce41554b6b372a748f6afbedf18bf424a9c4d56d3bdd65b95f06a635c13305611d44f448143d59afee70bbe2db42ef15142882431fa4cf124fe3b7f2","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5ZDRjZTI5Ni03ZDllLTRmZDItYWVkNC1iZWMwZTc2NmRiZTEiLCJzaXRlX2lkIjoiTUxDIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.4nfyVSkp1sgq9oxmdHf8A8Wk3Kyj7Nup-ChoRJ3jMO8"}});
melidata("add", "user", {"uid":"9d4ce296-7d9e-4fd2-aed4-bec0e766dbe1","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":"9d4ce296-7d9e-4fd2-aed4-bec0e766dbe1-n"},"headers":{"host":"www.trekashop.cl","x-device-js":"true","x-request-id":"631236e9-066e-4620-8244-2d2b8c035c94","x-d2id":"9d4ce296-7d9e-4fd2-aed4-bec0e766dbe1"},"http_url":"https://www.trekashop.cl/navigation/addresses-hub","http_referer":"https://www.trekashop.cl/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");