Back

How to install chat code for a site in the head section of WordPress

Installing chat on your WordPress website can greatly improve communication with visitors and provide quick feedback. In this article, we'll walk through the steps to install chat code in the section of your WordPress site.

Step 1: Get a chat code

The first step is to get the site chat code from Gerabot. This code will be included in the section of your Wordpress site. In order to get a chat code for the site, you need to go through a quick registration on the Gerabot site by clicking the "Try Free" button on the page - https://gerabot.com/chatforsite,  or via the link below. To register, you need to enter an email, which will receive a link to the created account. After clicking on the link, you can immediately copy the code to install the chat on your site.

Get a chat code for the site in 2 minutes.

Sign up now at Gerabot service and get your own chat for the site.

Step 2: Log in to your WordPress dashboard

Log in to your WordPress website control panel using your admin credentials.

Step 3: Open the header.php

file

In the WordPress dashboard, select "Appearance" from the left menu, then click on "Theme Editor". In the list of template files, find and select the file named "header.php".

Step 4: Paste the chat code in the

section

Open the "header.php" file in the theme editor. Find a line that starts with and ends with . This section is responsible for the meta tags, styles and JavaScript used on your website.

Paste the chat code you received directly after the closing tag. For example, the code might look like this:

Make sure you paste the chat code exactly in the section and don't confuse it with other parts of the "header.php" file.

Step 5: Save changes and test chat functionality

After inserting the chat code, save the changes in the "header.php" file. Then go to your website and make sure that the chat is displayed and functioning correctly.

Conclusion:

Installing the chat code for your WordPress site in the section allows you to give your visitors an instant opportunity to chat and provide feedback. Follow the steps in this article and you will be able to successfully install the chat code on your WordPress site. 

Don't forget to also test the chat functionality by opening your website and making sure that the chat is displayed and functioning correctly on your WordPress site.

By following these steps, you will be able to successfully install the chat code for your WordPress site in the section. This will give you the opportunity to stay in constant contact with your visitors and improve their experience on your website.

Do you want to know about all Gerabot updates?
Subscribe to our Telegram channel - https://t.me/gerabotua- https://t.me/gerabotua
Keep browsing gerabot.com, You acknowledge that you have read Terms of Use website and agree to use cookies
Get information
about special offers