Articles in this section

How to Create a Code Inject Integration

Published:

The Code Inject feature allows Organization Admins to add custom JavaScript snippets to their Learnly portal. It is commonly used to install analytics tools, chat widgets, accessibility widgets, tracking scripts, and other third-party integrations without modifying the platform's code.

What You Can Use Code Inject For

  • Analytics tools (Google Analytics, Meta Pixel, etc.)

  • Chat widgets (Intercom, Tawk.to, Crisp, etc.)

  • Accessibility widgets

  • Custom tracking scripts

  • Marketing and conversion scripts

Only add code from trusted sources. Custom scripts run on your organization's pages and can affect security and performance.

Step 1: Open Code Inject

Navigate to 'Global Settings' and select 'Code Inject'.

1

Step 2: Add a New Integration

Click '+ Add Integration'.

2

Step 3: Enter Integration Details

Enter the 'Title', choose an 'Icon', and add a 'Description'.

3

Step 4: Choose Code Placement

Select where the script should be injected from the 'Code Placement' dropdown.

4

Step 5: Paste Your JavaScript Code

In the 'Code' (JavaScript only) field, paste the script provided by your third-party service. Then, toggle 'Enable this integration' and click 'Create Integration'.

5

Step 6: Manage Existing Integrations

After creating an integration, it appears in the 'Code Inject' list. From here, you can 'Enable or Disable', 'Edit', or 'Delete' the integration as needed.

6

You have successfully configured Code Inject. This feature provides a flexible way to add analytics, chat widgets, accessibility tools, and other custom JavaScript integrations to your Learnly portal without modifying the platform's core code.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied