FastComments.com

Add Comments to Kajabi Courses and Pages

FastComments can be added to Kajabi course lessons and to Kajabi website pages with the FastComments VanillaJS code snippet.

This tutorial requires a FastComments account. Sign in before following the steps so that the code snippets on this page contain your account's tenant ID. You can create an account here.

Kajabi documents custom code as available on all Kajabi plans. The Kajabi code editor, which requires the Pro plan, is not used in this tutorial.

Courses and Website Pages

The first section covers course lessons, using the Lesson page of the Premier course template. The second section covers website pages and landing pages built with the Kajabi page editor.

Step 1: Turn Off Kajabi Course Comments Internal Link

Kajabi course lessons include a built-in comment section. To show only FastComments on lessons, turn off Kajabi comments for the course:

  1. From the Dashboard, open the Products tab and select the course.
  2. Open Settings and scroll to Comment Settings.
  3. Turn off the Enable comments toggle.
  4. Click Save.

To hide Kajabi comments on individual lessons only, leave Enable comments on, open each lesson, and set the Comment option to Hidden. A Hidden lesson does not show the Kajabi comment box or existing Kajabi comments.

Step 2: Open the Lesson Page Template Internal Link

The FastComments code is added once, to the Lesson page of the course template. Kajabi renders the Lesson page for every lesson in the course, so the comment widget appears on all lessons without editing each lesson.

Kajabi documents a custom Code option in the Lesson Body section of the Premier course template. The steps below use Premier.

  1. From the Dashboard, open the Products tab and select the course.
  2. Open the Customize tab.
  3. Open the Installed Templates folder, select the Premier template, and click Customize.
  4. Use the dropdown in the top bar of the editor to switch to the Lesson page.

If Premier is not installed on the course, click Install Template on the Customize tab, select Premier, and click Install Template again. To make it the live template, open the ellipsis menu (...) on the template card and select Activate. Activating a different template changes the layout of the course for students.

Step 3: Add the FastComments Code Internal Link

With the Lesson page open in the template editor:

  1. In the left sidebar, select the Lesson Body section.
  2. Click Add Content and select Code as the content type.
  3. Paste the following code into the Code block.
  4. Click Save.
Kajabi Comments Code
Copy Copy
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo"
7}];
8</script>
9

If the snippet contains tenantId: 'demo', you are not signed in to FastComments. Sign in and copy the snippet again, or replace demo with your tenant ID.

The code renders on every lesson page of the course. When urlId is not set, the widget uses the address of the current page as the thread identifier, so each lesson has a separate comment thread.

Add a Custom Code Block Internal Link

Kajabi website pages and landing pages support a Custom Code block. Kajabi runs JavaScript in this block when it is wrapped in <script> tags, which the FastComments snippet includes.

  1. From the Dashboard, open the Website tab and open the page in the page editor. Landing pages are listed under Website > Landing Pages.
  2. Open the section where the comments should appear and click Add block.
  3. Select Custom Code.
  4. Paste the following code into the Code field.
  5. Save the page.
Kajabi Page Comments Code
Copy Copy
1
2<script async src="https://cdn.fastcomments.com/js/embed-v2-async.min.js"></script>
3<div id="fastcomments-widget"></div>
4<script>
5window.fcConfigs = [{
6 "tenantId": "demo"
7}];
8</script>
9

Each page receives its own comment thread, identified by the page address.

Do not paste the snippet into the Custom Code area of the page Settings tab. Kajabi does not accept <script> tags in that field.

Customization Internal Link

The widget's styling and behavior can be changed from the FastComments widget customization page without editing the snippet, or by adding configuration options to the snippet.

See the Customization Documentation for the available options.