I have setup a new google analytics accounts for a language translation site located on a subdomain.
How come I am getting this error on only one of the sites:
Error: missing ; before statement
Source File: http://fr.example.local/
Line: 346, Column: 87
Source Code:
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') '.google-analytics.com/ga.js';
The strange this is that if you compare both the sites below you shall see that 99% of the HTML/JS is exactly the same (use same template files just a separate database).
You are missing a
+: