FastComments.com

Add Live Chat to ClickFunnels Courses

In this tutorial we'll cover setting up FastComments Streaming Chat with a ClickFunnels course. We'll also add a code snippet at the end for Live Commenting if you want to use that instead.

Note that this tutorial is for a Course module but the steps are similar for adding commenting to blog posts and pages (simply edit the corresponding template).

We will also briefly cover setting up automated comments to help encourage people to engage.

Note that this tutorial requires a FastComments account. It's recommended that you sign up first and then come back here. You can create an account here.

Step One: Find The Template Internal Link

First, we need to open the ClickFunnels template editor. For courses, this is accessed by opening the course and clicking Customize in the top right:

Customize
Customize

Go to Templates:

Open Templates
Open Templates

Courses consist of different templates. We want to display comments on lessons, so select Default Lesson Page (for example):

Select Template
Select Template

That's it! Now you're ready for step two.

Step Two: Add The Code Internal Link

Now that we're in the template editor, we must decide where we want to display the comments, or live chat.

In this example we will add it directly below the video. Hover the element to add the widget to the end of, and click ADD ELEMENT:

Add Element
Add Element

Select CUSTOM JS/HTML:

Select CUSTOM JS/HTML
Select CUSTOM JS/HTML

Now let's open the code editor where we'll paste our code.

ClickFunnels is a bit confusing on this next step.

It's important that you DO NOT select Code when you hover over the new element. Instead, select SETTINGS:

Select SETTINGS
Select SETTINGS

Now on the right hand side we can click Open Code Editor:

Click Open Code Editor
Click Open Code Editor

You'll see a big square open up. This is where we can paste our code. Copy the following snippet (use the copy button in the top right):

ClickFunnels Streaming Chat Code Snippet
Copy Copy
1
2<script src="https://cdn.fastcomments.com/js/embed-live-chat.min.js"></script>
3<div id="fastcomments-live-chat-widget" style="width: 500px;min-height: 780px;"></div>
4<style>
5 #fastcomments-live-chat-widget iframe {
6 min-height: 780px;
7 }
8</style>
9<script>
10 (function fcLoad() {
11 function tryLoad() {
12 // some providers change the code snippet to be async
13 const container = document.getElementById('fastcomments-live-chat-widget');
14 if (!container) {
15 return waitRetry();
16 }
17 if (!window.FastCommentsLiveChat) {
18 return waitRetry();
19 }
20 window.FastCommentsLiveChat(container, {
21 tenantId: 'demo'
22 });
23 }
24 function waitRetry() {
25 setTimeout(tryLoad, 500);
26 }
27 tryLoad();
28 })();
29</script>
30

This code snippet is for our Streaming Chat product, which goes well with videos. If you want the Live Commenting widget code snippet instead, which goes best with regular pages or blog posts, it's at the end of this tutorial.

When we paste the code snippet into the window, it should look like this:

Paste Code
Paste Code

Now we just have to close the box:

Close
Close

Now you can preview your changes! Feel free to move the widget around and see where you like it best.

Preview
Preview

Success! Don't forget to test mobile!

Success!
Success!

Customization Internal Link

FastComments is designed to be customized to match your site.

If you'd like to add custom styling, or tweak configuration, Checkout our Customization Documentation to learn how.

Extra: Code Snippet for Live Commenting Internal Link

If you're looking for the ClickFunnels Live Commenting code snippet, try this:

ClickFunnels Live Commenting Snippet
Copy Copy
1
2<script src="https://cdn.fastcomments.com/js/embed-v2.min.js"></script>
3<div id="fastcomments-widget" style="min-width: 500px;min-height: 780px;"></div>
4<style>
5 #fastcomments-widget iframe {
6 min-height: 780px;
7 }
8</style>
9<script>
10 (function fcLoad() {
11 function tryLoad() {
12 // some providers change the code snippet to be async
13 const container = document.getElementById('fastcomments-widget');
14 if (!container) {
15 return waitRetry();
16 }
17 if (!window.FastCommentsUI) {
18 return waitRetry();
19 }
20 window.FastCommentsUI(container, {
21 tenantId: 'demo'
22 });
23 }
24 function waitRetry() {
25 setTimeout(tryLoad, 500);
26 }
27 tryLoad();
28 })();
29</script>
30

Extra: Auto Play Comments Internal Link

FastComments supports something called Auto Play. This allows you to import a CSV of comments and schedule them to play at certain offsets based on hour, minute, and seconds from page load time.

It also automatically adds any comments posted back into the autoplay script, at the correct time, so that your video script grows with each webinar without any manual work.

This is currently included in all FastComments plans.

Learn more about Scheduled Comments here

Note!

Remember that the URL ID column in the CSV file must match the URL of the course/video.