Google Translation on my website

Avatar

Avatar

acp1

Avatar

acp1

acp1

18-09-2020

Am I able to track on my website how many times out of session total a user clicked on the google translate option? if so, how?

View Entire Topic

Avatar

Avatar

yuhuisg

MVP

Avatar

yuhuisg

MVP

yuhuisg
MVP

19-09-2020

If you're referring to the Google Translate widget, then I don't think it provides a callback function to indicate that it has finished translating your web page. The next best thing could be to detect changes in the widget's dropdown selection, and assume that the user has translated the page if the selected item is not the same as what it was before.

Note: Google does not support the Translate widget any more. https://support.google.com/translate/thread/4007370?hl=en