AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Our banner ad tracking has been broken #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From last two months are there any releases which can break banner ad tracking 
using Google analytics.

We have our applications running on Sharepoint Platform.
    <!-- START: Google Analytics -->
        <script type="text/javascript">

            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', '<%=ConfigurationManager.AppSettings["GoogleAnalytics"]%>']);
            _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);
            })();

            function ExternalGoogleAnalyticsTracking(controlType, controlName) {

                try {
                    _gaq.push(['_trackEvent', controlType, 'click', controlName]);
                }
                catch (ex) { }

            }

        </script>
        <!-- END: Google Analytics -->

Then we have ExternalGoogleAnalyticsTracking method called on the Onclick event 
of the control.
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------

Issue summary:
Provide a brief summary of the issue you're experiencing.

Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.

Original issue reported on code.google.com by sahana.r...@gmail.com on 6 Mar 2012 at 7:22