var htmlData = document.getElementsByTagName('html')[0]; htmlData.setAttribute('data-guid', '455a0a65-506c-6e05-2205-22588540a712'); htmlData.setAttribute('data-country_ip', 'US');