내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Google Translate / Chrome browser auto translate

Avatar

Level 1
Level 1

Hi everyone! 

I have the same question as this 2019 query. Looking to see if it is possible to quantify the instances of page being viewed in another language when the visitor is using the translate feature on Chrome. 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/google-translation-on-my-...

 

It looks like back then it was not possible unless you create a way to detect and capture this. Is it still the case? Or is anyone aware of a new development in this front in the past 3 years, that allow us to easily quantify page views with Google Translate? 

 

Thank you for your comments! 

 

YT

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor and Adobe Champion

If there is a standard text value on your site that exists on all pages (possibly something on your header or footer) where the text is unlikely to change..

 

You might be able to do a simple check if using JS..

 

First extract the element from the DOM with:

 

var ele = window.document.getElementById('idName');
// or
var ele = window.document.querySelector('#div .class .class');

 

 

Then do a simple check:

 

var translate = false;
if (ele.innerText !== "known value"){
    translate = true;
}

 

 

Not terribly elegant, but basically, if the value of the element doesn't match the expected value (for the standard language), then it's being translated.

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Community Advisor and Adobe Champion

If there is a standard text value on your site that exists on all pages (possibly something on your header or footer) where the text is unlikely to change..

 

You might be able to do a simple check if using JS..

 

First extract the element from the DOM with:

 

var ele = window.document.getElementById('idName');
// or
var ele = window.document.querySelector('#div .class .class');

 

 

Then do a simple check:

 

var translate = false;
if (ele.innerText !== "known value"){
    translate = true;
}

 

 

Not terribly elegant, but basically, if the value of the element doesn't match the expected value (for the standard language), then it's being translated.

Avatar

Level 7

True

Avatar

Level 1
Level 1

Thank you @Jennifer_Dungan for your explanation. It makes sense

Avatar

Community Advisor and Adobe Champion

You're welcome