How to deal with Google Tag Manage error? -


i implemented code below after opening <body> tag. receive error message server error 500 or blank page.

why receive result?

here code:

<!-- google tag manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=gtm-xxx" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new date().gettime(),event:'gtm.js'});var f=d.getelementsbytagname(s)[0], j=d.createelement(s),dl=l!='datalayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentnode.insertbefore(j,f); })(window,document,'script','datalayer','gtm-xxx');</script> <!-- end google tag manager --> 


Comments