I am using nuxt-js and I have the following script tag
<script type="text/javascript">
atOptions = {
'key' : 'id',
'format' : 'iframe',
'height' : 60,
'width' : 468,
'params' : {}
};
document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.highperformancedisplayformat.com/id/invoke.js"></scr' + 'ipt>');
</script>
When I was using a simple script tag like this on nuxt.config.js it was working
script:[
{ src:'//data.profitablegatetocontent.com/c6/4b/7a/id.js'
}]
But since the script tag I have to use is a bit complicated I got confused and any help would be appreciated.