If you only want to show the Olark chat box to visitors who are logged in, you can use this guide to get set up:

  1. First, you’ll need your own server-side script to detect when a visitor is logged in. Create a conditional statement for logged in visitors, which you can then insert the below code into.
  2. Go to your Advanced Settings and enable the Invisible Olark option, and save your changes.
  3. Use the Javascript API to show the chat box, if a visitor is logged in. For example:

    // You need your own method of detecting
    // whether a visitor is logged in
    if ($logged_in) {