Comparing version 1.0.0 to 1.0.1
@@ -135,3 +135,3 @@ (function (global, factory) { | ||
.pipe(operators.filter(function (event) { return event instanceof i1.NavigationEnd; }), operators.map(function () { return _this.route; }), operators.map(function (route) { return route.firstChild; }), operators.switchMap(function (route) { return route.data; }), operators.map(function (data) { return lodash.get(data, 'title', _this.options.appName); }), operators.tap(function (title) { | ||
_this.trackPageView({ title: title }); | ||
_this.trackPageView({ page_title: title }); | ||
})) | ||
@@ -229,2 +229,2 @@ .subscribe(); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnd4LWd0YWcudW1kLmpzLm1hcCIsInNvdXJjZXMiOlsibmc6Ly9Abnd4L2d0YWcvc3JjL2d0YWcudHlwZXMudHMiLCJuZzovL0Bud3gvZ3RhZy9zcmMvZ3RhZy5kZWZhdWx0cy50cyIsIm5nOi8vQG53eC9ndGFnL3NyYy9ndGFnLm1vZHVsZS50cyIsIm5nOi8vQG53eC9ndGFnL3NyYy9ndGFnLnNlcnZpY2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IE5lZWt3YXJlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwOi8vbmVla3dhcmUuY29tL2xpY2Vuc2UvTUlULmh0bWxcbiAqL1xuXG5leHBvcnQgY2xhc3MgR3RhZ0NmZyB7XG4gIC8vIGdvb2dsZSB0cmFja2luZyBpZCAoVUEtWFhYWFgtWSlcbiAgdHJhY2tpbmdJZDogc3RyaW5nO1xuICAvLyB0cmFjayBwYWdlIHZpZXcgb24gc3RhcnRcbiAgYXV0b1BhZ2VUc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@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("tslib"),require("@angular/router"),require("lodash"),require("rxjs/operators"),require("@nwx/cfg"),require("@nwx/logger")):"function"==typeof define&&define.amd?define("@nwx/gtag",["exports","@angular/core","@angular/common","tslib","@angular/router","lodash","rxjs/operators","@nwx/cfg","@nwx/logger"],e):e((t.nwx=t.nwx||{},t.nwx.gtag={}),t.ng.core,t.ng.common,t.tslib,t.ng.router,null,t.Rx.Observable.prototype,null,null)}(this,function(t,e,o,n,r,i,a,g,c){"use strict"; | ||
* found in the LICENSE file at http://neekware.com/license/MIT.html | ||
*/var s=function(){},u={trackingId:null,autoPageTrack:!1,gtagUrl:"https://www.googletagmanager.com/gtag/js"},p=function(){function t(t){if(t)throw new Error("GtagModule is already loaded. Import it in the AppModule only")}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:e.Optional},{type:e.SkipSelf}]}]},t}(),l=function(){function t(t,e,o,n){this.router=t,this.route=e,this.cfg=o,this.log=n,this.options=null,this.options=i.merge({gtag:u},this.cfg.options),this.options.gtag.trackingId&&(this.loadScript(),this.initScript(),this.log.debug("GtagService ready ... ("+this.options.gtag.trackingId+")"),this.options.gtag.autoPageTrack&&this.enablePageView())}return t.prototype.initScript=function(){var t="\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '"+this.options.gtag.trackingId+"', { 'send_page_view': "+this.options.gtag.autoPageTrack+" });\n ",e=Object.assign(document.createElement("script"),{text:t});document.body.appendChild(e)},t.prototype.loadScript=function(){var t=this.options.gtag.gtagUrl+"?id="+this.options.gtag.trackingId;if(!document.querySelectorAll('[src="'+t+'"]').length){var e=Object.assign(document.createElement("script"),{type:"text/javascript",src:t,async:!0});document.body.appendChild(e)}},t.prototype.enablePageView=function(){var e=this;this.router.events.pipe(a.filter(function(t){return t instanceof r.NavigationEnd}),a.map(function(){return e.route}),a.map(function(t){return t.firstChild}),a.switchMap(function(t){return t.data}),a.map(function(t){return i.get(t,"title",e.options.appName)}),a.tap(function(t){e.trackPageView({title:t})})).subscribe()},t.prototype.trackPageView=function(t){if(t=n.__assign({page_path:this.router.url,page_location:window.location.href,page_title:this.options.appName},t),"function"==typeof gtag)try{gtag("config",this.options.gtag.trackingId,t)}catch(e){this.log.error("Failed to track page view",e)}else this.log.debug("skip page track. gtag not ready yet ...")},t.prototype.trackEvent=function(t,e){if(void 0===e&&(e={}),"function"==typeof gtag)try{gtag("event",t,e)}catch(o){console.error("Failed to track event",o)}else this.log.debug("skip event track. gtag not ready yet ...")},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:r.Router},{type:r.ActivatedRoute},{type:g.CfgService},{type:c.LogService}]},t.ngInjectableDef=e.defineInjectable({factory:function(){return new t(e.inject(r.Router),e.inject(r.ActivatedRoute),e.inject(g.CfgService),e.inject(c.LogService))},token:t,providedIn:"root"}),t}(); | ||
*/var s=function(){},u={trackingId:null,autoPageTrack:!1,gtagUrl:"https://www.googletagmanager.com/gtag/js"},p=function(){function t(t){if(t)throw new Error("GtagModule is already loaded. Import it in the AppModule only")}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule]}]}],t.ctorParameters=function(){return[{type:t,decorators:[{type:e.Optional},{type:e.SkipSelf}]}]},t}(),l=function(){function t(t,e,o,n){this.router=t,this.route=e,this.cfg=o,this.log=n,this.options=null,this.options=i.merge({gtag:u},this.cfg.options),this.options.gtag.trackingId&&(this.loadScript(),this.initScript(),this.log.debug("GtagService ready ... ("+this.options.gtag.trackingId+")"),this.options.gtag.autoPageTrack&&this.enablePageView())}return t.prototype.initScript=function(){var t="\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '"+this.options.gtag.trackingId+"', { 'send_page_view': "+this.options.gtag.autoPageTrack+" });\n ",e=Object.assign(document.createElement("script"),{text:t});document.body.appendChild(e)},t.prototype.loadScript=function(){var t=this.options.gtag.gtagUrl+"?id="+this.options.gtag.trackingId;if(!document.querySelectorAll('[src="'+t+'"]').length){var e=Object.assign(document.createElement("script"),{type:"text/javascript",src:t,async:!0});document.body.appendChild(e)}},t.prototype.enablePageView=function(){var e=this;this.router.events.pipe(a.filter(function(t){return t instanceof r.NavigationEnd}),a.map(function(){return e.route}),a.map(function(t){return t.firstChild}),a.switchMap(function(t){return t.data}),a.map(function(t){return i.get(t,"title",e.options.appName)}),a.tap(function(t){e.trackPageView({page_title:t})})).subscribe()},t.prototype.trackPageView=function(t){if(t=n.__assign({page_path:this.router.url,page_location:window.location.href,page_title:this.options.appName},t),"function"==typeof gtag)try{gtag("config",this.options.gtag.trackingId,t)}catch(e){this.log.error("Failed to track page view",e)}else this.log.debug("skip page track. gtag not ready yet ...")},t.prototype.trackEvent=function(t,e){if(void 0===e&&(e={}),"function"==typeof gtag)try{gtag("event",t,e)}catch(o){console.error("Failed to track event",o)}else this.log.debug("skip event track. gtag not ready yet ...")},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:r.Router},{type:r.ActivatedRoute},{type:g.CfgService},{type:c.LogService}]},t.ngInjectableDef=e.defineInjectable({factory:function(){return new t(e.inject(r.Router),e.inject(r.ActivatedRoute),e.inject(g.CfgService),e.inject(c.LogService))},token:t,providedIn:"root"}),t}(); | ||
/** | ||
@@ -11,0 +11,0 @@ * @license |
@@ -83,3 +83,3 @@ /** | ||
.pipe(filter(event => event instanceof NavigationEnd), map(() => this.route), map(route => route.firstChild), switchMap(route => route.data), map(data => get(data, 'title', this.options.appName)), tap(title => { | ||
this.trackPageView({ title }); | ||
this.trackPageView({ page_title: title }); | ||
})) | ||
@@ -162,2 +162,2 @@ .subscribe(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RhZy5zZXJ2aWNlL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4gZ3RhZyBub3QgcmVhZHkgeWV0IC4uLicpO1xuICAgIH1cbiAgfVxufVxuIl19 |
@@ -83,3 +83,3 @@ /** | ||
.pipe(filter(function (event) { return event instanceof NavigationEnd; }), map(function () { return _this.route; }), map(function (route) { return route.firstChild; }), switchMap(function (route) { return route.data; }), map(function (data) { return get(data, 'title', _this.options.appName); }), tap(function (title) { | ||
_this.trackPageView({ title: title }); | ||
_this.trackPageView({ page_title: title }); | ||
})) | ||
@@ -174,2 +174,2 @@ .subscribe(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3RhZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG53eC9ndGFnLyIsInNvdXJjZXMiOlsic3JjL2d0YWcuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFRQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxNQUFNLEVBQUUsYUFBYSxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXhFLE9BQU8sRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3RCxPQUFPLEVBQUUsVUFBVSxFQUFVLE1BQU0sVUFBVSxDQUFDO0FBQzlDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFDOzs7Ozs7SUFZL0MscUJBQ1UsUUFDQSxPQUNBLEtBQ0E7UUFIQSxXQUFNLEdBQU4sTUFBTTtRQUNOLFVBQUssR0F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HtcbiAgICAgIC4uLntcbiAgICAgICAgcGFnZV9wYXRoOiB0aGlzLnJvdXRlci51cmwsXG4gICAgICAgIHBhZ2VfbG9jYXRpb246IHdpbmRvdy5sb2NhdGlvbi5ocmVmLFxuICAgICAgICBwYWdlX3RpdGxlOiB0aGlzLm9wdGlvbnMuYXBwTmFtZVxuICAgICAgfSxcbiAgICAgIC4uLnBhcmFtc1xuICAgIH07XG4gICAgaWYgKHR5cGVvZiBndGFnID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICB0cnkge1xuICAgICAgICBndGFnKCdjb25maWcnLCB0aGlzLm9wdGlvbnMuZ3RhZy50cmFja2luZ0lkLCBwYXJhbXMpO1xuICAgICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICAgIHRoaXMubG9nLmVycm9yKCdGYWlsZWQgdG8gdHJhY2sgcGFnZSB2aWV3JywgZXJyKTtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5sb2cuZGVidWcoJ3NraXAgcGFnZSB0cmFjay4gZ3RhZyBub3QgcmVhZHkgeWV0IC4uLicpO1xuICAgIH1cbiAgfVxuXG4gIHRyYWNrRXZlbnQobmFtZTogc3RyaW5nLCBwYXJhbXM6IEd0YWdFdmVudFBhcmFtcyA9IHt9KSB7XG4gICAgaWYgKHR5cGVvZiBndGFnID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICB0cnkge1xuICAgICAgICBndGFnKCdldmVudCcsIG5hbWUsIHBhcmFtcyk7XG4gICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgY29uc29sZS5lcnJvcignRmFpbGVkIHRvIHRyYWNrIGV2ZW50JywgZXJyKTtcbiAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5sb2cuZGVidWcoJ3NraXAgZXZlbnQgdHJhY2suIGd0YWcgbm90IHJlYWR5IHlldCAuLi4nKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base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3B0aW9ucy5ndGFnLnRyYWNraW5nSWQsIHBhcmFtcyk7XG4gICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgdGhpcy5sb2cuZXJyb3IoJ0ZhaWxlZCB0byB0cmFjayBwYWdlIHZpZXcnLCBlcnIpO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLmxvZy5kZWJ1Zygnc2tpcCBwYWdlIHRyYWNrLiBndGFnIG5vdCByZWFkeSB5ZXQgLi4uJyk7XG4gICAgfVxuICB9XG5cbiAgdHJhY2tFdmVudChuYW1lOiBzdHJpbmcsIHBhcmFtczogR3RhZ0V2ZW50UGFyYW1zID0ge30pIHtcbiAgICBpZiAodHlwZW9mIGd0YWcgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgIHRyeSB7XG4gICAgICAgIGd0YWcoJ2V2ZW50JywgbmFtZSwgcGFyYW1zKTtcbiAgICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgICBjb25zb2xlLmVycm9yKCdGYWlsZWQgdG8gdHJhY2sgZXZlbnQnLCBlcnIpO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICB0aGlzLmxvZy5kZWJ1Zygnc2tpcCBldmVudCB0cmFjay4gZ3RhZyBub3QgcmVhZHkgeWV0IC4uLicpO1xuICAgIH1cbiAgfVxufVxuIl19 |
@@ -132,3 +132,3 @@ import { NgModule, Optional, SkipSelf, Injectable, defineInjectable, inject } from '@angular/core'; | ||
.pipe(filter(event => event instanceof NavigationEnd), map(() => this.route), map(route => route.firstChild), switchMap(route => route.data), map(data => get(data, 'title', this.options.appName)), tap(title => { | ||
this.trackPageView({ title }); | ||
this.trackPageView({ page_title: title }); | ||
})) | ||
@@ -204,2 +204,2 @@ .subscribe(); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnd4LWd0YWcuanMubWFwIiwic291cmNlcyI6WyJuZzovL0Bud3gvZ3RhZy9zc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QUcsQ0FBQyxLQUFLLENBQUMseUNBQXlDLENBQUMsQ0FBQztTQUMzRDtLQUNGOzs7Ozs7SUFFRCxVQUFVLENBQUMsSUFBWSxFQUFFLFNBQTBCLEVBQUU7UUFDbkQsSUFBSSxPQUFPLElBQUksS0FBSyxVQUFVLEVBQUU7WUFDOUIsSUFBSTtnQkFDRixJQUFJLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLENBQUMsQ0FBQzthQUM3QjtZQUFDLHdCQUFPLEdBQUcsRUFBRTtnQkFDWixPQUFPLENBQUMsS0FBSyxDQUFDLHVCQUF1QixFQUFFLEdBQUcsQ0FBQyxDQUFDO2FBQzdDO1NBQ0Y7YUFBTTtZQUNMLElBQUksQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLDBDQUEwQyxDQUFDLENBQUM7U0FDNUQ7S0FDRjs7O1lBL0ZGLFVBQVUsU0FBQztnQkFDVixVQUFVLEVBQUUsTUFBTTthQUNuQjs7OztZQWZRLE1BQU07WUFBaUIsY0FBYztZQUlyQyxVQUFVO1lBQ1YsVUFBVTs7Ozs7Ozs7Ozs7Ozs7OzsifQ== |
@@ -136,3 +136,3 @@ import { NgModule, Optional, SkipSelf, Injectable, defineInjectable, inject } from '@angular/core'; | ||
.pipe(filter(function (event) { return event instanceof NavigationEnd; }), map(function () { return _this.route; }), map(function (route) { return route.firstChild; }), switchMap(function (route) { return route.data; }), map(function (data) { return get(data, 'title', _this.options.appName); }), tap(function (title) { | ||
_this.trackPageView({ title: title }); | ||
_this.trackPageView({ page_title: title }); | ||
})) | ||
@@ -219,2 +219,2 @@ .subscribe(); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnd4LWd0YWcuanMubWFwIiwic291cmNlcyI6WyJuZzovL0Bud3gvZ3RhZy9zcmMvZ3RhZy50eXBlcy50cyIsIm5nOi8vQG53eC9ndGFnL3NyYy9ndGFnLmRlZmF1bHRzLnRz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@ -27,0 +27,0 @@ "homepage": "https://github.com/neekware/nwx-gtag", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158477