Only load if not logged in
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Only load if not logged in’ is closed to new replies.