var htmlData = document.getElementsByTagName('html')[0]; htmlData.setAttribute('data-guid', 'a9a0dc08-c3e8-3b7f-61a7-2abd6f44c204'); htmlData.setAttribute('data-country_ip', 'US');