BigCommerce is a popular e-commerce platform. Here's how to use Osano with BigCommerce.
In Osano, the "Get Code" button will become active after creating and publishing your configuration. This button will provide you with the osano.js.
In order to run effectively, however, Osano needs to be injected into the global <head> of the document. The easiest way to accomplish this in BigCommerce is by utilizing Script Manager.
For compliance reasons, the Osano script should be the first script to execute in the <head> of your website.
To add/create scripts using Script Manager:
To access the Script Manager, go to Storefront › Script Manager.
Click Create a Script.
- Name: Osano Consent Manager
- Description: Example: Used to manage consents on our storefront
- All Pages
- Script category: Essential
- Load Method: Default
- Add the Osano script
User_id / Customer_id
- After adding your code, click Save.
Once added and saved, run the application, inspect and check. You should see the script added inside the head tag.
Important: The Osano.js should be placed without any async or defer attributes. Compliance cannot be guaranteed when using the attributes above.