🌍
English
how can i activate or load Google Analytics code into my pwg. i tried it with Statistics plugin, but i couldn't get any data.
You can use the old script
<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-0000000-0"); pageTracker._trackPageview(); } catch(err) {}</script>
(replace UA-0000000-0 with your own Google Analytics identifier)
[Bugtracker] ticket 1758
:-))
Offline
it worked. thanks a lot :))
rio wrote:
You can use the old script
Code:
<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-0000000-0"); pageTracker._trackPageview(); } catch(err) {}</script>(replace UA-0000000-0 with your own Google Analytics identifier)
[Bugtracker] ticket 1758
:-))
Which file does this go in and where should I place it
Thanks
Offline