NinjaSCAN.ai Accessibility Widget Integration Guide
This guide walks you through every step to add the NinjaSCAN.ai Accessibility Widget to your website. Log in to your NinjaSCAN.ai Web Admin Panel (your account dashboard) to get the script snippet, then paste it in the right place—no coding expertise required!
What You'll Need
- Your website's admin access or ability to edit template files.
- A text editor or the built-in editor in your CMS.
- Access to your NinjaSCAN.ai account (Web Admin Panel) to get the widget script snippet.
Quick Start: Global Template Insertion
Ideal if your site uses a shared header or footer template.
-
Locate the shared template
- Common names:
header.php
, footer.php
, theme.liquid
, layout.html
.
- In your CMS, look for "Theme Editor," "Layout," or "Templates."
-
Paste the snippet
- Insert the
<script>
tag just before the closing </head>
tag for best performance.
- Alternatively, place it right before
</body>
if you prefer loading after content.
-
Save and publish
- Save changes in your editor.
- Clear any caches (if applicable).
-
Verify
- Open your site in a browser and look for the widget icon.
- Use Developer Tools (Console) to confirm the script loaded without errors.
Platform-Specific Instructions
WordPress
Via Theme Editor
- In Admin, go to Appearance > Theme File Editor.
- Select
header.php
(or the file containing <head>
).
- Paste the snippet before
</head>
and Update File.
Via Plugin
- Install Insert Headers and Footers or a similar plugin.
- Go to Settings > Insert Headers and Footers.
- Paste the script into Scripts in Header and save.
Via functions.php
function add_ninjascan_widget() {
echo '<!-- Paste your NinjaSCAN.ai script snippet here -->';
}
add_action('wp_head', 'add_ninjascan_widget');
Shopify
- In Shopify Admin, go to Online Store > Themes.
- Click Actions > Edit Code on your live theme.
- Under Layout, open
theme.liquid
.
- Paste the snippet before
</head>
, then Save.
Static HTML Sites
- Open each
.html
file in your editor.
- Paste the
<script>
snippet in the <head>
section of each page.
- Save and upload back to your server.
Other CMS (Drupal, Joomla, etc.)
- Look for a Global Header/Footer or Custom Code section in site settings.
- Paste the snippet into the header area.
- Save and clear caches.
Google Tag Manager
- Log in to Google Tag Manager.
- Create a New Tag → Custom HTML.
- Paste the NinjaSCAN.ai snippet into the HTML box.
- Set Trigger to All Pages and save.
- Publish your workspace.
What If There's No Shared Template?
If your website doesn't have a global template (e.g., hand-coded pages without includes), you can manually insert the snippet on each page:
- Open every HTML file and paste the snippet in the
<head>
.
- Quick for small sites (under ~10 pages).
Tip: If you're not comfortable editing many pages,
consider using a simple site builder or ask your hosting support
for a basic include mechanism.
Verifying Installation
- Open your website in a browser.
- Right-click → Inspect Element or Developer Tools.
- Go to the Console or Network tab and search for
ninjascan-widget.js
.
- Confirm the file loads without errors.
- Ensure the widget icon appears on every page.
Thank you for choosing NinjaSCAN.ai! Together, we make the web accessible for everyone.