NoibuJS Script
Before Noibu can collect session data from your eCommerce website, you must deploy the Noibu script to your website's header. Noibu offers two script options: the standard script, and a split script. The latter option prioritizes performance optimization and reduces download sizes.
Standard Script
The standard code snippet is as follows:
<script src="https://cdn.noibu.com/collect.js"></script>
Split Script
Noibu has created an alternate method that splits the script into two functions to reduce download time. The alternate code snippet is as follows:
<script src="https://cdn.noibu.com/collect-core.js"></script>
Deployment Options
You have several options to deploy the script:
Manual Deployment
Deploy the script directly into the html <head>
tag of every webpage a user visits, including checkout pages. Deploy the script to the beginning of the <head>
section. This enables Noibu to capture all events on your website.
Deployment via Tag Management System
You can deploy the NoibuJS script through a tag manager software. Reivew our guides on how to apply the NoibuJS script on the following tag managers:
Deployment via eCommerce Platform
If your store is built on an eCommerce platform, there should be a page within the Admin Dashboard to apply custom code. Review our guides for deploying the NoibuJS script on the following platform providers:
Troubleshooting
It is possible that after a successful deployment, the Noibu script is still not successfully collecting errors. Here are some common issues.
- Noibu domain URLs and/or IP address are not whitelisted by your Content Delivery Network (CDN) or by your Content Security Policy (CSP). Visit our guide to Whitelisting Noibu.
- Deploying the Noibu Script twice can create potential conflicts. Avoid this by deploying once with the chosen method for your website.
- The NoibuJS script is not deployed to the correct place, or the correct page triggers are not utilized. Refer back to the deployment guide for your eCommerce platform or tag manager.
Learn more about Noibu's Jira and Shopify Liquid integrations.