Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hi,

    Thanks a lot, I’m fine. I think we can close this topic.

    Thanks again and all the best,
    Christian

    Dear Mike,

    Thanks a lot for the information. That’s very helpful. I placed the code in the functions.php file and now everything works properly. Clearly, if the Google Analytics area would work out, this would be preferable, because changes in the functions.php file have to be restored manually after an update whereas changes in the Google Analytics area are kept also across updates. But that everything works now again is already really very helpful. Thanks again — very much appreciated.

    All the best and take care,
    Christian

    This reply has been marked as private.

    Dear Mike,

    Thanks a lot for your feedback and the information. Indeed, the language switcher is an extra-script that sets a cookie-value depending on which language-icon of the website was pressed. And then, the script in enfold’s “Google Analytics Tracking Code” area checks out whether “de” or “en” is set as cookie value and hides the respective content in the alternative language.

    I’ve tried out your script and it still does not work. I think the problem is that the ready-function is not triggered.

    To check, I tried out, e.g.:

    <script>
    jQuery(document).ready(function(){
    alert("Ready!");
    });
    </script>

    which did not work; as an alternative, I tried out:

    <script>
    window.addEventListener('load', function () {
    alert("Ready!");
    });
    </script>

    which also did not work. Is there any possibility to trigger the ready-function (or the eventListener “load”)?

    Thanks again and all the best,
    Christian

Viewing 4 posts - 1 through 4 (of 4 total)