[How To] Add Facebook Messenger Chat to Your EZRentOut Webstore

Interact more effectively with customers and prospects by installing the FaceBook Chat plugin for your EZRentOut Webstore.

Businesses with a Facebook page can install this plugin on their website. It enables customers to interact directly with your business anytime with the same personalized, media-rich experience they get in Messenger. They can either log into Messenger or begin the chat as a guest user. 

The chat simply appears within the browser window, and the website visitor can chat with an operator by typing into the live chatbox. Answer questions about pricing, tackle customer service requests, and more.

The plugin also enables you to view chat history and follow-up on conversations.  

Here is a quick guide on how to set it up. 

Setting up the plugin in Facebook

Create a Facebook page and copy the page ID by going into your page and navigate to More About.

Go to Page Settings → Advanced Messaging → Whitelisted Domains and paste your Webstore URL (https://<subdomain>.ezrentalstore.com) in the Whitelisted Domains section.

Setting up the Plugin in EZRentOut

Now login into your EZRentOut account and copy and paste the following code snippet in Settings → Store Settings → JavaScript Code.

(function (d, s, id) {

  var js, fjs = d.getElementsByTagName(s)[0];

  if (d.getElementById(id)) return;

  js = d.createElement(s);

  js.id = id;

  js.src = ‘https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12&autoLogAppEvents=1’;

  fjs.parentNode.insertBefore(js, fjs);

}(document, ‘script’, ‘facebook-jssdk’));

Finally, copy and paste the following code snippet in Settings → Store Settings → Configurable Footer.

<div id=”fb-root”></div>

<div class=”fb-customerchat” page_id=”<page_id>” logged_in_greeting=”How can we help you shop today?” logged_out_greeting=”How can we help you shop today?”

    ref=”” theme_color=”#5c9165″>

</div>

Make sure to replace <page_id> with your Facebook Page ID. Also, you can customize the logged in greeting and logged out greeting text as well as the theme color of the chat box. 

Live Facebook chat on your Webstore

The Facebook chat box is live on your Webstore. Visit your store to see the chatbox.

Have any questions?

EZRentOut is the leading equipment rental software used by SMBs all over the globe. Sign up today for a free 15-day trial.

For more assistance, drop us an email at support@ezrentout.com. You can also share your ideas on our Community Forum or visit our blog for detailed support posts.

Don't forget to share this post!