I recently added Google Translation to my website http://mrpitbull.com/ and 
it works great.  However, I noticed a jump in bounce rate.  Upon 
examination I note that I need to add my Analytic ID to the "Google 
Translate Code".  However, when I do so, the app quits working.  It will 
translate the index page, but fails to translate any other page.  As I look 
at the code that I am currently employing, and that is working, it is very 
different from the new code generated on Google's code generating page: 
http://translate.google.com/translate_tools?hl=en. The new code translates 
the home page but fails to translate the rest of the site as my current 
code is doing.  I was wondering if anyone has any thoughts as to where my 
problem lies?

Here is the code that works, but lacks my Analytic ID:
<script src="
http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=160&h=60&title=&border=&output=js
"></script>

Here is the Code generated with ID:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
 new google.translate.TranslateElement({
   pageLanguage: 'en',
   gaTrack: true,
   gaId: 'UA-6908839-1',
   layout: google.translate.TranslateElement.InlineLayout.SIMPLE
 }, 'google_translate_element');
}
</script><script src="//
translate.google.com/translate_a/element.js?cb=googleTranslateElementInit
"></script>

Thanks for your help. 

-- 
You received this message because you are subscribed to the Google Groups 
"General" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-translate-general/-/S8u0wxIqtLgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-translate-general?hl=en.

Reply via email to