I have the following standard code provided by Google DFP . Unfortunately, it appears as a parsing lock, cross-origin script, because it is implemented usingdocument.write
<script>
(function() {
var useSSL = 'https:' == document.location.protocol;
var src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
})();
</script>
I find this very strange because it is a standard DFP script from Google itself. Is there an updated version that I should use?
source
share