Home > Pop up the Pre-Chat form after X seconds
Categories: Tips & Tricks | Technical Options
(Last Updated On: August 6, 2021)
About This Article
The purpose of this article is to provide a comprehensive overview of how t0 pop up the Pre-Chat form after X seconds.
Here is a video overview of what will happen on your website. (The video will open in a new tab).
The actual code snippet is below, with comments throughout explaining exactly what each line is doing.
Follow these three steps:
- Configure the webpage that you would like to pop-up the Pre-Chat Form (see “STEP ONE” below)
- Configure the number of seconds to wait before you’d to pop-up the Pre-Chat Form (see “STEP TWO” below)
- Visit your Admin Dashboard > Settings > Style/Design Studio tab, and make sure that you’ve enabled the Pre-Chat form. Here is a screenshot of the setting:
The code snippet:
Where to place the code
The default Code Snippet looks like this…
Not to be confused with “Proactive Chat”
The above code snippet will trigger the Pre-Chat form, which leads into a normal chat.
The above code snippet is entirely separate from the Proactive Chat feature.
Some users have asked if there is a way to combine the Proactive Chat with the Pre-Chat Form. Basically, they would like to show the Pre-Chat Form during a Proactive Chat. Most users desire this because they sometimes are not able to capture the visitor’s email address during a Proactive Chat. Here is a doc with a few clever workarounds to getting the visitor’s email address during a Proactive Chat.
We do not have plans to combine the Pre-Chat Form with Proactive Chat, because it goes against the nature of the Proactive Chat purpose. The purpose of a Proactive Chat is to invite visitors into a conversation with an agent. If we inserted a form prior to that invite, it’s no longer a chat invitation, it’s a form.
Published April 1, 2016