The main theme snippet for the Sauce-Bigcommerce integration. Exposes data about the page to Sauce's JavaScript tracking, following the data layer schema where possible.
## Installation
This snippet should not be installed directly to your theme, you'll be able to get the code with your populated client id within the Sauce dashboard.
This snippet can also be required in as an NPM module:
Install the module with npm install sauce-bigcommerce-snippet
Provide the clientId to the snippet:
var snippet = require('sauce-bigcommerce-snippet');
var html = snippet({
clientId: '123'
});
// => `html` is the final code
## License
This extension is released under Apache License 2.0.