Adding a Common Ninja widget to your Sitejet website is a simple process that enhances your site with interactive features. This guide will walk you through the steps to embed your widget successfully.
Step 1: Copy Your Widget Embed Code
Before you can add a widget to your Sitejet website, you need to retrieve its embed code:
- Log into your Common Ninja account.
- Open the widget you want to install.
- Click "Publish", then copy the provided embed code (a
<script>
tag).
Step 2: Add the Widget to Your Sitejet Website
There are two main ways to embed your widget—either on a specific page or across the entire website.
Option 1: Embed the Widget on a Specific Page
If you want the widget to appear on a specific page, follow these steps:
- Log into your Sitejet Dashboard.
- Open your website project and go to the Website Builder.
- Navigate to the page where you want to add the widget.
- Click “Add Element” and choose "Code" from the elements list.
- Inside the Code element, paste the Common Ninja embed code.
- Click Apply, then Save & Publish your page.
Option 2: Add the Widget Site-Wide (Global Use)
If you want the widget to appear site-wide (e.g., as a floating button or popup), follow these steps:
- Go to your Sitejet Dashboard.
- Open your website project and go to the Website Builder.
- Click on "Website Settings" (⚙️).
- Navigate to the Custom Code section.
- Paste the embed code into the appropriate section:
- Use the Header if the widget needs to load before the page content.
- Use the Body or Footer if the widget should load after the main content.
- Click Save & Publish to apply the changes.
Done!
Comments
0 comments
Please sign in to leave a comment.