ngx-google-analytics
Advanced tools
Comparing version 0.0.5 to 0.0.6-rc
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) : | ||
typeof define === 'function' && define.amd ? define('ngx-google-analytics', ['exports', '@angular/core'], factory) : | ||
(factory((global['ngx-google-analytics'] = {}),global.ng.core)); | ||
}(this, (function (exports,i0) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/router'), require('@angular/core'), require('@angular/common')) : | ||
typeof define === 'function' && define.amd ? define('ngx-google-analytics', ['exports', '@angular/router', '@angular/core', '@angular/common'], factory) : | ||
(factory((global['ngx-google-analytics'] = {}),global.ng.router,global.ng.core,global.ng.common)); | ||
}(this, (function (exports,router,i0,common) { 'use strict'; | ||
@@ -233,29 +233,2 @@ /*! ***************************************************************************** | ||
*/ | ||
/** @enum {string} */ | ||
var GaActionEnum = { | ||
add_payment_info: 'add_payment_info', | ||
add_to_cart: 'add_to_cart', | ||
add_to_wishlist: 'add_to_wishlist', | ||
begin_checkout: 'begin_checkout', | ||
checkout_progress: 'checkout_progress', | ||
generate_lead: 'generate_lead', | ||
login: 'login', | ||
purchase: 'purchase', | ||
refund: 'refund', | ||
remove_from_cart: 'remove_from_cart', | ||
search: 'search', | ||
select_content: 'select_content', | ||
set_checkout_option: 'set_checkout_option', | ||
share: 'share', | ||
sign_up: 'sign_up', | ||
view_item: 'view_item', | ||
view_item_list: 'view_item_list', | ||
view_promotion: 'view_promotion', | ||
view_search_results: 'view_search_results', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
var GoogleAnalyticsService = /** @class */ (function () { | ||
@@ -618,2 +591,39 @@ function GoogleAnalyticsService($trackingId) { | ||
*/ | ||
/** @type {?} */ | ||
var NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER = { | ||
provide: i0.APP_BOOTSTRAP_LISTENER, | ||
multi: true, | ||
useFactory: GoogleAnalyticsRouterInitializer, | ||
deps: [ | ||
GoogleAnalyticsService, | ||
router.Router | ||
] | ||
}; | ||
/** | ||
* @param {?} $gaService | ||
* @param {?} $router | ||
* @return {?} | ||
*/ | ||
function GoogleAnalyticsRouterInitializer($gaService, $router) { | ||
var _this = this; | ||
return function (c) { | ||
return __awaiter(_this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
$router | ||
.events | ||
.subscribe(function (event) { | ||
if (event instanceof router.NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects); | ||
} | ||
}); | ||
return [2 /*return*/]; | ||
}); | ||
}); | ||
}; | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
var GaEventCategoryDirective = /** @class */ (function () { | ||
@@ -730,3 +740,3 @@ function GaEventCategoryDirective() { | ||
return [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: i0.Host }, { type: i0.Optional }] }, | ||
{ type: GaEventCategoryDirective, decorators: [{ type: i0.Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
@@ -839,2 +849,19 @@ ]; | ||
*/ | ||
var NgxGoogleAnalyticsRouterModule = /** @class */ (function () { | ||
function NgxGoogleAnalyticsRouterModule() { | ||
} | ||
NgxGoogleAnalyticsRouterModule.decorators = [ | ||
{ type: i0.NgModule, args: [{ | ||
imports: [ | ||
common.CommonModule, | ||
NgxGoogleAnalyticsModule | ||
], | ||
providers: [ | ||
NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER | ||
], | ||
declarations: [] | ||
},] } | ||
]; | ||
return NgxGoogleAnalyticsRouterModule; | ||
}()); | ||
@@ -846,11 +873,18 @@ /** | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
exports.GoogleAnalyticsInitializer = GoogleAnalyticsInitializer; | ||
exports.NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER = NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER; | ||
exports.GoogleAnalyticsRouterInitializer = GoogleAnalyticsRouterInitializer; | ||
exports.NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER = NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER; | ||
exports.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN; | ||
exports.GaActionEnum = GaActionEnum; | ||
exports.GoogleAnalyticsService = GoogleAnalyticsService; | ||
exports.GaEventCategoryDirective = GaEventCategoryDirective; | ||
exports.GaEventDirective = GaEventDirective; | ||
exports.GaEventFormInputDirective = GaEventFormInputDirective; | ||
exports.NgxGoogleAnalyticsModule = NgxGoogleAnalyticsModule; | ||
exports.ɵa = GaEventFormInputDirective; | ||
exports.NgxGoogleAnalyticsRouterModule = NgxGoogleAnalyticsRouterModule; | ||
@@ -857,0 +891,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ngx-google-analytics",["exports","@angular/core"],e):e(t["ngx-google-analytics"]={},t.ng.core)}(this,function(t,l){"use strict";function o(o,r){var i,a,c,t,s={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,a&&(c=2&t[0]?a["return"]:t[0]?a["throw"]||((c=a["return"])&&c.call(a),0):a.next)&&!(c=c.call(a,t[1])).done)return c;switch(a=0,c&&(t=[2&t[0],c.value]),t[0]){case 0:case 1:c=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,a=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(c=0<(c=s.trys).length&&c[c.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!c||t[1]>c[0]&&t[1]<c[3])){s.label=t[1];break}if(6===t[0]&&s.label<c[1]){s.label=c[1],c=t;break}if(c&&s.label<c[2]){s.label=c[2],s.ops.push(t);break}c[2]&&s.ops.pop(),s.trys.pop();continue}t=r.call(o,s)}catch(e){t=[6,e],a=0}finally{i=c=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(o=i.next()).done;)a.push(o.value)}catch(c){r={error:c}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}return a}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t}var r=new l.InjectionToken("ngx-hotjar-settings",{factory:function(){return{trackingCode:""}}}),i={provide:l.APP_INITIALIZER,multi:!0,useFactory:e,deps:[r]};function e(g){var e=this;return function(){return function t(e,a,c,s){return new(c||(c=Promise))(function(t,n){function o(t){try{i(s.next(t))}catch(e){n(e)}}function r(t){try{i(s["throw"](t))}catch(e){n(e)}}function i(e){e.done?t(e.value):new c(function(t){t(e.value)}).then(o,r)}i((s=s.apply(e,a||[])).next())})}(e,void 0,void 0,function(){var n,r,i,a,c,s,u;return o(this,function(t){if(!g.trackingCode)return l.isDevMode()||console.error("Empty tracking code for Google Analytics. Make sure to provide one when initializing NgxGoogleAnalyticsModule."),[2];g.uri=g.uri||"https://www.googletagmanager.com/gtag/js?id="+g.trackingCode,i=[{command:"js",values:[new Date]},{command:"config",values:[g.trackingCode]}],g.initCommands=p(i,g.initCommands||[]),window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)};try{for(a=function o(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}(g.initCommands),c=a.next();!c.done;c=a.next())s=c.value,window.gtag.apply(window,p([s.command],s.values))}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=a["return"])&&r.call(a)}finally{if(n)throw n.error}}return(u=document.createElement("script")).async=!0,u.src=g.uri,document.getElementsByTagName("head")[0].appendChild(u),[2]})})}}var a=function(){function t(t){this.$trackingId=t}return t.prototype["throw"]=function(t){console&&console.error&&console.error(t)},t.prototype.gtag=function(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];try{window.gtag.apply(window,p([t,e],n))}catch(r){this["throw"](r)}},t.prototype.event=function(t,e,n,o,r){try{if(window.gtag){var i={};e&&(i.category=e),n&&(i.label=n),o&&(i.value=o),r!==undefined&&(i.interaction=r),this.gtag("event",t,i)}}catch(a){this["throw"](a)}},t.prototype.pageView=function(t,e,n,o){try{if(window.gtag){var r={};t&&(r.page_path=t),e&&(r.page_title=e),n&&(r.page_location=n),o&&Object.assign(r,o),this.gtag("config",this.$trackingId.trackingCode,r)}}catch(i){this["throw"](i)}},t.prototype.appView=function(t,e,n,o,r){try{if(window.gtag){var i={};t&&(i.screen_name=t),e&&(i.app_name=e),n&&(i.app_id=n),o&&(i.app_version=o),r&&(i.app_installer_id=r),this.gtag("event","screen_view",i)}}catch(a){this["throw"](a)}},t.prototype.exception=function(t,e){try{if(window.gtag){var n={};t&&(n.description=t),e&&(n.fatal=e),this.gtag("event","exception",n)}}catch(o){this["throw"](o)}},t.decorators=[{type:l.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:undefined,decorators:[{type:l.Inject,args:[r]}]}]},t.ngInjectableDef=l.defineInjectable({factory:function(){return new t(l.inject(r))},token:t,providedIn:"root"}),t}(),c=function(){function t(){}return t.decorators=[{type:l.Directive,args:[{selector:"[gaEvent][gaCategory],\n [gaCategory]",exportAs:"gaCategory"}]}],t.ctorParameters=function(){return[]},t.propDecorators={gaCategory:[{type:l.Input}]},t}(),s=function(){function t(t,e){this.$gaCategoryDirective=t,this.$gaService=e,this.gaBind="click"}return t.prototype.ngOnInit=function(){},t.prototype.onClick=function(){"click"===this.gaBind&&this.trigger()},t.prototype.onFocus=function(){"focus"===this.gaBind&&this.trigger()},t.prototype.onBlur=function(){"blur"===this.gaBind&&this.trigger()},t.prototype.trigger=function(){try{if(!this.$gaCategoryDirective)throw new Error("You must provide a gaCategory attribute w/ gaEvent Directive.");if(!this.gaAction)throw new Error("You must provide a gaAction atrribute to identify this event.");this.$gaService.event(this.gaAction,this.$gaCategoryDirective.gaCategory,this.gaLabel||this.label,this.gaValue,this.gaInteraction)}catch(t){this["throw"](t)}},t.prototype["throw"]=function(t){console&&console.warn&&console.warn(t)},t.decorators=[{type:l.Directive,args:[{selector:"[gaEvent]",exportAs:"gaEvent"}]}],t.ctorParameters=function(){return[{type:c,decorators:[{type:l.Host},{type:l.Optional}]},{type:a}]},t.propDecorators={gaAction:[{type:l.Input}],gaLabel:[{type:l.Input}],label:[{type:l.Input}],gaValue:[{type:l.Input}],gaInteraction:[{type:l.Input}],gaBind:[{type:l.Input}],onClick:[{type:l.HostListener,args:["click"]}],onFocus:[{type:l.HostListener,args:["focus"]}],onBlur:[{type:l.HostListener,args:["blur"]}]},t}(),u=function(){function t(t){this.$gaEvent=t}return t.prototype.ngOnInit=function(){this.$gaEvent&&(this.$gaEvent.gaBind=this.gaBind?this.$gaEvent.gaBind:"focus")},t.decorators=[{type:l.Directive,args:[{selector:"input[gaEvent],\n select[gaEvent],\n textarea[gaEvent]"}]}],t.ctorParameters=function(){return[{type:s,decorators:[{type:l.Host},{type:l.Optional}]}]},t.propDecorators={gaBind:[{type:l.Input}]},t}(),g=function(){function o(){}return o.forRoot=function(t,e,n){return void 0===e&&(e=[]),{ngModule:o,providers:[{provide:r,useValue:{trackingCode:t,commands:e,uri:n}},i]}},o.decorators=[{type:l.NgModule,args:[{imports:[],declarations:[s,c,u],exports:[s,c,u]}]}],o}();t.GoogleAnalyticsInitializer=e,t.NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER=i,t.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN=r,t.GaActionEnum={add_payment_info:"add_payment_info",add_to_cart:"add_to_cart",add_to_wishlist:"add_to_wishlist",begin_checkout:"begin_checkout",checkout_progress:"checkout_progress",generate_lead:"generate_lead",login:"login",purchase:"purchase",refund:"refund",remove_from_cart:"remove_from_cart",search:"search",select_content:"select_content",set_checkout_option:"set_checkout_option",share:"share",sign_up:"sign_up",view_item:"view_item",view_item_list:"view_item_list",view_promotion:"view_promotion",view_search_results:"view_search_results"},t.GoogleAnalyticsService=a,t.GaEventCategoryDirective=c,t.GaEventDirective=s,t.NgxGoogleAnalyticsModule=g,t.ɵa=u,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/router"),require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-google-analytics",["exports","@angular/router","@angular/core","@angular/common"],e):e(t["ngx-google-analytics"]={},t.ng.router,t.ng.core,t.ng.common)}(this,function(t,o,l,e){"use strict";function i(e,a,c,u){return new(c||(c=Promise))(function(t,n){function r(t){try{i(u.next(t))}catch(e){n(e)}}function o(t){try{i(u["throw"](t))}catch(e){n(e)}}function i(e){e.done?t(e.value):new c(function(t){t(e.value)}).then(r,o)}i((u=u.apply(e,a||[])).next())})}function p(r,o){var i,a,c,t,u={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return t={next:e(0),"throw":e(1),"return":e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function n(t){if(i)throw new TypeError("Generator is already executing.");for(;u;)try{if(i=1,a&&(c=2&t[0]?a["return"]:t[0]?a["throw"]||((c=a["return"])&&c.call(a),0):a.next)&&!(c=c.call(a,t[1])).done)return c;switch(a=0,c&&(t=[2&t[0],c.value]),t[0]){case 0:case 1:c=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,a=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(!(c=0<(c=u.trys).length&&c[c.length-1])&&(6===t[0]||2===t[0])){u=0;continue}if(3===t[0]&&(!c||t[1]>c[0]&&t[1]<c[3])){u.label=t[1];break}if(6===t[0]&&u.label<c[1]){u.label=c[1],c=t;break}if(c&&u.label<c[2]){u.label=c[2],u.ops.push(t);break}c[2]&&u.ops.pop(),u.trys.pop();continue}t=o.call(r,u)}catch(e){t=[6,e],a=0}finally{i=c=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([e,t])}}}function n(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=i.next()).done;)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(n(arguments[e]));return t}var a=new l.InjectionToken("ngx-hotjar-settings",{factory:function(){return{trackingCode:""}}}),c={provide:l.APP_INITIALIZER,multi:!0,useFactory:r,deps:[a]};function r(g){var t=this;return function(){return i(t,void 0,void 0,function(){var n,o,i,a,c,u,s;return p(this,function(t){if(!g.trackingCode)return l.isDevMode()||console.error("Empty tracking code for Google Analytics. Make sure to provide one when initializing NgxGoogleAnalyticsModule."),[2];g.uri=g.uri||"https://www.googletagmanager.com/gtag/js?id="+g.trackingCode,i=[{command:"js",values:[new Date]},{command:"config",values:[g.trackingCode]}],g.initCommands=f(i,g.initCommands||[]),window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)};try{for(a=function r(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}(g.initCommands),c=a.next();!c.done;c=a.next())u=c.value,window.gtag.apply(window,f([u.command],u.values))}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=a["return"])&&o.call(a)}finally{if(n)throw n.error}}return(s=document.createElement("script")).async=!0,s.src=g.uri,document.getElementsByTagName("head")[0].appendChild(s),[2]})})}}var u=function(){function t(t){this.$trackingId=t}return t.prototype["throw"]=function(t){console&&console.error&&console.error(t)},t.prototype.gtag=function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];try{window.gtag.apply(window,f([t,e],n))}catch(o){this["throw"](o)}},t.prototype.event=function(t,e,n,r,o){try{if(window.gtag){var i={};e&&(i.category=e),n&&(i.label=n),r&&(i.value=r),o!==undefined&&(i.interaction=o),this.gtag("event",t,i)}}catch(a){this["throw"](a)}},t.prototype.pageView=function(t,e,n,r){try{if(window.gtag){var o={};t&&(o.page_path=t),e&&(o.page_title=e),n&&(o.page_location=n),r&&Object.assign(o,r),this.gtag("config",this.$trackingId.trackingCode,o)}}catch(i){this["throw"](i)}},t.prototype.appView=function(t,e,n,r,o){try{if(window.gtag){var i={};t&&(i.screen_name=t),e&&(i.app_name=e),n&&(i.app_id=n),r&&(i.app_version=r),o&&(i.app_installer_id=o),this.gtag("event","screen_view",i)}}catch(a){this["throw"](a)}},t.prototype.exception=function(t,e){try{if(window.gtag){var n={};t&&(n.description=t),e&&(n.fatal=e),this.gtag("event","exception",n)}}catch(r){this["throw"](r)}},t.decorators=[{type:l.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:undefined,decorators:[{type:l.Inject,args:[a]}]}]},t.ngInjectableDef=l.defineInjectable({factory:function(){return new t(l.inject(a))},token:t,providedIn:"root"}),t}(),s={provide:l.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:g,deps:[u,o.Router]};function g(e,n){var r=this;return function(t){return i(r,void 0,void 0,function(){return p(this,function(t){return n.events.subscribe(function(t){t instanceof o.NavigationEnd&&e.pageView(t.urlAfterRedirects)}),[2]})})}}var d=function(){function t(){}return t.decorators=[{type:l.Directive,args:[{selector:"[gaEvent][gaCategory],\n [gaCategory]",exportAs:"gaCategory"}]}],t.ctorParameters=function(){return[]},t.propDecorators={gaCategory:[{type:l.Input}]},t}(),y=function(){function t(t,e){this.$gaCategoryDirective=t,this.$gaService=e,this.gaBind="click"}return t.prototype.ngOnInit=function(){},t.prototype.onClick=function(){"click"===this.gaBind&&this.trigger()},t.prototype.onFocus=function(){"focus"===this.gaBind&&this.trigger()},t.prototype.onBlur=function(){"blur"===this.gaBind&&this.trigger()},t.prototype.trigger=function(){try{if(!this.$gaCategoryDirective)throw new Error("You must provide a gaCategory attribute w/ gaEvent Directive.");if(!this.gaAction)throw new Error("You must provide a gaAction atrribute to identify this event.");this.$gaService.event(this.gaAction,this.$gaCategoryDirective.gaCategory,this.gaLabel||this.label,this.gaValue,this.gaInteraction)}catch(t){this["throw"](t)}},t.prototype["throw"]=function(t){console&&console.warn&&console.warn(t)},t.decorators=[{type:l.Directive,args:[{selector:"[gaEvent]",exportAs:"gaEvent"}]}],t.ctorParameters=function(){return[{type:d,decorators:[{type:l.Optional}]},{type:u}]},t.propDecorators={gaAction:[{type:l.Input}],gaLabel:[{type:l.Input}],label:[{type:l.Input}],gaValue:[{type:l.Input}],gaInteraction:[{type:l.Input}],gaBind:[{type:l.Input}],onClick:[{type:l.HostListener,args:["click"]}],onFocus:[{type:l.HostListener,args:["focus"]}],onBlur:[{type:l.HostListener,args:["blur"]}]},t}(),h=function(){function t(t){this.$gaEvent=t}return t.prototype.ngOnInit=function(){this.$gaEvent&&(this.$gaEvent.gaBind=this.gaBind?this.$gaEvent.gaBind:"focus")},t.decorators=[{type:l.Directive,args:[{selector:"input[gaEvent],\n select[gaEvent],\n textarea[gaEvent]"}]}],t.ctorParameters=function(){return[{type:y,decorators:[{type:l.Host},{type:l.Optional}]}]},t.propDecorators={gaBind:[{type:l.Input}]},t}(),v=function(){function r(){}return r.forRoot=function(t,e,n){return void 0===e&&(e=[]),{ngModule:r,providers:[{provide:a,useValue:{trackingCode:t,commands:e,uri:n}},c]}},r.decorators=[{type:l.NgModule,args:[{imports:[],declarations:[y,d,h],exports:[y,d,h]}]}],r}(),w=function(){function t(){}return t.decorators=[{type:l.NgModule,args:[{imports:[e.CommonModule,v],providers:[s],declarations:[]}]}],t}();t.GoogleAnalyticsInitializer=r,t.NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER=c,t.GoogleAnalyticsRouterInitializer=g,t.NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER=s,t.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN=a,t.GoogleAnalyticsService=u,t.GaEventCategoryDirective=d,t.GaEventDirective=y,t.GaEventFormInputDirective=h,t.NgxGoogleAnalyticsModule=v,t.NgxGoogleAnalyticsRouterModule=w,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ngx-google-analytics.umd.min.js.map |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
import { Directive, Host, Optional, Input, HostListener } from '@angular/core'; | ||
import { Directive, Optional, Input, HostListener } from '@angular/core'; | ||
import { GaEventCategoryDirective } from './ga-event-category.directive'; | ||
@@ -84,3 +84,3 @@ import { GoogleAnalyticsService } from '../services/google-analytics.service'; | ||
GaEventDirective.ctorParameters = () => [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Host }, { type: Optional }] }, | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
@@ -118,2 +118,2 @@ ]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9nYS1ldmVudC5kaXJlY3RpdmU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ZlLicpO1xyXG4gICAgICB9XHJcblxyXG4gICAgICBpZiAoIXRoaXMuZ2FBY3Rpb24pIHtcclxuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ1lvdSBtdXN0IHByb3ZpZGUgYSBnYUFjdGlvbiBhdHJyaWJ1dGUgdG8gaWRlbnRpZnkgdGhpcyBldmVudC4nKTtcclxuICAgICAgfVxyXG5cclxuICAgICAgdGhpcy4kZ2FTZXJ2aWNlXHJcbiAgICAgICAgICAuZXZlbnQoXHJcbiAgICAgICAgICAgIHRoaXMuZ2FBY3Rpb24sXHJcbiAgICAgICAgICAgIHRoaXMuJGdhQ2F0ZWdvcnlEaXJlY3RpdmUuZ2FDYXRlZ29yeSxcclxuICAgICAgICAgICAgdGhpcy5nYUxhYmVsIHx8IHRoaXMubGFiZWwsXHJcbiAgICAgICAgICAgIHRoaXMuZ2FWYWx1ZSxcclxuICAgICAgICAgICAgdGhpcy5nYUludGVyYWN0aW9uXHJcbiAgICAgICAgICApO1xyXG4gICAgfSBjYXRjaCAoZXJyKSB7XHJcbiAgICAgIHRoaXMudGhyb3coZXJyKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIHByb3RlY3RlZCB0aHJvdyhlcnI6IEVycm9yKSB7XHJcbiAgICBpZiAoY29uc29sZSAmJiBjb25zb2xlLndhcm4pIHtcclxuICAgICAgY29uc29sZS53YXJuKGVycik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxufVxyXG4iXX0= |
@@ -43,2 +43,2 @@ /** | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvbmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxP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iAgc3RhdGljIGZvclJvb3QodHJhY2tpbmdDb2RlOiBzdHJpbmcsIGNvbW1hbmRzOiBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZFtdID0gW10sIHVyaT86IHN0cmluZyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xuICAgIHJldHVybiB7XG4gICAgICBuZ01vZHVsZTogTmd4R29vZ2xlQW5hbHl0aWNzTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBOR1hfR09PR0xFX0FOQUxZVElDU19TRVRUSU5HU19UT0tFTixcbiAgICAgICAgICB1c2VWYWx1ZToge1xuICAgICAgICAgICAgdHJhY2tpbmdDb2RlOiB0cmFja2luZ0NvZGUsXG4gICAgICAgICAgICBjb21tYW5kczogY29tbWFuZHMsXG4gICAgICAgICAgICB1cmk6IHVyaVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfSU5JVElBTElaRVJfUFJPVklERVIsXG4gICAgICBdXG4gICAgfTtcbiAgfVxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvbmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUF1QixNQUFNLGVBQWUsQ0FBQztBQUU5RCxPQUFPLEVBQUUseUNBQXlDLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUN4RyxPQUFPLEVBQUUsbUNBQW1DLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUNuRyxPQUFPLEVBQUU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XRvX3BsYXlfc3RhcnQnXHJcbiAgICogQHBhcmFtIGNhdGVnb3J5ICd2aWRlb19hdXRvX3BsYXknXHJcbiAgICogQHBhcmFtIGxhYmVsICdNeSBwcm9tb3Rpb25hbCB2aWRlbydcclxuICAgKiBAcGFyYW0gdmFsdWUgQW4gdmFsdWUgdG8gbWVhc3VyZSBzb21ldGhpbmdcclxuICAgKi9cclxuICBldmVudChhY3Rpb246IEdhQWN0aW9uRW51bSB8IHN0cmluZywgY2F0ZWdvcnk/OiBzdHJpbmcsIGxhYmVsPzogc3RyaW5nLCB2YWx1ZT86IG51bWJlciwgaW50ZXJhY3Rpb24/OiBib29sZWFuKSB7XHJcbiAgICB0cnkge1xyXG4gICAgICBpZiAod2luZG93WydndGFnJ10pIHtcclxuICAgICAgICBjb25zdCBvcHQgPSB7fTtcclxuICAgICAgICBpZiAoY2F0ZWdvcnkpIHtcclxuICAgICAgICAgIG9wdFsnY2F0ZWdvcnknXSA9IGNhdGVnb3J5O1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAobGFiZWwpIHtcclxuICAgICAgICAgIG9wdFsnbGFiZWwnXSA9IGxhYmVsO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAodmFsdWUpIHtcclxuICAgICAgICAgIG9wdFsndmFsdWUnXSA9IHZhbHVlO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAoaW50ZXJhY3Rpb24gIT09IHVuZGVmaW5lZCkge1xyXG4gICAgICAgICAgb3B0WydpbnRlcmFjdGlvbiddID0gaW50ZXJhY3Rpb247XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMuZ3RhZygnZXZlbnQnLCBhY3Rpb24gYXMgc3RyaW5nLCBvcHQpO1xyXG4gICAgICB9XHJcbiAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICB0aGlzLnRocm93KGVycm9yKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIFNlbmQgYW4gcGFnZSB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F0YWxcclxuICAgKiB9KTtcclxuICAgKiBgYGBcclxuICAgKlxyXG4gICAqIEBwYXJhbSBkZXNjcmlwdGlvbiAnZXJyb3JfZGVzY3JpcHRpb24nXHJcbiAgICogQHBhcmFtIGZhdGFsIHNldCB0byB0cnVlIGlmIHRoZSBlcnJvciBpcyBmYXRhbFxyXG4gICAqL1xyXG4gIGV4Y2VwdGlvbihkZXNjcmlwdGlvbj86IHN0cmluZywgZmF0YWw/OiBib29sZWFuKSB7XHJcbiAgICB0cnkge1xyXG4gICAgICBpZiAod2luZG93WydndGFnJ10pIHtcclxuICAgICAgICBjb25zdCBvcHQgPSB7fTtcclxuICAgICAgICBpZiAoZGVzY3JpcHRpb24pIHtcclxuICAgICAgICAgIG9wdFsnZGVzY3JpcHRpb24nXSA9IGRlc2NyaXB0aW9uO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAoZmF0YWwpIHtcclxuICAgICAgICAgIG9wdFsnZmF0YWwnXSA9IGZhdGFsO1xyXG4gICAgICAgIH1cclxuICAgICAgICB0aGlzLmd0YWcoJ2V2ZW50JywgJ2V4Y2VwdGlvbicsIG9wdCk7XHJcbiAgICAgIH1cclxuICAgIH0gY2F0Y2ggKGVycm9yKSB7XHJcbiAgICAgIHRoaXMudGhyb3coZXJyb3IpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN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xuICAgKlxyXG4gICAqIGBgYGpzXHJcbiAgICogZ3RhZygnZXZlbnQnLCAnZXhjZXB0aW9uJywge1xyXG4gICAqICAgJ2Rlc2NyaXB0aW9uJzogJ2Vycm9yX2Rlc2NyaXB0aW9uJyxcclxuICAgKiAgICdmYXRhbCc6IGZhbHNlICAgLy8gc2V0IHRvIHRydWUgaWYgdGhlIGVycm9yIGlzIGZhdGFsXHJcbiAgICogfSk7XHJcbiAgICogYGBgXHJcbiAgICpcclxuICAgKiBAcGFyYW0gZGVzY3JpcHRpb24gJ2Vycm9yX2Rlc2NyaXB0aW9uJ1xyXG4gICAqIEBwYXJhbSBmYXRhbCBzZXQgdG8gdHJ1ZSBpZiB0aGUgZXJyb3IgaXMgZmF0YWxcclxuICAgKi9cclxuICBleGNlcHRpb24oZGVzY3JpcHRpb24/OiBzdHJpbmcsIGZhdGFsPzogYm9vbGVhbikge1xyXG4gICAgdHJ5IHtcclxuICAgICAgaWYgKHdpbmRvd1snZ3RhZyddKSB7XHJcbiAgICAgICAgY29uc3Qgb3B0ID0ge307XHJcbiAgICAgICAgaWYgKGRlc2NyaXB0aW9uKSB7XHJcbiAgICAgICAgICBvcHRbJ2Rlc2NyaXB0aW9uJ10gPSBkZXNjcmlwdGlvbjtcclxuICAgICAgICB9XHJcbiAgICAgICAgaWYgKGZhdGFsKSB7XHJcbiAgICAgICAgICBvcHRbJ2ZhdGFsJ10gPSBmYXRhbDtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5ndGFnKCdldmVudCcsICdleGNlcHRpb24nLCBvcHQpO1xyXG4gICAgICB9XHJcbiAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICB0aGlzLnRocm93KGVycm9yKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 |
@@ -8,5 +8,4 @@ /** | ||
*/ | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GaActionEnum, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, NgxGoogleAnalyticsModule } from './public_api'; | ||
export { GaEventFormInputDirective as ɵa } from './lib/directives/ga-event-form-input.directive'; | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, GaEventFormInputDirective, NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbIm5neC1nb29nbGUtYW5hbHl0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx1T0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHlCQUF5QixJQUFJLEVBQUUsRUFBQyxNQUFNLGdEQUFnRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge0dhRXZlbnRGb3JtSW5wdXREaXJlY3RpdmUgYXMgybVhfSBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LWZvcm0taW5wdXQuZGlyZWN0aXZlJzsiXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbIm5neC1nb29nbGUtYW5hbHl0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3V0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -9,9 +9,11 @@ /** | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER } from './lib/initializers/google-analytics.initializer'; | ||
export { GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER } from './lib/initializers/google-analytics-router.initializer'; | ||
export { NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN } from './lib/tokens/ngx-google-analytics-settings-token'; | ||
export { GaActionEnum } from './lib/enums/ga-action.enum'; | ||
export { GoogleAnalyticsService } from './lib/services/google-analytics.service'; | ||
export { GaEventCategoryDirective } from './lib/directives/ga-event-category.directive'; | ||
export { GaEventDirective } from './lib/directives/ga-event.directive'; | ||
export { GaEventFormInputDirective } from './lib/directives/ga-event-form-input.directive'; | ||
export { NgxGoogleAnalyticsModule } from './lib/ngx-google-analytics.module'; | ||
export { NgxGoogleAnalyticsRouterModule } from './lib/ngx-google-analytics-router/ngx-google-analytics-router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0ZBQWMsaURBQ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WIvdHlwZXMvZ2EtYmluZC50eXBlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9nYS1ldmVudC1jYXRlZ29yeS5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvZ2EtZXZlbnQtZm9ybS1pbnB1dC5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZ29vZ2xlLWFuYWx5dGljcy5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIvbmd4LWdvb2dsZS1hbmFseXRpY3Mtcm91dGVyLm1vZHVsZSc7XHJcbiJdfQ== |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
import { Directive, Host, Optional, Input, HostListener } from '@angular/core'; | ||
import { Directive, Optional, Input, HostListener } from '@angular/core'; | ||
import { GaEventCategoryDirective } from './ga-event-category.directive'; | ||
@@ -98,3 +98,3 @@ import { GoogleAnalyticsService } from '../services/google-analytics.service'; | ||
GaEventDirective.ctorParameters = function () { return [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Host }, { type: Optional }] }, | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
@@ -135,2 +135,2 @@ ]; }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIv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BbR2FFdmVudERpcmVjdGl2ZSwgR2FFdmVudENhdGVnb3J5RGlyZWN0aXZlLCBHYUV2ZW50Rm9ybUlucHV0RGlyZWN0aXZlXSxcbiAgZXhwb3J0czogW0dhRXZlbnREaXJlY3RpdmUsIEdhRXZlbnRDYXRlZ29yeURpcmVjdGl2ZSwgR2FFdmVudEZvcm1JbnB1dERpcmVjdGl2ZV1cbn0pXG5leHBvcnQgY2xhc3MgTmd4R29vZ2xlQW5hbHl0aWNzTW9kdWxlIHtcbiAgc3RhdGljIGZvclJvb3QodHJhY2tpbmdDb2RlOiBzdHJpbmcsIGNvbW1hbmRzOiBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZFtdID0gW10sIHVyaT86IHN0cmluZyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xuICAgIHJldHVybiB7XG4gICAgICBuZ01vZHVsZTogTmd4R29vZ2xlQW5hbHl0aWNzTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBOR1hfR09PR0xFX0FOQUxZVElDU19TRVRUSU5HU19UT0tFTixcbiAgICAgICAgICB1c2VWYWx1ZToge1xuICAgICAgICAgICAgdHJhY2tpbmdDb2RlOiB0cmFja2luZ0NvZGUsXG4gICAgICAgICAgICBjb21tYW5kczogY29tbWFuZHMsXG4gICAgICAgICAgICB1cmk6IHVyaVxuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfSU5JVElBTElaRVJfUFJPVklERVIsXG4gICAgICBdXG4gICAgfTtcbiAgfVxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvbmd4LWdvb2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0czogW0dhRXZlbnREaXJlY3RpdmUsIEdhRXZlbnRDYXRlZ29yeURpcmVjdGl2ZSwgR2FFdmVudEZvcm1JbnB1dERpcmVjdGl2ZV1cclxufSlcclxuZXhwb3J0IGNsYXNzIE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSB7XHJcbiAgc3RhdGljIGZvclJvb3QodHJhY2tpbmdDb2RlOiBzdHJpbmcsIGNvbW1hbmRzOiBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZFtdID0gW10sIHVyaT86IHN0cmluZyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSxcclxuICAgICAgcHJvdmlkZXJzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogTkdYX0dPT0dMRV9BTkFMWVRJQ1NfU0VUVElOR1NfVE9LRU4sXHJcbiAgICAgICAgICB1c2VWYWx1ZToge1xyXG4gICAgICAgICAgICB0cmFja2luZ0NvZGU6IHRyYWNraW5nQ29kZSxcclxuICAgICAgICAgICAgY29tbWFuZHM6IGNvbW1hbmRzLFxyXG4gICAgICAgICAgICB1cmk6IHVyaVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfSU5JVElBTElaRVJfUFJPVklERVIsXHJcbiAgICAgIF1cclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== |
@@ -366,2 +366,2 @@ /** | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNl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gY3VzdG9tIGRpbWVudGlvbnMgfSdcclxuICAgKi9cclxuICBwYWdlVmlldyggcGF0aD86IHN0cmluZywgdGl0bGU/OiBzdHJpbmcsIGxvY2F0aW9uPzogc3RyaW5nLCBvcHRpb25zPzogT2JqZWN0KSB7XHJcbiAgICB0cnkge1xyXG4gICAgICBpZiAod2luZG93WydndGFnJ10pIHtcclxuICAgICAgICBjb25zdCBvcHQgPSB7fTtcclxuICAgICAgICBpZiAocGF0aCkge1xyXG4gICAgICAgICAgb3B0WydwYWdlX3BhdGgnXSA9IHBhdGg7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGlmICh0aXRsZSkge1xyXG4gICAgICAgICAgb3B0WydwYWdlX3RpdGxlJ10gPSB0aXRsZTtcclxuICAgICAgICB9XHJcbiAgICAgICAgaWYgKGxvY2F0aW9uKSB7XHJcbiAgICAgICAgICBvcHRbJ3BhZ2VfbG9jYXRpb24nXSA9IGxvY2F0aW9uO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAob3B0aW9ucykge1xyXG4gICAgICAgICAgT2JqZWN0LmFzc2lnbihvcHQsIG9wdGlvbnMpO1xyXG4gICAgICAgIH1cclxuICAgICAgICB0aGlzLmd0YWcoJ2NvbmZpZycsIHRoaXMuJHRyYWNraW5nSWQudHJhY2tpbmdDb2RlLCBvcHQpO1xyXG4gICAgICB9XHJcbiAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICB0aGlzLnRocm93KGVycm9yKTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8qKlxyXG4gICAqIFNlbmQgYW4gZXZlbnRvIHRvIHJlcG9ydCBhIEFwcCBQYWdlIFZpZXcuIEl0IGlzIHRoZSBzYW1lIGFzXHJcbiAgICpcclxuICAgKiBgYGBqc1xyXG4gICAqIGd0YWcoJ2V2ZW50JywgJ3NjcmVlbl92aWV3Jywge1xyXG4gICAqICAgJ2FwcF9uYW1lJzogJ215QXBwTmFtZScsXHJcbiAgICogICAnc2NyZWVu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G4gICAgICAgIHRoaXMuZ3RhZygnZXZlbnQnLCAnZXhjZXB0aW9uJywgb3B0KTtcclxuICAgICAgfVxyXG4gICAgfSBjYXRjaCAoZXJyb3IpIHtcclxuICAgICAgdGhpcy50aHJvdyhlcnJvcik7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ== |
@@ -8,5 +8,4 @@ /** | ||
*/ | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GaActionEnum, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, NgxGoogleAnalyticsModule } from './public_api'; | ||
export { GaEventFormInputDirective as ɵa } from './lib/directives/ga-event-form-input.directive'; | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, GaEventFormInputDirective, NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbIm5neC1nb29nbGUtYW5hbHl0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx1T0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHlCQUF5QixJQUFJLEVBQUUsRUFBQyxNQUFNLGdEQUFnRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge0dhRXZlbnRGb3JtSW5wdXREaXJlY3RpdmUgYXMgybVhfSBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LWZvcm0taW5wdXQuZGlyZWN0aXZlJzsiXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbIm5neC1nb29nbGUtYW5hbHl0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3V0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -9,9 +9,11 @@ /** | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER } from './lib/initializers/google-analytics.initializer'; | ||
export { GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER } from './lib/initializers/google-analytics-router.initializer'; | ||
export { NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN } from './lib/tokens/ngx-google-analytics-settings-token'; | ||
export { GaActionEnum } from './lib/enums/ga-action.enum'; | ||
export { GoogleAnalyticsService } from './lib/services/google-analytics.service'; | ||
export { GaEventCategoryDirective } from './lib/directives/ga-event-category.directive'; | ||
export { GaEventDirective } from './lib/directives/ga-event.directive'; | ||
export { GaEventFormInputDirective } from './lib/directives/ga-event-form-input.directive'; | ||
export { NgxGoogleAnalyticsModule } from './lib/ngx-google-analytics.module'; | ||
export { NgxGoogleAnalyticsRouterModule } from './lib/ngx-google-analytics-router/ngx-google-analytics-router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0ZBQWMsaURBQWlELENBQUM7QUFHaEUsb0RBQWMsa0RBQWtELENBQUM7QUFDakUsNkJBQWMsNEJBQTRCLENBQUM7QUFDM0MsdUNBQWMseUNBQXlDLENBQUM7QUFDeEQseUNBQWMsOENBQThDLENBQUM7QUFDN0QsaUNBQWMscUNBQXFDLENBQUM7QUFDcEQseUNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1nb29nbGUtYW5hbHl0aWNzXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvaW5pdGlhbGl6ZXJzL2dvb2dsZS1hbmFseXRpY3MuaW5pdGlhbGl6ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvaW50ZXJmYWNlcy9pLWdvb2dsZS1hbmFseXRpY3MtY29tbWFudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1zZXR0aW5ncyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi90b2tlbnMvbmd4LWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MtdG9rZW4nO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZW51bXMvZ2EtYWN0aW9uLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlJztc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bHl0aWNzLWNvbW1hbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1zZXR0aW5ncyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Rva2Vucy9uZ3gtZ29vZ2xlLWFuYWx5dGljcy1zZXR0aW5ncy10b2tlbic7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3R5cGVzL2dhLWFjdGlvbi50eXBlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMvZ2EtYmluZC50eXBlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9nYS1ldmVudC1jYXRlZ29yeS5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvZ2EtZXZlbnQtZm9ybS1pbnB1dC5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZ29vZ2xlLWFuYWx5dGljcy5tb2R1bGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIvbmd4LWdvb2dsZS1hbmFseXRpY3Mtcm91dGVyLm1vZHVsZSc7XHJcbiJdfQ== |
import { __awaiter } from 'tslib'; | ||
import { InjectionToken, APP_INITIALIZER, isDevMode, Injectable, Inject, Directive, Host, Optional, Input, NgModule, HostListener, defineInjectable, inject } from '@angular/core'; | ||
import { Router, NavigationEnd } from '@angular/router'; | ||
import { InjectionToken, APP_INITIALIZER, isDevMode, Injectable, Inject, NgModule, Directive, Input, Optional, HostListener, Host, APP_BOOTSTRAP_LISTENER, defineInjectable, inject } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -67,29 +69,2 @@ /** | ||
*/ | ||
/** @enum {string} */ | ||
const GaActionEnum = { | ||
add_payment_info: 'add_payment_info', | ||
add_to_cart: 'add_to_cart', | ||
add_to_wishlist: 'add_to_wishlist', | ||
begin_checkout: 'begin_checkout', | ||
checkout_progress: 'checkout_progress', | ||
generate_lead: 'generate_lead', | ||
login: 'login', | ||
purchase: 'purchase', | ||
refund: 'refund', | ||
remove_from_cart: 'remove_from_cart', | ||
search: 'search', | ||
select_content: 'select_content', | ||
set_checkout_option: 'set_checkout_option', | ||
share: 'share', | ||
sign_up: 'sign_up', | ||
view_item: 'view_item', | ||
view_item_list: 'view_item_list', | ||
view_promotion: 'view_promotion', | ||
view_search_results: 'view_search_results', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
class GoogleAnalyticsService { | ||
@@ -302,2 +277,33 @@ /** | ||
*/ | ||
/** @type {?} */ | ||
const NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER = { | ||
provide: APP_BOOTSTRAP_LISTENER, | ||
multi: true, | ||
useFactory: GoogleAnalyticsRouterInitializer, | ||
deps: [ | ||
GoogleAnalyticsService, | ||
Router | ||
] | ||
}; | ||
/** | ||
* @param {?} $gaService | ||
* @param {?} $router | ||
* @return {?} | ||
*/ | ||
function GoogleAnalyticsRouterInitializer($gaService, $router) { | ||
return (c) => __awaiter(this, void 0, void 0, function* () { | ||
$router | ||
.events | ||
.subscribe(event => { | ||
if (event instanceof NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects); | ||
} | ||
}); | ||
}); | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
class GaEventCategoryDirective { | ||
@@ -398,3 +404,3 @@ constructor() { } | ||
GaEventDirective.ctorParameters = () => [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Host }, { type: Optional }] }, | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
@@ -491,2 +497,16 @@ ]; | ||
*/ | ||
class NgxGoogleAnalyticsRouterModule { | ||
} | ||
NgxGoogleAnalyticsRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
CommonModule, | ||
NgxGoogleAnalyticsModule | ||
], | ||
providers: [ | ||
NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER | ||
], | ||
declarations: [] | ||
},] } | ||
]; | ||
@@ -498,4 +518,9 @@ /** | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GaActionEnum, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, NgxGoogleAnalyticsModule, GaEventFormInputDirective as ɵa }; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, GaEventFormInputDirective, NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule }; | ||
//# sourceMappingURL=ngx-google-analytics.js.map |
@@ -0,3 +1,5 @@ | ||
import { Router, NavigationEnd } from '@angular/router'; | ||
import { __awaiter, __generator, __spread, __values } from 'tslib'; | ||
import { InjectionToken, APP_INITIALIZER, isDevMode, Injectable, Inject, Directive, Host, Optional, Input, NgModule, HostListener, defineInjectable, inject } from '@angular/core'; | ||
import { InjectionToken, APP_INITIALIZER, isDevMode, Injectable, Inject, NgModule, Directive, Input, Host, Optional, HostListener, APP_BOOTSTRAP_LISTENER, defineInjectable, inject } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -79,29 +81,2 @@ /** | ||
*/ | ||
/** @enum {string} */ | ||
var GaActionEnum = { | ||
add_payment_info: 'add_payment_info', | ||
add_to_cart: 'add_to_cart', | ||
add_to_wishlist: 'add_to_wishlist', | ||
begin_checkout: 'begin_checkout', | ||
checkout_progress: 'checkout_progress', | ||
generate_lead: 'generate_lead', | ||
login: 'login', | ||
purchase: 'purchase', | ||
refund: 'refund', | ||
remove_from_cart: 'remove_from_cart', | ||
search: 'search', | ||
select_content: 'select_content', | ||
set_checkout_option: 'set_checkout_option', | ||
share: 'share', | ||
sign_up: 'sign_up', | ||
view_item: 'view_item', | ||
view_item_list: 'view_item_list', | ||
view_promotion: 'view_promotion', | ||
view_search_results: 'view_search_results', | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
var GoogleAnalyticsService = /** @class */ (function () { | ||
@@ -462,2 +437,37 @@ function GoogleAnalyticsService($trackingId) { | ||
*/ | ||
/** @type {?} */ | ||
var NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER = { | ||
provide: APP_BOOTSTRAP_LISTENER, | ||
multi: true, | ||
useFactory: GoogleAnalyticsRouterInitializer, | ||
deps: [ | ||
GoogleAnalyticsService, | ||
Router | ||
] | ||
}; | ||
/** | ||
* @param {?} $gaService | ||
* @param {?} $router | ||
* @return {?} | ||
*/ | ||
function GoogleAnalyticsRouterInitializer($gaService, $router) { | ||
var _this = this; | ||
return function (c) { return __awaiter(_this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
$router | ||
.events | ||
.subscribe(function (event) { | ||
if (event instanceof NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects); | ||
} | ||
}); | ||
return [2 /*return*/]; | ||
}); | ||
}); }; | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
var GaEventCategoryDirective = /** @class */ (function () { | ||
@@ -573,3 +583,3 @@ function GaEventCategoryDirective() { | ||
GaEventDirective.ctorParameters = function () { return [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Host }, { type: Optional }] }, | ||
{ type: GaEventCategoryDirective, decorators: [{ type: Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
@@ -677,2 +687,19 @@ ]; }; | ||
*/ | ||
var NgxGoogleAnalyticsRouterModule = /** @class */ (function () { | ||
function NgxGoogleAnalyticsRouterModule() { | ||
} | ||
NgxGoogleAnalyticsRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
CommonModule, | ||
NgxGoogleAnalyticsModule | ||
], | ||
providers: [ | ||
NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER | ||
], | ||
declarations: [] | ||
},] } | ||
]; | ||
return NgxGoogleAnalyticsRouterModule; | ||
}()); | ||
@@ -684,4 +711,9 @@ /** | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GaActionEnum, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, NgxGoogleAnalyticsModule, GaEventFormInputDirective as ɵa }; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
export { GoogleAnalyticsInitializer, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, GoogleAnalyticsService, GaEventCategoryDirective, GaEventDirective, GaEventFormInputDirective, NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule }; | ||
//# sourceMappingURL=ngx-google-analytics.js.map |
import { OnInit } from '@angular/core'; | ||
import { GaEventCategoryDirective } from './ga-event-category.directive'; | ||
import { GoogleAnalyticsService } from '../services/google-analytics.service'; | ||
import { GaActionEnum } from '../enums/ga-action.enum'; | ||
import { GaBind } from '../types/ga-bind.type'; | ||
import { GaAction } from '../types/ga-action.type'; | ||
export declare class GaEventDirective implements OnInit { | ||
@@ -10,3 +10,3 @@ protected $gaCategoryDirective: GaEventCategoryDirective; | ||
constructor($gaCategoryDirective: GaEventCategoryDirective, $gaService: GoogleAnalyticsService); | ||
gaAction: GaActionEnum | string; | ||
gaAction: GaAction | string; | ||
gaLabel: string; | ||
@@ -13,0 +13,0 @@ label: string; |
@@ -1,3 +0,3 @@ | ||
import { GaActionEnum } from '../enums/ga-action.enum'; | ||
import { IGoogleAnalyticsSettings } from '../interfaces/i-google-analytics-settings'; | ||
import { GaAction } from '../types/ga-action.type'; | ||
export declare class GoogleAnalyticsService { | ||
@@ -29,3 +29,3 @@ protected $trackingId: IGoogleAnalyticsSettings; | ||
*/ | ||
event(action: GaActionEnum | string, category?: string, label?: string, value?: number, interaction?: boolean): void; | ||
event(action: GaAction | string, category?: string, label?: string, value?: number, interaction?: boolean): void; | ||
/** | ||
@@ -32,0 +32,0 @@ * Send an page view event. This is the same as |
@@ -5,2 +5,1 @@ /** | ||
export * from './public_api'; | ||
export { GaEventFormInputDirective as ɵa } from './lib/directives/ga-event-form-input.directive'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":6,"character":11},"multi":true,"useFactory":{"__symbolic":"reference","name":"GoogleAnalyticsInitializer"},"deps":[{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN"}]},"GoogleAnalyticsInitializer":{"__symbolic":"function","parameters":["$settings"],"value":{"__symbolic":"error","message":"Lambda not supported","line":17,"character":9,"module":"./lib/initializers/google-analytics.initializer"}},"IGoogleAnalyticsCommand":{"__symbolic":"interface"},"IGoogleAnalyticsSettings":{"__symbolic":"interface"},"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":55},"arguments":["ngx-hotjar-settings",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":11,"module":"./lib/tokens/ngx-google-analytics-settings-token"}]},"GaActionEnum":{"add_payment_info":"add_payment_info","add_to_cart":"add_to_cart","add_to_wishlist":"add_to_wishlist","begin_checkout":"begin_checkout","checkout_progress":"checkout_progress","generate_lead":"generate_lead","login":"login","purchase":"purchase","refund":"refund","remove_from_cart":"remove_from_cart","search":"search","select_content":"select_content","set_checkout_option":"set_checkout_option","share":"share","sign_up":"sign_up","view_item":"view_item","view_item_list":"view_item_list","view_promotion":"view_promotion","view_search_results":"view_search_results"},"GoogleAnalyticsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":10,"character":5},"arguments":[{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"IGoogleAnalyticsSettings"}]}],"throw":[{"__symbolic":"method"}],"gtag":[{"__symbolic":"method"}],"event":[{"__symbolic":"method"}],"pageView":[{"__symbolic":"method"}],"appView":[{"__symbolic":"method"}],"exception":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"GaEventCategoryDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[gaEvent][gaCategory],\n [gaCategory]","exportAs":"gaCategory"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"gaCategory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}]}},"GaEventDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":6,"character":1},"arguments":[{"selector":"[gaEvent]","exportAs":"gaEvent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host","line":13,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":13,"character":13}}],null],"parameters":[{"__symbolic":"reference","name":"GaEventCategoryDirective"},{"__symbolic":"reference","name":"GoogleAnalyticsService"}]}],"gaAction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"gaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"gaValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"gaInteraction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"gaBind":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":28,"character":3},"arguments":["click"]}]}],"onFocus":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":35,"character":3},"arguments":["focus"]}]}],"onBlur":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":42,"character":3},"arguments":["blur"]}]}],"trigger":[{"__symbolic":"method"}],"throw":[{"__symbolic":"method"}]}},"NgxGoogleAnalyticsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"GaEventDirective"},{"__symbolic":"reference","name":"GaEventCategoryDirective"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"GaEventDirective"},{"__symbolic":"reference","name":"GaEventCategoryDirective"},{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["trackingCode","commands","uri"],"defaults":[null,[],null],"value":{"ngModule":{"__symbolic":"reference","name":"NgxGoogleAnalyticsModule"},"providers":[{"provide":{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN"},"useValue":{"trackingCode":{"__symbolic":"reference","name":"trackingCode"},"commands":{"__symbolic":"reference","name":"commands"},"uri":{"__symbolic":"reference","name":"uri"}}},{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER"}]}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"input[gaEvent],\n select[gaEvent],\n textarea[gaEvent]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host","line":12,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":12,"character":13}}]],"parameters":[{"__symbolic":"reference","name":"GaEventDirective"}]}],"gaBind":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER":"./lib/initializers/google-analytics.initializer","GoogleAnalyticsInitializer":"./lib/initializers/google-analytics.initializer","IGoogleAnalyticsCommand":"./lib/interfaces/i-google-analytics-commant","IGoogleAnalyticsSettings":"./lib/interfaces/i-google-analytics-settings","NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN":"./lib/tokens/ngx-google-analytics-settings-token","GaActionEnum":"./lib/enums/ga-action.enum","GoogleAnalyticsService":"./lib/services/google-analytics.service","GaEventCategoryDirective":"./lib/directives/ga-event-category.directive","GaEventDirective":"./lib/directives/ga-event.directive","NgxGoogleAnalyticsModule":"./lib/ngx-google-analytics.module","ɵa":"./lib/directives/ga-event-form-input.directive"},"importAs":"ngx-google-analytics"} | ||
{"__symbolic":"module","version":4,"metadata":{"NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":6,"character":11},"multi":true,"useFactory":{"__symbolic":"reference","name":"GoogleAnalyticsInitializer"},"deps":[{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN"}]},"GoogleAnalyticsInitializer":{"__symbolic":"function","parameters":["$settings"],"value":{"__symbolic":"error","message":"Lambda not supported","line":17,"character":9,"module":"./lib/initializers/google-analytics.initializer"}},"NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER":{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_BOOTSTRAP_LISTENER","line":6,"character":11},"multi":true,"useFactory":{"__symbolic":"reference","name":"GoogleAnalyticsRouterInitializer"},"deps":[{"__symbolic":"reference","name":"GoogleAnalyticsService"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":11,"character":4}]},"GoogleAnalyticsRouterInitializer":{"__symbolic":"function","parameters":["$gaService","$router"],"value":{"__symbolic":"error","message":"Lambda not supported","line":19,"character":9,"module":"./lib/initializers/google-analytics-router.initializer"}},"IGoogleAnalyticsCommand":{"__symbolic":"interface"},"IGoogleAnalyticsSettings":{"__symbolic":"interface"},"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":55},"arguments":["ngx-hotjar-settings",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":11,"module":"./lib/tokens/ngx-google-analytics-settings-token"}]},"GaAction":{"__symbolic":"interface"},"GaBind":{"__symbolic":"interface"},"GoogleAnalyticsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":10,"character":5},"arguments":[{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"IGoogleAnalyticsSettings"}]}],"throw":[{"__symbolic":"method"}],"gtag":[{"__symbolic":"method"}],"event":[{"__symbolic":"method"}],"pageView":[{"__symbolic":"method"}],"appView":[{"__symbolic":"method"}],"exception":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"GaEventCategoryDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[gaEvent][gaCategory],\n [gaCategory]","exportAs":"gaCategory"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"gaCategory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}]}},"GaEventDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":6,"character":1},"arguments":[{"selector":"[gaEvent]","exportAs":"gaEvent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":13,"character":5}}],null],"parameters":[{"__symbolic":"reference","name":"GaEventCategoryDirective"},{"__symbolic":"reference","name":"GoogleAnalyticsService"}]}],"gaAction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"gaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"gaValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"gaInteraction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"gaBind":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":28,"character":3},"arguments":["click"]}]}],"onFocus":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":35,"character":3},"arguments":["focus"]}]}],"onBlur":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":42,"character":3},"arguments":["blur"]}]}],"trigger":[{"__symbolic":"method"}],"throw":[{"__symbolic":"method"}]}},"GaEventFormInputDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"input[gaEvent],\n select[gaEvent],\n textarea[gaEvent]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host","line":12,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":12,"character":13}}]],"parameters":[{"__symbolic":"reference","name":"GaEventDirective"}]}],"gaBind":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}},"NgxGoogleAnalyticsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"GaEventDirective"},{"__symbolic":"reference","name":"GaEventCategoryDirective"},{"__symbolic":"reference","name":"GaEventFormInputDirective"}],"exports":[{"__symbolic":"reference","name":"GaEventDirective"},{"__symbolic":"reference","name":"GaEventCategoryDirective"},{"__symbolic":"reference","name":"GaEventFormInputDirective"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["trackingCode","commands","uri"],"defaults":[null,[],null],"value":{"ngModule":{"__symbolic":"reference","name":"NgxGoogleAnalyticsModule"},"providers":[{"provide":{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN"},"useValue":{"trackingCode":{"__symbolic":"reference","name":"trackingCode"},"commands":{"__symbolic":"reference","name":"commands"},"uri":{"__symbolic":"reference","name":"uri"}}},{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER"}]}}}},"NgxGoogleAnalyticsRouterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":4},{"__symbolic":"reference","name":"NgxGoogleAnalyticsModule"}],"providers":[{"__symbolic":"reference","name":"NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER"}],"declarations":[]}]}],"members":{}}},"origins":{"NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER":"./lib/initializers/google-analytics.initializer","GoogleAnalyticsInitializer":"./lib/initializers/google-analytics.initializer","NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER":"./lib/initializers/google-analytics-router.initializer","GoogleAnalyticsRouterInitializer":"./lib/initializers/google-analytics-router.initializer","IGoogleAnalyticsCommand":"./lib/interfaces/i-google-analytics-commant","IGoogleAnalyticsSettings":"./lib/interfaces/i-google-analytics-settings","NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN":"./lib/tokens/ngx-google-analytics-settings-token","GaAction":"./lib/types/ga-action.type","GaBind":"./lib/types/ga-bind.type","GoogleAnalyticsService":"./lib/services/google-analytics.service","GaEventCategoryDirective":"./lib/directives/ga-event-category.directive","GaEventDirective":"./lib/directives/ga-event.directive","GaEventFormInputDirective":"./lib/directives/ga-event-form-input.directive","NgxGoogleAnalyticsModule":"./lib/ngx-google-analytics.module","NgxGoogleAnalyticsRouterModule":"./lib/ngx-google-analytics-router/ngx-google-analytics-router.module"},"importAs":"ngx-google-analytics"} |
{ | ||
"name": "ngx-google-analytics", | ||
"version": "0.0.5", | ||
"version": "0.0.6-rc", | ||
"description": "A simple ng-6 wrapper to load Google Analytics dependency by angular way", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
export * from './lib/initializers/google-analytics.initializer'; | ||
export * from './lib/initializers/google-analytics-router.initializer'; | ||
export * from './lib/interfaces/i-google-analytics-commant'; | ||
export * from './lib/interfaces/i-google-analytics-settings'; | ||
export * from './lib/tokens/ngx-google-analytics-settings-token'; | ||
export * from './lib/enums/ga-action.enum'; | ||
export * from './lib/types/ga-action.type'; | ||
export * from './lib/types/ga-bind.type'; | ||
export * from './lib/services/google-analytics.service'; | ||
export * from './lib/directives/ga-event-category.directive'; | ||
export * from './lib/directives/ga-event.directive'; | ||
export * from './lib/directives/ga-event-form-input.directive'; | ||
export * from './lib/ngx-google-analytics.module'; | ||
export * from './lib/ngx-google-analytics-router/ngx-google-analytics-router.module'; |
@@ -6,4 +6,2 @@ # Ngx Google Analytics | ||
**@TODO:** | ||
* Create service wrapper to ga commands; | ||
* Create an Ng Router Helper; | ||
* Create unit tests; | ||
@@ -127,1 +125,20 @@ | ||
``` | ||
## Tracking Angular Router | ||
Add ```NgxGoogleAnalyticsRouterModule``` on AppModule to auto track Angular's Router class and trigger a page view after nagivation. | ||
```ts | ||
import { NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from 'ngx-google-analytics'; | ||
... | ||
@NgModule({ | ||
... | ||
imports: [ | ||
... | ||
NgxGoogleAnalyticsModule.forRoot(environment.ga), | ||
NgxGoogleAnalyticsRouterModule | ||
] | ||
}) | ||
export class AppModule {} | ||
``` |
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
332958
56
3716
142