var htmlData = document.getElementsByTagName('html')[0]; htmlData.setAttribute('data-guid', '5983834a-36db-6823-fe63-9156223a5ed8'); htmlData.setAttribute('data-country_ip', 'US');