Chrome / Google Analytics - ga.js: 1 Uncaught SyntaxError: Unexpected ILLEGAL token

I looked at many similar entries here, but did not find a solution to my problem. Most likely, this is something completely simple, but I just can not get it.

Problem I have sevaral domains and use one Google Analytics account to track them. They have cross-references (mainly between different languages). When I try to click a link to another of my domains, nothing happens (unless I view it in the Chrom console). Another browser works fine ...

Some code a) Sniper provided by GA

<script type="text/javascript">
 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-XXXXXXX-1']);
 _gaq.push(['_setDomainName', 'site1.de']);
 _gaq.push(['_setAllowHash', false]);
 _gaq.push(['_setAllowLinker', true]);
 _gaq.push(['_trackPageview']);
 (function() {
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();
</script>

b) Then in BODY I have the following link:

<A HREF="http://www.site2.com/" onclick="_gaq.push(['_link', 'http://www.site2.com/']); return false;">English</A>

, , IE, FF. Chrome . , :

ga.js: 1 Uncaught SyntaxError: ILLEGAL

" ".

, GA Debug, ga_debug.js, . html (UTF-8, ANSI...), .

?

+5
1

ctrl + shift + n, , URL- , , . , ​​ . URI , , :

data:text/html,Helvetica<br><font face="Helvetica" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font><br>
Helvetica Neue<br><font face="Helvetica Neue" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font>

Helvetica Neue , -.

+2

All Articles