sauce-bigcommerce-snippet

1.0.3 • Public • Published

Sauce-Bigcommerce HTML snippet

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.

Module usage

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.

Readme

Keywords

Package Sidebar

Install

npm i sauce-bigcommerce-snippet

Weekly Downloads

1

Version

1.0.3

License

ISC

Last publish

Collaborators

  • chrishoughton