Hi there,
we were wondering why our google analytics code was not working. Then we noticed that the option strips out the <script>. Looking at the code we found that in the page the code was not surrounded by <script> when rendered in the page.
So we changed this:
diff ./framework/extensions/framework-extender.php,orig ./framework/extensions/framework-extender.php
386c386
< echo ‘< div class=”hidden”>’ . $analytics_code . ‘< /div>’;
—
> echo ‘<script>’ . $analytics_code . ‘</script>’;
(I hope this is readable to you, I had to change it a bit because of the editor of this site. Basically this should be a diff where we replaced the div tags with script tags surrounding the
$analytics_code)
Hope that is correct?
Cheers
Tobias