Help Center
Docs

WordPress

Put Laureo forms, live chat, the help widget and survey cards on a WordPress site, and link visitors to your booking pages.

Overview

A WordPress site uses the same codes and links as any other website.

You do not need a plugin from Laureo. Each part of Laureo that lives on a website gives you a short code to paste or a link to share, and WordPress accepts both. Here is what you can put on a WordPress site today:

  • Forms: an inline form, a popup or a slide-in. Every plan includes forms; the number of forms depends on your plan.
  • Live chat: a chat bubble whose conversations become tickets in your Inbox. Business and Ultra.
  • Help widget: a bubble that searches your published help articles. Business and Ultra.
  • Survey card: a survey that sits in the page where you paste it. Business and Ultra.
  • Booking pages: a link from a button or a menu item to the page where visitors book time with you. Every plan includes booking pages; the number depends on your plan.

Adding a code to WordPress

Paste it into a Custom HTML block, or into your theme for every page.

1

Open the page or post

In your WordPress dashboard, open the page, post or template where the code goes.
2

Add a Custom HTML block

Click the Block Inserter (+), search for HTML, and select Custom HTML.
3

Paste the code and save

Paste the code from Laureo into the block, preview the page, then update or publish it.

The chat bubble and the help widget belong on every page. Add their one-line script to your theme's footer, just before the closing </body> tag, or use a plugin that adds a code to every page of your site.

WordPress.com sites
On WordPress.com, the Custom HTML block keeps <script> and <iframe> tags only on a paid plan with hosting features turned on. If WordPress removes your code when you save, your site plan or your account role does not allow these tags.

Forms

An inline form, a popup or a slide-in, from the form's Share page.

1

Publish the form

Open Marketing > Forms, build the form and publish it. Only a published form accepts submissions.

2

Open Share

Open the form and click Share. The page shows the form link and, under Embed, a tab for each way the form can appear.
3

Copy the code for your page

Choose Inline, Popup or Slide-in and copy the one line of code. An inline form takes its own height. A popup or a slide-in adds a button that opens it.
4

Paste it into WordPress

Put the code in a Custom HTML block where the form goes. For a popup or a slide-in, put it on the pages where the form may show.

The code needs no API key. You can also link to the form from a button: Full page is the form's own link. See Forms for the form builder, the form link and the embed options.

Live chat

A chat bubble on every page, answered from your Inbox.

Live chat rides on your published Help Center and is on the Business and Ultra plans. Turn the Help Center on, choose its public address and save in Service → Configuration → Help Center, then open Embed on your site and copy the Live chat snippet. It already carries your Help Center address, so you paste it as it is. Add it to your theme footer. The copied snippet looks like this, with your own address in place of your-business:

<script src="https://app.laureo.io/embed/chat.js" data-org-slug="your-business" async></script>

The bubble shows in the bottom corner of each page. A visitor's message becomes a ticket in your Inbox. See Live Chat for the optional settings and for blocking a visitor.

Help widget

A search bubble for your published help articles.

In Service → Configuration → Help Center, open Embed on your site and copy the one-line script. It appears after the Help Center is on and saved. Add it to your theme footer like the chat script. See Your Public Help Center.

Survey card

A survey that sits inside the page, where you paste it.

In the survey list, click Distribute, turn on open distribution, and copy the script from Embed on your site. Paste it in a Custom HTML block where the card goes. Responses land in the survey's Responses tab. See Embedding a Survey on Your Site.

One list of allowed websites
The Allowed websites list in Service → Configuration → Help Center sets which sites may load the chat bubble, the help widget and the survey card. When the list is empty, any site can load them. If you keep a list, add the address of your WordPress site.

Booking pages

Link to a booking page from a button or a menu item.

A booking page opens at its own address and does not load inside a frame on another site. In Scheduler, open the booking page and copy its link. In WordPress, add the link to a Buttons block, a text link or a menu item. See Booking Pages for availability, locations and confirmations.

Troubleshooting

Common causes when a code does not show.

  • The code is gone after you save. Your WordPress plan or account role does not allow <script> or <iframe> tags. See the WordPress.com note above.
  • The chat bubble, help widget or survey card does not show. Check that your site is on the Allowed websites list (or that the list is empty) and that your plan includes the feature. The chat bubble and the help widget also need the Help Center on; the survey card needs open distribution on.
  • A visitor sees an old copy of the page. A page caching plugin can serve a copy saved before you added the code. Clear its cache.
  • The inline form is cut off. Increase the height value in the iFrame code.