Webtrekk Smart Pixel Angular
Site | Docs | Support | Changelog |
Installation
Using npm:
$ npm i webtrekk-smart-pixel-angular
Integration
- Create a class and use this as interface between your application and the Webtrekk Smart Pixel
// load the minified build; // load the debug build; /** * @constructor */var { // ...}; ;
- Implement all your tracking functionalities which you need for the application
var { this { webtrekkSmartPixelAngular; }; this { webtrekkSmartPixelAngular; }; this { webtrekkSmartPixelAngular; }; this { webtrekkSmartPixelAngular; }; this { webtrekkSmartPixelAngular; }; this { webtrekkSmartPixelAngular; };};
- Import ApplicationTracking in all your Components, which should be tracked or provide tracking data
// app.component ;; @ implements OnInit {} { applicationTracking; }
// index.component ;; @ implements OnInit language = 'en'; {} { applicationTracking; applicationTracking; }