• Resolved eastcapetours

    (@eastcapetours)


    Would it be possible for you to add an option to only load the LiveChat scripts if the visitor is not logged into WordPress. This will help on sites with high development traffic.

    Basically adding the options on the settings screen and changing the code in TrackingCodeHelper.class.php as follows:

    if (LiveChat::get_instance()->is_installed())

    to

    if (LiveChat::get_instance()->is_installed() && !is_user_logged_in())

    I didn’t check if any other change is needed, but that seems to work at the very least.

Viewing 1 replies (of 1 total)
  • Plugin Author LiveChat

    (@livechat)

    Hello Eastcapetours,

    Thank you very much for reaching us with this case!

    I have tested the suggested change, and I can confirm that the plugin works just fine with it, without any of its functionality compromised.

    Eastcapetours, for now, I have added your suggestion as a Feature Request – we do not plan on adding it permanently to code, but we can think about adding such functionality to the plugin’s configuration panel. If that feature would become available, we will surely let you know!

    Feel free to reach out to us in case of any additional questions – we will be more than happy to help!

Viewing 1 replies (of 1 total)
  • The topic ‘Only load if not logged in’ is closed to new replies.