";
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);
";
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", "cdafa5e3-ae3e-4972-952a-e279ed72ec00");
melidata("add", "path", "/home");
melidata("add", "server_id", "cdafa5e3-ae3e-4972-952a-e279ed72ec00");
melidata("add", "application", {"version":"2019.54.0","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.0"},"business":"mercadoshops","site_id":"MLB","secured":{"encrypted":"8a948a09d7807606c379e2f8fe1ef741:0f3cb95916be37ccd46b8d5ddb97e15bacc5ee2b76dd7c7784fba74e029abd79602a8bd199b6892d18bf00691ebc4f8b972db35ec885ddd4a44da07fb61124507acf046f991c52d1d36d75c018977a316e48e93fe257ca383083e5827f59ec4367433cc5a5989b64ad2b6248cd29386fc064fb0ecad52eab11610354c1a92b384ae34268d0bd7fa1ff8eb8a51821ed","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhYjU5NDUyNy1iYzIwLTQyMWUtOGEzZS01ZWQwMjU0NDZhN2IiLCJzaXRlX2lkIjoiTUxCIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Ky_I4j-wcWT2NyJdTGL7tHUQfopDNlK4O1agxV3U02c"}});
melidata("add", "user", {"uid":"ab594527-bc20-421e-8a3e-5ed025446a7b","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":{},"headers":{"host":"www.emporioviva.com.br","x-device-js":"true","x-request-id":"ab594527-bc20-421e-8a3e-5ed025446a7b","x-d2id":"ab594527-bc20-421e-8a3e-5ed025446a7b"},"http_url":"https://www.emporioviva.com.br/p/programa-compra-garantida","http_referer":"http://www.emporioviva.com.br/p/programa-compra-garantida"}});
melidata("add", "event_data", {"seller_id":532811066,"has_tabbed_carrousel":false,"has_collection_grid":false});
melidata("send", "view", {
path: "/home",
data: {}
}, "melidata");