[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-english] How and where to add "Google's Analytic code"?



Dmitry Dulepov wrote:
> Hi!
>
> Ronald Wiplinger (Lists) wrote:
>   
>> but it did not work. Maybe I did something wrong.
>> I opened Template - Template of the root page. Opened SETTUP and added
>> at the end:
>>
>> # Google Analytics:
>> page.10000=HTML
>> page.10000 {
>>     
>
> Use ( instead of {
>
>   
>> }
>>     
>
> And here use ) instead of }
>
>   
Still no success.

# Google Analytics:
page.10000=HTML
page.10000 (
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl."; : "http://www.";);
document.write(unescape("%3Cscript src='" + gaJsHost +
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
try (
var pageTracker = _gat._getTracker("UA-5313313-1");
pageTracker._trackPageview();
) catch(err) {}</script>
     
)


_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english