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

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

  • November 23, 2022
  • 3 respostas
  • 933 Visualizações

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.

Este tópico foi fechado para respostas.
Melhor resposta por 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 Respostas

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 ChampionResposta
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.