[TYPO3-german] Google Analytics

Michael Kasten home at m-kasten.de
Wed Aug 29 14:35:00 CEST 2012


Hallo Thomas,

sicher das deine Klammern richtig sind? Imho werden Values in einfache Klammern gesetzt, dann 
solltest du mal versuchen ein HTML Objekt zu nutzen, ich bin mir nicht sicher ob die ganzen JS 
Klammern und Zeichen sonst sauber durchkommen.

bye


 > page.headerData.9999 = TEXT
 > page.headerData.9999.value {
 > }

 > page.headerData.9999 = HTML
 > page.headerData.9999.value (
 > )

am 29.08.2012 13:28 Thomas P. schrieb:
> Hi,
>
> meine zwei Tipps:
>
> Entweder folgendes fehlt:
> page = PAGE
> page.typeNum = 0
>
> oder
>
> ev. stimmt die Reihenfolge wie die Templates verarbeitet werden nicht.
>
>
> Am 29.08.2012 13:16, schrieb Michael Warzitz:
>> Hallo Zusammen,
>>
>> habe ein Problem mit Google Analytics.
>>
>> Ich habe das Script ganz normal nach Anleitung in mein Template eingebaut:
>>
>> page.headerData.9999 = TEXT
>> page.headerData.9999.value {
>> <script type="text/javascript">
>>
>>   var _gaq = _gaq || [];
>>   _gaq.push(['_setAccount', 'UA-34413580-1']);
>>   _gaq.push(['_gat._anonymizeIp']);
>>   _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>
>> }
>>
>> Leider bekomme ich immer diese Fehlermeldung:
>>
>> Service Unvailable (503)
>>
>> The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE
>> with typeNum=0 configured.
>>
>> Kann mir jemand einen Tip geben, was ichhier falsch mache. Ich benutze auch noch RealUrl und UrlTool!
>>
>> Bin für jeden Tipp dankbar!
>>
>> LG Mciha
>>
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

-- 
Michael Kasten | http://m-kasten.de
Im wirklichen Leben gibt es kein [Strg]+[Z]


More information about the TYPO3-german mailing list