Common Ninja’s widgets, like popups, bars, notifications, and other over-the-canvas features, can greatly enhance your Hostinger/Zyro website by engaging visitors across all pages. This guide will show you how to add Common Ninja’s script globally to your Hostinger/Zyro site so it loads on every page.
Step 1: Access the Hostinger / Zyro Site Editor
If your Hostinger website is built using Zyro, follow these steps:
- Log in to your Hostinger account.
- Navigate to Website Builder and select the website you want to edit.
- Click on Edit Website to open the Zyro editor.
Step 2: Add the Script in Site Settings
To ensure the Common Ninja script loads globally, you’ll need to insert it into the header section of your website.
- In the Zyro editor, open Settings from the left sidebar.
- Scroll down and look for Integrations setting.
- In the Custom Code section, paste the Common Ninja script:
<script src="https://cdn.commoninja.com/sdk.js"></script>
- By placing the script here, it will load globally on every page of your site.
Step 3: Publish Your Changes
- After adding the script, click Publish to save and apply your changes across the site.
- The Common Ninja script will now be active on all pages of your website.
Step 4: Verify the Script Installation
- Open your website in a new browser tab to confirm the script is working.
- Check that your Common Ninja widgets (such as popups, bars, or notifications) appear and function across all pages.
Troubleshooting
If the widgets do not appear immediately:
- Clear Cache: Clear your browser cache or open your site in an incognito window, as cached versions may not reflect recent changes.
- Double-Check Placement: Ensure the script is placed in the Header Code section.
Important Considerations
- Widget Compatibility: While Zyro is designed for simplicity, some JavaScript functionalities may be limited for security reasons. However, Common Ninja widgets, such as popups, bars, and notifications, should work as intended.
- Cross-Browser Testing: After publishing, test the widgets on multiple browsers and devices to ensure they display correctly.
Conclusion
Adding Common Ninja’s script globally to your Hostinger/Zyro website allows you to effectively utilize over-the-canvas widgets across all pages, enhancing user engagement. By following these steps, you can easily enable Common Ninja’s features on every page of your site.
If you need additional support, feel free to contact Common Ninja or refer to Hostinger’s support resources.
Comments
0 comments
Please sign in to leave a comment.