Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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>
share|improve this question
    
Are you sure visitors have been using the widget? –  dan Sep 1 '13 at 23:23
    
I'm having the same issue. The Translate events are not being captured in my analytics function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en', includedLanguages: 'en,es,de,it,fr,nl,zh,de,he,ko,fi,ja,da,ru', gaTrack: true, gaId: 'UA-00000000-1', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); }` <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit‌​"></script>` I really have no idea, but I speculate this may have something to do with the difference between GA & Universal?? –  user36808 Mar 9 at 18:13
    
I think I am facing a similar issue. Since we have upgraded to UA, the Translate events have reduced significantly. Anyone have any luck with this ? –  Ravi Gidwani Mar 19 at 7:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.