Skip to main content
kamlesh-maddheshiya
Community Advisor
Community Advisor
11월 23, 2022 1:38 오전 UTC
해결됨

Launch: rule is not fired if we change the website language

Dear All,

We found the required selector(HTML element) and rule if fired in English version but when we change to German language then rule is not fired and selector is same.

We are unable to understand why its happened. Could you please help to guide. Thank you.

Note: Links is coming from salesforce.

이 주제는 답변이 닫혔습니다.
leocwlau
leocwlau답변
Community Advisor
11월 23, 2022 9:53 오전 UTC

You can also try to run _satellite.setDebug(true) in the developer console and observe any error the non-matching conditions stopped rules triggering.

3 답변

yuhuisg
Community Advisor
Community Advisor
11월 23, 2022 1:51 오전 UTC

Without knowing how your website or the Salesforce links are coded, it's hard to say what's going wrong.

My first guess would be that the selector that you're using depends on English words. So when you change to the German site, those words are now in German, and so you're selector doesn't work any more.

번역
User Group Leader
11월 23, 2022 6:15 오전 UTC

Hi Kamlesh,

 

Please check if the launch library is called for both languages.

and also check if the selector is same using chrome inspect (https://amasty.com/knowledge-base/product-labels-find-css-selector.html)

번역
leocwlau
Community Advisor
leocwlauCommunity Advisor답변
Community Advisor
11월 23, 2022 9:53 오전 UTC

You can also try to run _satellite.setDebug(true) in the developer console and observe any error the non-matching conditions stopped rules triggering.

번역