Not sure what specifically causes this yet, but in one of the websites we run this plugin on, script is placed before the doctype. It appears the script inside the GFGAET::is_ga_only() check is echoed at run-time, and not put inside an object or variable. This causes the markup of the page to render like this:
<script>
...
</script>
<!doctype html>
Moreover, this way the script doesn’t actually work.
Not sure what specifically causes this yet, but in one of the websites we run this plugin on, script is placed before the
doctype
. It appears thescript
inside theGFGAET::is_ga_only()
check is echoed at run-time, and not put inside an object or variable. This causes the markup of the page to render like this:Moreover, this way the script doesn’t actually work.