hi v@vcharlier @codepeople
The form is on the product pages and those are builts with the theme builder of Divi. That’s why the solution you gave me is not useful.
This is the solution I have implemented and it works right now.
<code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;"><script>jQuery(document).ready(function(){
<code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;">var myURL = window.location.href;
<code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;">if(myURL.includes("/en/")){
<code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;">jQuery(".my-module").hide(); }});
<span style="font-family: Courier, monospace; font-size: 14px; white-space: pre;"></script></span>
With a class my-module in the divi module with the shostcode of the form.
I hope this may helps you