The error appears after modifing a page and load it for the first time.
If the analytics tracking code removed from the template (*.tpl), the error does not appear.

Solution:

wrap around your js code with {literal} {/literal}

Example:

Read more →