
Language 🇺🇸 English
Kajabi Course Installation
Kajabi Website Page Installation
Troubleshooting and Customization
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 
Kajabi course lessons include a built-in comment section. To show only FastComments on lessons, turn off Kajabi comments for the course:
- From the Dashboard, open the
Productstab and select the course. - Open
Settingsand scroll toComment Settings. - Turn off the
Enable commentstoggle. - 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 
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.
- From the Dashboard, open the
Productstab and select the course. - Open the
Customizetab. - Open the
Installed Templatesfolder, select the Premier template, and clickCustomize. - 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 
With the Lesson page open in the template editor:
- In the left sidebar, select the
Lesson Bodysection. - Click
Add Contentand selectCodeas the content type. - Paste the following code into the Code block.
- Click
Save.

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 
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.
- From the Dashboard, open the
Websitetab and open the page in the page editor. Landing pages are listed underWebsite>Landing Pages. - Open the section where the comments should appear and click
Add block. - Select
Custom Code. - Paste the following code into the
Codefield. - Save the page.

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.
Domain Errors 
The widget may show an authorization error like the following:
This error means the domain the Kajabi site is served from has not been added to your FastComments account. If you connected a custom domain to Kajabi, add that domain. Otherwise, add the Kajabi domain shown in the browser address bar when viewing the lesson or page.
Customization 
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.