Provide 24/7 affordable customer service with AI-powered chat.
Connect to learn more

Showing the Chatbox on a Single Page

The Olark chatbox widget will display on all pages of your website by default after you install the code snippet. If you would like to show the chatbox on one page of your website (or specific pages), please follow the steps listed below.  

Using the API

Hide the chatbox on every page except for the one(s) where you want the chatbox to display. You can add the following JavaScript API after the Olark install code on these pages.

<script type='text/javascript'>olark('');olark('api.visitor.getDetails', function(details){    if (details.isConversing) {olark('');    }});</script>

Using an Automation Rule

You can also use our Automation Rules to do the same without altering the code on your website. We recommend following steps listed described on this Help Center article. The Automation Rule method is a great option if you are not a website developer or have coding experience.

We’ll do our best to help with any questions you have. However, keep in mind that the API is intended to be self-serve for web developers, so we’re not able to write or debug your code. If you’re experiencing issues, please be sure to have your developer, designer, or webmaster review code you’ve written.

Please provide the domain name where your Olark live chat is installed.
Include the relevant transcript URL, if possible. You can send us the specific URL from your Transcripts page.
If you see specific error messages, banners, warnings, notices, etc., please let us know here.
Max file size 10MB.
Upload failed. Max size for files is 10 MB.
Thank you! Your submission has been received and you'll hear from us shortly!
Oops! Something went wrong while submitting the form.