var htmlData = document.getElementsByTagName('html')[0]; htmlData.setAttribute('data-guid', '3e94096e-1462-e650-fba5-cd5c1c01e337'); htmlData.setAttribute('data-country_ip', 'US');