ember-metrics-adobe-dtm
ember-metrics adapter for Adobe Dynamic Tag Management
Installation
ember install ember-metrics-adobe-dtm
Usage
// config/environment.jslet ENV = metricsAdapters: name: 'AdobeDTM' config: // leave off `src` if the dtm script is already on the page src: '//assets.adobedtm.com/your-script-url.js' // turns on dtm debug logging debug: true ;
This comes with a test helper to mock the _satellite window object.
; ;; // or ;
Contributing
Installation
git clone <repository-url>
cd my-addon
npm install
Linting
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
Running tests
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
Running the dummy application
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
License
This project is licensed under the MIT License.