Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My web site is posted in English. I do not have the Google Translate plugin installed, nor do I have any plans to install it. However, I'm inferring from some of my analytics data that people visiting my web site are using Google Translate to translate my pages. I presume they're visiting my site and seeing Google's "This page is in English. Would you like to translate it to [their language]?" and clicking "Translate".

Is there any hook in Google's automatic translation, e.g. some event fired, that I can use to detect these automatic translations and fire a Google Analytics event tracking the translation and hopefully capturing the language they're translating to? Note: I've seen this post, but the answer refers to the plugin, which I'm not using. I want to track when Google volunteers to translate automatically.

share|improve this question

I'm not finished with this yet as I'm sure we'll be able to get this set up as event tracking eventually but here is one way that may help/give you what you want for now...

In Google Analytics:-

Audience > Geo > Language

  • Primary Dimension: Language
  • Secondary Dimension: Hostname

Select advanced filter and set this to include hostname translate.googleusercontent.com like the below screenshot demonstrates:-

Filtering Google Translate languages in Google Analytics

This will then show you all instances where Google Translate has been used to translate content on your website along with their detected language.

share|improve this answer
This is super helpful. Thanks! I still wish Google translate would trigger a Javascript event so I could catch it and trigger my own custom Analytics event. But this at least gives me some data to start with. Thanks again! – JB Christy Jan 28 '14 at 23:34

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.