This project is read-only.

New Google Analytics script

Sep 8, 2010 at 12:18 PM

Hi,

Very nice project! I'll use it for sure on Thumba (http://www.thumba.net).

I have just one question, to use Google Analytics on my site, I had to put a snipped like this:

    <script type="text/javascript">
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'XX-XXXXXXXX-X']);
        _gaq.push(['_setDomainName', '.mysite.net']);
        _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>

This snipped is different from what your DLL expects. Do you know a workaround for this?

Thanks in advance!

Regards,

Pieter Voloshyn