Why is my google translate data not showing up in analytics?

Posted by learnvst on Pro Webmasters See other posts from Pro Webmasters or by learnvst
Published on 2013-09-01T21:42:19Z Indexed on 2014/06/11 3:48 UTC
Read the original article Hit count: 315

I have a google translate widget on my website with gaTrack set to true and the correct gaId, but no translate events show up in analytics under content > Events > Overview after a week of the widget being live. The code snippet below was auto generated by the translate website, and works fine on the site. Any ideas why I'm not getting any translate events data?

<li>
  <div id="google_translate_element"></div><script type="text/javascript">
            function googleTranslateElementInit() {
              new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-blahblah'}, 'google_translate_element');
    }
            </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</li>

© Pro Webmasters or respective owner

Related posts about google-analytics

Related posts about google-translate