solution-center-tracking
Reusable service for tracking Brand Solutions business events
Usage
- Install
npm install solution-center-tracking
- Add the module depencency:
angular
- Inject the service and call
track
with an Event:
{ let event = ; ScTrackingService;}
Develop
Clone the repository, then run:
npm install
Availble commands
npm start
: Run the webpack build and tests in watch modenpm run test
: Run the unit tests and generate a coverage reportopen coverage/index.html
: after running unit tests, open the coverage report.
npm run test:watch
: Run the unit tests in watch modenpm run build
: Run the webpack build and minify. Generates output indist/
.npm run build: watch
: Run the build in watch mode
Contributing
Before opening a pull request, please ensure that you have included unit tests for your changes and that all tests are passing.