Launch: rule is not fired if we change the website language | Community
Skip to main content
kamlesh-maddheshiya
Community Advisor
Community Advisor
November 23, 2022
Solved

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

  • November 23, 2022
  • 3 replies
  • 933 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by leocwlau

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 replies

yuhuisg
Community Advisor
Community Advisor
November 23, 2022

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.

Level 4
November 23, 2022

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 and Adobe Champion
leocwlauCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
November 23, 2022

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