[TYPO3] rsgooglenanalytics: ga.js can't not be accessed
Trine Buhl
trine.buhl at mail.dk
Mon Jul 21 16:25:06 CEST 2008
Trine Buhl skrev:
> Hi,
>
> I am trying to implement rsgoogleanalytics.
>
> The script is placed OK at the bottom of the page:
>
> <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">
> var pageTracker = _gat._getTracker("UA-xxxxxxx-1");
> pageTracker._initData();
> pageTracker._trackPageview('/Fodbold');
> </script>
> </body>
> </html>
>
> (I have removed the tracking code in the example)
>
> But it dosn't work.... :-(
>
> The ga.js file is not downloaded, and the account variable can also not
> be found. (according to:
> http://checkwebsite.erigami.com/googleanalytics.html)
>
> Any idea what my problem is?
>
> Regards,
>
> Trine
Additional info - the site is running on:
TYPO3_VERSION: 4.2.0
PHP_VERSION : 5.2.6
TS look like this:
plugin.tx_rsgoogleanalytics {
active = 1
account = UA-xxxxxxx-1
registerTitle= rootline
trackDownloads = 1
trackDownloads.folderList = fileadmin/,uploads/
trackDownloads.fileTypes = pdf,doc,png,jpg,gif
}
/Trine
More information about the TYPO3-english
mailing list