var htmlData = document.getElementsByTagName('html')[0]; htmlData.setAttribute('data-guid', '62119a2b-35b8-9fe9-504e-40c5b2c1ab61'); htmlData.setAttribute('data-country_ip', 'US');