ngx-google-analytics
Advanced tools
Comparing version 0.0.8 to 8.0.0
(function (global, factory) { | ||
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'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@angular/common')) : | ||
typeof define === 'function' && define.amd ? define('ngx-google-analytics', ['exports', '@angular/core', '@angular/router', '@angular/common'], factory) : | ||
(global = global || self, factory(global['ngx-google-analytics'] = {}, global.ng.core, global.ng.router, global.ng.common)); | ||
}(this, function (exports, core, router, common) { 'use strict'; | ||
@@ -21,16 +21,7 @@ /*! ***************************************************************************** | ||
***************************************************************************** */ | ||
function __awaiter(thisArg, _arguments, P, generator) { | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { | ||
step(generator.next(value)); | ||
} | ||
catch (e) { | ||
reject(e); | ||
} } | ||
function rejected(value) { try { | ||
step(generator["throw"](value)); | ||
} | ||
catch (e) { | ||
reject(e); | ||
} } | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
@@ -40,79 +31,37 @@ step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
} | ||
function __generator(thisArg, body) { | ||
var _ = { label: 0, sent: function () { if (t[0] & 1) | ||
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g; | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) | ||
throw new TypeError("Generator is already executing."); | ||
while (_) | ||
try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) | ||
return t; | ||
if (y = 0, t) | ||
op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: | ||
case 1: | ||
t = op; | ||
break; | ||
case 4: | ||
_.label++; | ||
return { value: op[1], done: false }; | ||
case 5: | ||
_.label++; | ||
y = op[1]; | ||
op = [0]; | ||
continue; | ||
case 7: | ||
op = _.ops.pop(); | ||
_.trys.pop(); | ||
continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { | ||
_ = 0; | ||
continue; | ||
} | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { | ||
_.label = op[1]; | ||
break; | ||
} | ||
if (op[0] === 6 && _.label < t[1]) { | ||
_.label = t[1]; | ||
t = op; | ||
break; | ||
} | ||
if (t && _.label < t[2]) { | ||
_.label = t[2]; | ||
_.ops.push(op); | ||
break; | ||
} | ||
if (t[2]) | ||
_.ops.pop(); | ||
_.trys.pop(); | ||
continue; | ||
} | ||
op = body.call(thisArg, _); | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
catch (e) { | ||
op = [6, e]; | ||
y = 0; | ||
} | ||
finally { | ||
f = t = 0; | ||
} | ||
if (op[0] & 5) | ||
throw op[1]; | ||
return { value: op[0] ? op[1] : void 0, done: true }; | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
} | ||
function __values(o) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; | ||
if (m) | ||
return m.call(o); | ||
if (m) return m.call(o); | ||
return { | ||
next: function () { | ||
if (o && i >= o.length) | ||
o = void 0; | ||
if (o && i >= o.length) o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
@@ -122,26 +71,20 @@ } | ||
} | ||
function __read(o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) | ||
return o; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) | ||
ar.push(r.value); | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { | ||
e = { error: error }; | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) | ||
m.call(i); | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { | ||
if (e) | ||
throw e.error; | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
} | ||
function __spread() { | ||
@@ -155,7 +98,10 @@ for (var ar = [], i = 0; i < arguments.length; i++) | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
var NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = new i0.InjectionToken('ngx-hotjar-settings', { | ||
factory: function () { return ({ trackingCode: '' }); } | ||
var NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = new core.InjectionToken('ngx-hotjar-settings', { | ||
factory: (/** | ||
* @return {?} | ||
*/ | ||
function () { return ({ trackingCode: '' }); }) | ||
}); | ||
@@ -165,7 +111,7 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
var NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER = { | ||
provide: i0.APP_INITIALIZER, | ||
provide: core.APP_INITIALIZER, | ||
multi: true, | ||
@@ -183,51 +129,50 @@ useFactory: GoogleAnalyticsInitializer, | ||
var _this = this; | ||
return function () { | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var e_1, _a, initialCommands, _b, _c, command, s, head; | ||
return __generator(this, function (_d) { | ||
if (!$settings.trackingCode) { | ||
if (!i0.isDevMode()) { | ||
console.error('Empty tracking code for Google Analytics. Make sure to provide one when initializing NgxGoogleAnalyticsModule.'); | ||
} | ||
return [2 /*return*/]; | ||
return (/** | ||
* @return {?} | ||
*/ | ||
function () { return __awaiter(_this, void 0, void 0, function () { | ||
var e_1, _a, initialCommands, _b, _c, command, s, head; | ||
return __generator(this, function (_d) { | ||
if (!$settings.trackingCode) { | ||
if (!core.isDevMode()) { | ||
console.error('Empty tracking code for Google Analytics. Make sure to provide one when initializing NgxGoogleAnalyticsModule.'); | ||
} | ||
// Set default ga.js uri | ||
$settings.uri = $settings.uri || "https://www.googletagmanager.com/gtag/js?id=" + $settings.trackingCode; | ||
initialCommands = [ | ||
{ command: 'js', values: [new Date()] }, | ||
{ command: 'config', values: [$settings.trackingCode] } | ||
]; | ||
$settings.initCommands = __spread(initialCommands, ($settings.initCommands || [])); | ||
window['dataLayer'] = window['dataLayer'] || []; | ||
window['gtag'] = window['gtag'] || function () { | ||
window['dataLayer'].push(arguments); | ||
}; | ||
return [2 /*return*/]; | ||
} | ||
// Set default ga.js uri | ||
$settings.uri = $settings.uri || "https://www.googletagmanager.com/gtag/js?id=" + $settings.trackingCode; | ||
// these commands should run first! | ||
initialCommands = [ | ||
{ command: 'js', values: [new Date()] }, | ||
{ command: 'config', values: [$settings.trackingCode] } | ||
]; | ||
$settings.initCommands = __spread(initialCommands, ($settings.initCommands || [])); | ||
window['dataLayer'] = window['dataLayer'] || []; | ||
window['gtag'] = window['gtag'] || (/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
window['dataLayer'].push(arguments); | ||
}); | ||
try { | ||
for (_b = __values($settings.initCommands), _c = _b.next(); !_c.done; _c = _b.next()) { | ||
command = _c.value; | ||
window['gtag'].apply(window, __spread([command.command], command.values)); | ||
} | ||
} | ||
catch (e_1_1) { e_1 = { error: e_1_1 }; } | ||
finally { | ||
try { | ||
for (_b = __values($settings.initCommands), _c = _b.next(); !_c.done; _c = _b.next()) { | ||
command = _c.value; | ||
window['gtag'].apply(window, __spread([command.command], command.values)); | ||
} | ||
if (_c && !_c.done && (_a = _b.return)) _a.call(_b); | ||
} | ||
catch (e_1_1) { | ||
e_1 = { error: e_1_1 }; | ||
} | ||
finally { | ||
try { | ||
if (_c && !_c.done && (_a = _b.return)) | ||
_a.call(_b); | ||
} | ||
finally { | ||
if (e_1) | ||
throw e_1.error; | ||
} | ||
} | ||
s = document.createElement('script'); | ||
s.async = true; | ||
s.src = $settings.uri; | ||
head = document.getElementsByTagName('head')[0]; | ||
head.appendChild(s); | ||
return [2 /*return*/]; | ||
}); | ||
finally { if (e_1) throw e_1.error; } | ||
} | ||
s = document.createElement('script'); | ||
s.async = true; | ||
s.src = $settings.uri; | ||
head = document.getElementsByTagName('head')[0]; | ||
head.appendChild(s); | ||
return [2 /*return*/]; | ||
}); | ||
}; | ||
}); }); | ||
} | ||
@@ -237,3 +182,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -245,2 +190,3 @@ var GoogleAnalyticsService = /** @class */ (function () { | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -250,10 +196,11 @@ * @return {?} | ||
GoogleAnalyticsService.prototype.throw = /** | ||
* @protected | ||
* @param {?} err | ||
* @return {?} | ||
*/ | ||
function (err) { | ||
if (console && console.error) { | ||
console.error(err); | ||
} | ||
}; | ||
function (err) { | ||
if (console && console.error) { | ||
console.error(err); | ||
} | ||
}; | ||
/** | ||
@@ -282,14 +229,14 @@ * Call native GA Tag | ||
*/ | ||
function (action, command) { | ||
var options = []; | ||
for (var _i = 2; _i < arguments.length; _i++) { | ||
options[_i - 2] = arguments[_i]; | ||
} | ||
try { | ||
window['gtag'].apply(window, __spread([action, command], options)); | ||
} | ||
catch (err) { | ||
this.throw(err); | ||
} | ||
}; | ||
function (action, command) { | ||
var options = []; | ||
for (var _i = 2; _i < arguments.length; _i++) { | ||
options[_i - 2] = arguments[_i]; | ||
} | ||
try { | ||
window['gtag'].apply(window, __spread([action, command], options)); | ||
} | ||
catch (err) { | ||
this.throw(err); | ||
} | ||
}; | ||
/** | ||
@@ -341,26 +288,26 @@ * Send an event trigger to GA. It is the same as call: | ||
*/ | ||
function (action, category, label, value, interaction) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (category) { | ||
opt['event_category'] = category; | ||
} | ||
if (label) { | ||
opt['event_label'] = label; | ||
} | ||
if (value) { | ||
opt['value'] = value; | ||
} | ||
if (interaction !== undefined) { | ||
opt['interaction'] = interaction; | ||
} | ||
this.gtag('event', /** @type {?} */ (action), opt); | ||
function (action, category, label, value, interaction) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (category) { | ||
opt['event_category'] = category; | ||
} | ||
if (label) { | ||
opt['event_label'] = label; | ||
} | ||
if (value) { | ||
opt['value'] = value; | ||
} | ||
if (interaction !== undefined) { | ||
opt['interaction'] = interaction; | ||
} | ||
this.gtag('event', (/** @type {?} */ (action)), opt); | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
/** | ||
@@ -419,26 +366,26 @@ * Send an page view event. This is the same as | ||
*/ | ||
function (path, title, location, options) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (path) { | ||
opt['page_path'] = path; | ||
} | ||
if (title) { | ||
opt['page_title'] = title; | ||
} | ||
if (location) { | ||
opt['page_location'] = location; | ||
} | ||
if (options) { | ||
Object.assign(opt, options); | ||
} | ||
this.gtag('config', this.$trackingId.trackingCode, opt); | ||
function (path, title, location, options) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (path) { | ||
opt['page_path'] = path; | ||
} | ||
if (title) { | ||
opt['page_title'] = title; | ||
} | ||
if (location) { | ||
opt['page_location'] = location; | ||
} | ||
if (options) { | ||
Object.assign(opt, options); | ||
} | ||
this.gtag('config', this.$trackingId.trackingCode, opt); | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
/** | ||
@@ -497,29 +444,29 @@ * Send an evento to report a App Page View. It is the same as | ||
*/ | ||
function (screen, appName, appId, appVersion, installerId) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (screen) { | ||
opt['screen_name'] = screen; | ||
} | ||
if (appName) { | ||
opt['app_name'] = appName; | ||
} | ||
if (appId) { | ||
opt['app_id'] = appId; | ||
} | ||
if (appVersion) { | ||
opt['app_version'] = appVersion; | ||
} | ||
if (installerId) { | ||
opt['app_installer_id'] = installerId; | ||
} | ||
this.gtag('event', 'screen_view', opt); | ||
function (screen, appName, appId, appVersion, installerId) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (screen) { | ||
opt['screen_name'] = screen; | ||
} | ||
if (appName) { | ||
opt['app_name'] = appName; | ||
} | ||
if (appId) { | ||
opt['app_id'] = appId; | ||
} | ||
if (appVersion) { | ||
opt['app_version'] = appVersion; | ||
} | ||
if (installerId) { | ||
opt['app_installer_id'] = installerId; | ||
} | ||
this.gtag('event', 'screen_view', opt); | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
/** | ||
@@ -566,22 +513,22 @@ * Send an event to GA to report an application error. It is the same as | ||
*/ | ||
function (description, fatal) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (description) { | ||
opt['description'] = description; | ||
} | ||
if (fatal) { | ||
opt['fatal'] = fatal; | ||
} | ||
this.gtag('event', 'exception', opt); | ||
function (description, fatal) { | ||
try { | ||
if (window['gtag']) { | ||
/** @type {?} */ | ||
var opt = {}; | ||
if (description) { | ||
opt['description'] = description; | ||
} | ||
if (fatal) { | ||
opt['fatal'] = fatal; | ||
} | ||
this.gtag('event', 'exception', opt); | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
} | ||
catch (error) { | ||
this.throw(error); | ||
} | ||
}; | ||
GoogleAnalyticsService.decorators = [ | ||
{ type: i0.Injectable, args: [{ | ||
{ type: core.Injectable, args: [{ | ||
providedIn: 'root' | ||
@@ -591,8 +538,6 @@ },] } | ||
/** @nocollapse */ | ||
GoogleAnalyticsService.ctorParameters = function () { | ||
return [ | ||
{ type: undefined, decorators: [{ type: i0.Inject, args: [NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN,] }] } | ||
]; | ||
}; | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.inject(NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
GoogleAnalyticsService.ctorParameters = function () { return [ | ||
{ type: undefined, decorators: [{ type: core.Inject, args: [NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN,] }] } | ||
]; }; | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(core.ɵɵinject(NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
return GoogleAnalyticsService; | ||
@@ -603,7 +548,7 @@ }()); | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
var NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER = { | ||
provide: i0.APP_BOOTSTRAP_LISTENER, | ||
provide: core.APP_BOOTSTRAP_LISTENER, | ||
multi: true, | ||
@@ -623,16 +568,22 @@ useFactory: GoogleAnalyticsRouterInitializer, | ||
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, undefined, document.location.href); | ||
} | ||
}); | ||
return [2 /*return*/]; | ||
}); | ||
return (/** | ||
* @param {?} c | ||
* @return {?} | ||
*/ | ||
function (c) { return __awaiter(_this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
$router | ||
.events | ||
.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
if (event instanceof router.NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects, undefined, document.location.href); | ||
} | ||
})); | ||
return [2 /*return*/]; | ||
}); | ||
}; | ||
}); }); | ||
} | ||
@@ -642,3 +593,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -649,3 +600,3 @@ var GaEventCategoryDirective = /** @class */ (function () { | ||
GaEventCategoryDirective.decorators = [ | ||
{ type: i0.Directive, args: [{ | ||
{ type: core.Directive, args: [{ | ||
selector: "[gaEvent][gaCategory],\n [gaCategory]", | ||
@@ -658,3 +609,3 @@ exportAs: 'gaCategory' | ||
GaEventCategoryDirective.propDecorators = { | ||
gaCategory: [{ type: i0.Input }] | ||
gaCategory: [{ type: core.Input }] | ||
}; | ||
@@ -666,3 +617,3 @@ return GaEventCategoryDirective; | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -681,4 +632,4 @@ var GaEventDirective = /** @class */ (function () { | ||
*/ | ||
function () { | ||
}; | ||
function () { | ||
}; | ||
/** | ||
@@ -690,7 +641,7 @@ * @return {?} | ||
*/ | ||
function () { | ||
if (this.gaBind === 'click') { | ||
this.trigger(); | ||
} | ||
}; | ||
function () { | ||
if (this.gaBind === 'click') { | ||
this.trigger(); | ||
} | ||
}; | ||
/** | ||
@@ -702,7 +653,7 @@ * @return {?} | ||
*/ | ||
function () { | ||
if (this.gaBind === 'focus') { | ||
this.trigger(); | ||
} | ||
}; | ||
function () { | ||
if (this.gaBind === 'focus') { | ||
this.trigger(); | ||
} | ||
}; | ||
/** | ||
@@ -714,29 +665,32 @@ * @return {?} | ||
*/ | ||
function () { | ||
if (this.gaBind === 'blur') { | ||
this.trigger(); | ||
} | ||
}; | ||
function () { | ||
if (this.gaBind === 'blur') { | ||
this.trigger(); | ||
} | ||
}; | ||
/** | ||
* @protected | ||
* @return {?} | ||
*/ | ||
GaEventDirective.prototype.trigger = /** | ||
* @protected | ||
* @return {?} | ||
*/ | ||
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); | ||
function () { | ||
try { | ||
if (!this.$gaCategoryDirective) { | ||
throw new Error('You must provide a gaCategory attribute w/ gaEvent Directive.'); | ||
} | ||
catch (err) { | ||
this.throw(err); | ||
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 (err) { | ||
this.throw(err); | ||
} | ||
}; | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -746,12 +700,13 @@ * @return {?} | ||
GaEventDirective.prototype.throw = /** | ||
* @protected | ||
* @param {?} err | ||
* @return {?} | ||
*/ | ||
function (err) { | ||
if (console && console.warn) { | ||
console.warn(err); | ||
} | ||
}; | ||
function (err) { | ||
if (console && console.warn) { | ||
console.warn(err); | ||
} | ||
}; | ||
GaEventDirective.decorators = [ | ||
{ type: i0.Directive, args: [{ | ||
{ type: core.Directive, args: [{ | ||
selector: "[gaEvent]", | ||
@@ -762,18 +717,16 @@ exportAs: 'gaEvent' | ||
/** @nocollapse */ | ||
GaEventDirective.ctorParameters = function () { | ||
return [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: i0.Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
]; | ||
}; | ||
GaEventDirective.ctorParameters = function () { return [ | ||
{ type: GaEventCategoryDirective, decorators: [{ type: core.Optional }] }, | ||
{ type: GoogleAnalyticsService } | ||
]; }; | ||
GaEventDirective.propDecorators = { | ||
gaAction: [{ type: i0.Input }], | ||
gaLabel: [{ type: i0.Input }], | ||
label: [{ type: i0.Input }], | ||
gaValue: [{ type: i0.Input }], | ||
gaInteraction: [{ type: i0.Input }], | ||
gaBind: [{ type: i0.Input }], | ||
onClick: [{ type: i0.HostListener, args: ['click',] }], | ||
onFocus: [{ type: i0.HostListener, args: ['focus',] }], | ||
onBlur: [{ type: i0.HostListener, args: ['blur',] }] | ||
gaAction: [{ type: core.Input }], | ||
gaLabel: [{ type: core.Input }], | ||
label: [{ type: core.Input }], | ||
gaValue: [{ type: core.Input }], | ||
gaInteraction: [{ type: core.Input }], | ||
gaBind: [{ type: core.Input }], | ||
onClick: [{ type: core.HostListener, args: ['click',] }], | ||
onFocus: [{ type: core.HostListener, args: ['focus',] }], | ||
onBlur: [{ type: core.HostListener, args: ['blur',] }] | ||
}; | ||
@@ -785,3 +738,3 @@ return GaEventDirective; | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -798,11 +751,11 @@ var GaEventFormInputDirective = /** @class */ (function () { | ||
*/ | ||
function () { | ||
if (this.$gaEvent) { | ||
this.$gaEvent.gaBind = (this.gaBind) | ||
? this.$gaEvent.gaBind | ||
: 'focus'; | ||
} | ||
}; | ||
function () { | ||
if (this.$gaEvent) { | ||
this.$gaEvent.gaBind = (this.gaBind) | ||
? this.$gaEvent.gaBind | ||
: 'focus'; | ||
} | ||
}; | ||
GaEventFormInputDirective.decorators = [ | ||
{ type: i0.Directive, args: [{ | ||
{ type: core.Directive, args: [{ | ||
selector: "input[gaEvent],\n select[gaEvent],\n textarea[gaEvent]" | ||
@@ -812,9 +765,7 @@ },] } | ||
/** @nocollapse */ | ||
GaEventFormInputDirective.ctorParameters = function () { | ||
return [ | ||
{ type: GaEventDirective, decorators: [{ type: i0.Host }, { type: i0.Optional }] } | ||
]; | ||
}; | ||
GaEventFormInputDirective.ctorParameters = function () { return [ | ||
{ type: GaEventDirective, decorators: [{ type: core.Host }, { type: core.Optional }] } | ||
]; }; | ||
GaEventFormInputDirective.propDecorators = { | ||
gaBind: [{ type: i0.Input }] | ||
gaBind: [{ type: core.Input }] | ||
}; | ||
@@ -826,3 +777,3 @@ return GaEventFormInputDirective; | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -844,23 +795,21 @@ var NgxGoogleAnalyticsModule = /** @class */ (function () { | ||
*/ | ||
function (trackingCode, commands, uri) { | ||
if (commands === void 0) { | ||
commands = []; | ||
} | ||
return { | ||
ngModule: NgxGoogleAnalyticsModule, | ||
providers: [ | ||
{ | ||
provide: NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, | ||
useValue: { | ||
trackingCode: trackingCode, | ||
commands: commands, | ||
uri: uri | ||
} | ||
}, | ||
NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, | ||
] | ||
}; | ||
function (trackingCode, commands, uri) { | ||
if (commands === void 0) { commands = []; } | ||
return { | ||
ngModule: NgxGoogleAnalyticsModule, | ||
providers: [ | ||
{ | ||
provide: NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, | ||
useValue: { | ||
trackingCode: trackingCode, | ||
commands: commands, | ||
uri: uri | ||
} | ||
}, | ||
NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, | ||
] | ||
}; | ||
}; | ||
NgxGoogleAnalyticsModule.decorators = [ | ||
{ type: i0.NgModule, args: [{ | ||
{ type: core.NgModule, args: [{ | ||
imports: [], | ||
@@ -876,3 +825,3 @@ declarations: [GaEventDirective, GaEventCategoryDirective, GaEventFormInputDirective], | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -883,3 +832,3 @@ var NgxGoogleAnalyticsRouterModule = /** @class */ (function () { | ||
NgxGoogleAnalyticsRouterModule.decorators = [ | ||
{ type: i0.NgModule, args: [{ | ||
{ type: core.NgModule, args: [{ | ||
imports: [ | ||
@@ -898,21 +847,11 @@ common.CommonModule, | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
exports.GaEventCategoryDirective = GaEventCategoryDirective; | ||
exports.GaEventDirective = GaEventDirective; | ||
exports.GaEventFormInputDirective = GaEventFormInputDirective; | ||
exports.GoogleAnalyticsInitializer = GoogleAnalyticsInitializer; | ||
exports.GoogleAnalyticsRouterInitializer = GoogleAnalyticsRouterInitializer; | ||
exports.GoogleAnalyticsService = GoogleAnalyticsService; | ||
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.GoogleAnalyticsService = GoogleAnalyticsService; | ||
exports.GaEventCategoryDirective = GaEventCategoryDirective; | ||
exports.GaEventDirective = GaEventDirective; | ||
exports.GaEventFormInputDirective = GaEventFormInputDirective; | ||
exports.NgxGoogleAnalyticsModule = NgxGoogleAnalyticsModule; | ||
@@ -923,4 +862,3 @@ exports.NgxGoogleAnalyticsRouterModule = NgxGoogleAnalyticsRouterModule; | ||
}))); | ||
//# sourceMappingURL=ngx-google-analytics.umd.js.map | ||
})); | ||
//# sourceMappingURL=ngx-google-analytics.umd.js.map |
@@ -1,2 +0,2 @@ | ||
!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,r,l,e){"use strict";function i(e,a,c,u){return new(c||(c=Promise))(function(t,n){function o(t){try{i(u.next(t))}catch(e){n(e)}}function r(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(o,r)}i((u=u.apply(e,a||[])).next())})}function p(o,r){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=r.call(o,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 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 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:o,deps:[a]};function o(g){var t=this;return function(){return i(t,void 0,void 0,function(){var n,r,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 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())u=c.value,window.gtag.apply(window,f([u.command],u.values))}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=a["return"])&&r.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=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];try{window.gtag.apply(window,f([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.event_category=e),n&&(i.event_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:[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,r.Router]};function g(e,n){var o=this;return function(t){return i(o,void 0,void 0,function(){return p(this,function(t){return n.events.subscribe(function(t){t instanceof r.NavigationEnd&&e.pageView(t.urlAfterRedirects,undefined,document.location.href)}),[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 o(){}return o.forRoot=function(t,e,n){return void 0===e&&(e=[]),{ngModule:o,providers:[{provide:a,useValue:{trackingCode:t,commands:e,uri:n}},c]}},o.decorators=[{type:l.NgModule,args:[{imports:[],declarations:[y,d,h],exports:[y,d,h]}]}],o}(),w=function(){function t(){}return t.decorators=[{type:l.NgModule,args:[{imports:[e.CommonModule,v],providers:[s],declarations:[]}]}],t}();t.GoogleAnalyticsInitializer=o,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})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/router"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-google-analytics",["exports","@angular/core","@angular/router","@angular/common"],e):e((t=t||self)["ngx-google-analytics"]={},t.ng.core,t.ng.router,t.ng.common)}(this,function(t,e,n,o){"use strict";function r(t,e,n,o){return new(n||(n=Promise))(function(r,i){function a(t){try{u(o.next(t))}catch(e){i(e)}}function c(t){try{u(o["throw"](t))}catch(e){i(e)}}function u(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(a,c)}u((o=o.apply(t,e||[])).next())})}function i(t,e){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),"throw":c(1),"return":c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o["return"]:i[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(c){i=[6,c],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function a(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||e-- >0)&&!(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 c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}var u=new e.InjectionToken("ngx-hotjar-settings",{factory:function(){return{trackingCode:""}}}),s={provide:e.APP_INITIALIZER,multi:!0,useFactory:g,deps:[u]};function g(t){var n=this;return function(){return r(n,void 0,void 0,function(){var n,o,r,a,u,s,g;return i(this,function(i){if(!t.trackingCode)return e.isDevMode()||console.error("Empty tracking code for Google Analytics. Make sure to provide one when initializing NgxGoogleAnalyticsModule."),[2];t.uri=t.uri||"https://www.googletagmanager.com/gtag/js?id="+t.trackingCode,r=[{command:"js",values:[new Date]},{command:"config",values:[t.trackingCode]}],t.initCommands=c(r,t.initCommands||[]),window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)};try{for(a=function(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}}}}(t.initCommands),u=a.next();!u.done;u=a.next())s=u.value,window.gtag.apply(window,c([s.command],s.values))}catch(l){n={error:l}}finally{try{u&&!u.done&&(o=a["return"])&&o.call(a)}finally{if(n)throw n.error}}return(g=document.createElement("script")).async=!0,g.src=t.uri,document.getElementsByTagName("head")[0].appendChild(g),[2]})})}}var l=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,c([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.event_category=e),n&&(i.event_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:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:undefined,decorators:[{type:e.Inject,args:[u]}]}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(u))},token:t,providedIn:"root"}),t}(),p={provide:e.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:f,deps:[l,n.Router]};function f(t,e){var o=this;return function(a){return r(o,void 0,void 0,function(){return i(this,function(o){return e.events.subscribe(function(e){e instanceof n.NavigationEnd&&t.pageView(e.urlAfterRedirects,undefined,document.location.href)}),[2]})})}}var d=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"[gaEvent][gaCategory],\n [gaCategory]",exportAs:"gaCategory"}]}],t.ctorParameters=function(){return[]},t.propDecorators={gaCategory:[{type:e.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:e.Directive,args:[{selector:"[gaEvent]",exportAs:"gaEvent"}]}],t.ctorParameters=function(){return[{type:d,decorators:[{type:e.Optional}]},{type:l}]},t.propDecorators={gaAction:[{type:e.Input}],gaLabel:[{type:e.Input}],label:[{type:e.Input}],gaValue:[{type:e.Input}],gaInteraction:[{type:e.Input}],gaBind:[{type:e.Input}],onClick:[{type:e.HostListener,args:["click"]}],onFocus:[{type:e.HostListener,args:["focus"]}],onBlur:[{type:e.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:e.Directive,args:[{selector:"input[gaEvent],\n select[gaEvent],\n textarea[gaEvent]"}]}],t.ctorParameters=function(){return[{type:y,decorators:[{type:e.Host},{type:e.Optional}]}]},t.propDecorators={gaBind:[{type:e.Input}]},t}(),v=function(){function t(){}return t.forRoot=function(e,n,o){return void 0===n&&(n=[]),{ngModule:t,providers:[{provide:u,useValue:{trackingCode:e,commands:n,uri:o}},s]}},t.decorators=[{type:e.NgModule,args:[{imports:[],declarations:[y,d,h],exports:[y,d,h]}]}],t}(),w=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,v],providers:[p],declarations:[]}]}],t}();t.GaEventCategoryDirective=d,t.GaEventDirective=y,t.GaEventFormInputDirective=h,t.GoogleAnalyticsInitializer=g,t.GoogleAnalyticsRouterInitializer=f,t.GoogleAnalyticsService=l,t.NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER=s,t.NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER=p,t.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN=u,t.NgxGoogleAnalyticsModule=v,t.NgxGoogleAnalyticsRouterModule=w,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ngx-google-analytics.umd.min.js.map |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -25,3 +25,2 @@ import { Directive, Input } from '@angular/core'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQtY2F0ZWdvcnkuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9nYS1ldmVudC1jYXRlZ29yeS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBw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N4QixRQUFRLEVBQUUsWUFBWTthQUN2Qjs7Ozs7eUJBS0UsS0FBSzs7OztJQUFOLDhDQUE0QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiBgW2dhRXZlbnRdW2dhQ2F0ZWdvcnldLFxuICAgICAgICAgICAgIFtnYUNhdGVnb3J5XWAsXG4gIGV4cG9ydEFzOiAnZ2FDYXRlZ29yeSdcbn0pXG5leHBvcnQgY2xhc3MgR2FFdmVudENhdGVnb3J5RGlyZWN0aXZlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIEBJbnB1dCgpIGdhQ2F0ZWdvcnk6IHN0cmluZztcblxufVxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -42,6 +42,8 @@ import { Directive, Host, Optional, Input } from '@angular/core'; | ||
GaEventFormInputDirective.prototype.gaBind; | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GaEventFormInputDirective.prototype.$gaEvent; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQtZm9ybS1pbnB1dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LWZvcm0taW5wdXQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxRQUF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ICB0aGlzLiRnYUV2ZW50LmdhQmluZCA9ICh0aGlzLmdhQmluZClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gdGhpcy4kZ2FFdmVudC5nYUJpbmRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogJ2ZvY3VzJztcbiAgICB9XG4gIH1cblxufVxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -48,2 +48,3 @@ import { Directive, Optional, Input, HostListener } from '@angular/core'; | ||
/** | ||
* @protected | ||
* @return {?} | ||
@@ -67,2 +68,3 @@ */ | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -112,8 +114,13 @@ * @return {?} | ||
GaEventDirective.prototype.gaBind; | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GaEventDirective.prototype.$gaCategoryDirective; | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GaEventDirective.prototype.$gaService; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9nYS1ldmVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxZQUFZLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDakYsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDekUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE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AgdHJ5IHtcclxuICAgICAgaWYgKCF0aGlzLiRnYUNhdGVnb3J5RGlyZWN0aXZlKSB7XHJcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdZb3UgbXVzdCBwcm92aWRlIGEgZ2FDYXRlZ29yeSBhdHRyaWJ1dGUgdy8gZ2FFdmVudCBEaXJlY3RpdmUuJyk7XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIGlmICghdGhpcy5nYUFjdGlvbikge1xyXG4gICAgICAgIHRocm93IG5ldyBFcnJvcignWW91IG11c3QgcHJvdmlkZSBhIGdhQWN0aW9uIGF0cnJpYnV0ZSB0byBpZGVudGlmeSB0aGlzIGV2ZW50LicpO1xyXG4gICAgICB9XHJcblxyXG4gICAgICB0aGlzLiRnYVNlcnZpY2VcclxuICAgICAgICAgIC5ldmVudChcclxuICAgICAgICAgICAgdGhpcy5nYUFjdGlvbixcclxuICAgICAgICAgICAgdGhpcy4kZ2FDYXRlZ29yeURpcmVjdGl2ZS5nYUNhdGVnb3J5LFxyXG4gICAgICAgICAgICB0aGlzLmdhTGFiZWwgfHwgdGhpcy5sYWJlbCxcclxuICAgICAgICAgICAgdGhpcy5nYVZhbHVlLFxyXG4gICAgICAgICAgICB0aGlzLmdhSW50ZXJhY3Rpb25cclxuICAgICAgICAgICk7XHJcbiAgICB9IGNhdGNoIChlcnIpIHtcclxuICAgICAgdGhpcy50aHJvdyhlcnIpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgcHJvdGVjdGVkIHRocm93KGVycjogRXJyb3IpIHtcclxuICAgIGlmIChjb25zb2xlICYmIGNvbnNvbGUud2Fybikge1xyXG4gICAgICBjb25zb2xlLndhcm4oZXJyKTtcclxuICAgIH1cclxuICB9XHJcblxyXG59XHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -25,13 +25,20 @@ import * as tslib_1 from "tslib"; | ||
export function GoogleAnalyticsRouterInitializer($gaService, $router) { | ||
return (c) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return (/** | ||
* @param {?} c | ||
* @return {?} | ||
*/ | ||
(c) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
$router | ||
.events | ||
.subscribe(event => { | ||
.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
event => { | ||
if (event instanceof NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects, undefined, document.location.href); | ||
} | ||
}); | ||
}); | ||
})); | ||
})); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIuaW5pdGlhbGl6ZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9pbml0aWFsaXplcnMvZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIuaW5pdGlhbGl6ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQVksc0JBQXNCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLE1BQU0sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7QUFHOUUsYUFBYSxnREFBZ0QsR0FBYTtJQUN4RSxPQUFPLEVBQUUsc0JBQXNCO0lBQy9CLEtBQUssRUFBRSxJQUFJO0lBQ1gsVUFBVSxFQUFFLGdDQUFnQztJQUM1QyxJQUFJLEVBQUU7UUFDSixzQkFBc0I7UUFDdEIsTUFBTTtLQUNQO0NBQ0YsQ0FBQzs7Ozs7O0FBRUY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0ge1xyXG4gIHByb3ZpZGU6IEFQUF9CT09UU1RSQVBfTElTVEVORVIsXHJcbiAgbXVsdGk6IHRydWUsXHJcbiAgdXNlRmFjdG9yeTogR29vZ2xlQW5hbHl0aWNzUm91dGVySW5pdGlhbGl6ZXIsXHJcbiAgZGVwczogW1xyXG4gICAgR29vZ2xlQW5hbHl0aWNzU2VydmljZSxcclxuICAgIFJvdXRlclxyXG4gIF1cclxufTtcclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBHb29nbGVBbmFseXRpY3NSb3V0ZXJJbml0aWFsaXplcihcclxuICAkZ2FTZXJ2aWNlOiBHb29nbGVBbmFseXRpY3NTZXJ2aWNlLFxyXG4gICRyb3V0ZXI6IFJvdXRlclxyXG4pIHtcclxuICByZXR1cm4gYXN5bmMgKGM6IENvbXBvbmVudFJlZjxhbnk+KSA9PiB7XHJcbiAgICAkcm91dGVyXHJcbiAgICAgIC5ldmVudHNcclxuICAgICAgLnN1YnNjcmliZShldmVudCA9PiB7XHJcbiAgICAgICAgaWYgKGV2ZW50IGluc3RhbmNlb2YgTmF2aWdhdGlvbkVuZCkge1xyXG4gICAgICAgICAgJGdhU2VydmljZS5wYWdlVmlldyhldmVudC51cmxBZnRlclJlZGlyZWN0cywgdW5kZWZpbmVkLCBkb2N1bWVudC5sb2NhdGlvbi5ocmVmKTtcclxuICAgICAgICB9XHJcbiAgICAgIH0pO1xyXG4gIH07XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -22,3 +22,6 @@ import * as tslib_1 from "tslib"; | ||
export function GoogleAnalyticsInitializer($settings) { | ||
return () => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
return (/** | ||
* @return {?} | ||
*/ | ||
() => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
if (!$settings.trackingCode) { | ||
@@ -32,2 +35,3 @@ if (!isDevMode()) { | ||
$settings.uri = $settings.uri || `https://www.googletagmanager.com/gtag/js?id=${$settings.trackingCode}`; | ||
// these commands should run first! | ||
/** @type {?} */ | ||
@@ -40,5 +44,8 @@ const initialCommands = [ | ||
window['dataLayer'] = window['dataLayer'] || []; | ||
window['gtag'] = window['gtag'] || function () { | ||
window['gtag'] = window['gtag'] || (/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
window['dataLayer'].push(arguments); | ||
}; | ||
}); | ||
for (const command of $settings.initCommands) { | ||
@@ -54,5 +61,4 @@ window['gtag'](command.command, ...command.values); | ||
head.appendChild(s); | ||
}); | ||
})); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5pbml0aWFsaXplci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsibGliL2luaXRpYWxpemVycy9nb29nbGUtYW5hbHl0aWNzLmluaXRpYWxpemVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFZLGVBQWUsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDckUsT0FBTyxFQUFFLG1DQUFtQyxFQUFFLE1BQU0sK0NBQStDLENBQUM7O0FBSXBHLGFBQWEseUNBQXlDLEdBQWE7SUFDakUsT0FBTyxFQUFFLGVBQWU7SUFDeEIsS0FBSyxFQUFFLElBQUk7SUFDWCxVQUFVLEVBQUUsMEJBQTBCO0lBQ3RDLElBQUksRUFBRTtRQUNKLG1DQUFtQztLQUNwQztDQUNGLENBQUM7Ozs7O0FBRUYsTUFBTSxxQ0FDSixTQUFtQztJQUVuQyxPQUFPLEdBQVMsRUFBRTtRQUNoQixJQUFJLENBQUMsU0FBUyxDQUFDLFlBQVksRUFBRTtZQUMzQixJ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JcblxyXG4gICAgJHNldHRpbmdzLmluaXRDb21tYW5kcyA9IFsgLi4uaW5pdGlhbENvbW1hbmRzLCAuLi4oJHNldHRpbmdzLmluaXRDb21tYW5kcyB8fCBbXSkgXTtcclxuXHJcbiAgICB3aW5kb3dbJ2RhdGFMYXllciddID0gd2luZG93WydkYXRhTGF5ZXInXSB8fCBbXTtcclxuICAgIHdpbmRvd1snZ3RhZyddID0gd2luZG93WydndGFnJ10gfHwgZnVuY3Rpb24gKCkge1xyXG4gICAgICB3aW5kb3dbJ2RhdGFMYXllciddLnB1c2goYXJndW1lbnRzKTtcclxuICAgIH07XHJcblxyXG4gICAgZm9yIChjb25zdCBjb21tYW5kIG9mICRzZXR0aW5ncy5pbml0Q29tbWFuZHMpIHtcclxuICAgICAgd2luZG93WydndGFnJ10oY29tbWFuZC5jb21tYW5kLCAuLi5jb21tYW5kLnZhbHVlcyk7XHJcbiAgICB9XHJcblxyXG4gICAgY29uc3QgczogSFRNTFNjcmlwdEVsZW1lbnQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKTtcclxuICAgIHMuYXN5bmMgPSB0cnVlO1xyXG4gICAgcy5zcmMgPSAkc2V0dGluZ3MudXJpO1xyXG5cclxuICAgIGNvbnN0IGhlYWQ6IEhUTUxIZWFkRWxlbWVudCA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCdoZWFkJylbMF07XHJcbiAgICBoZWFkLmFwcGVuZENoaWxkKHMpO1xyXG4gIH07XHJcbn1cclxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5pbml0aWFsaXplci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsibGliL2luaXRpYWxpemVycy9nb29nbGUtYW5hbHl0aWNzLmluaXRpYWxpemVyLnRzIl0sIm5hbWVz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dGVFbGVtZW50KCdzY3JpcHQnKTtcclxuICAgIHMuYXN5bmMgPSB0cnVlO1xyXG4gICAgcy5zcmMgPSAkc2V0dGluZ3MudXJpO1xyXG5cclxuICAgIGNvbnN0IGhlYWQ6IEhUTUxIZWFkRWxlbWVudCA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCdoZWFkJylbMF07XHJcbiAgICBoZWFkLmFwcGVuZENoaWxkKHMpO1xyXG4gIH07XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -9,7 +9,8 @@ /** | ||
export function IGoogleAnalyticsCommand() { } | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.command; | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.values; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1jb21tYW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElHb29nbGVBbmFseXRpY3NDb21tYW5kIHtcclxuICBjb21tYW5kOiBzdHJpbmc7XHJcbiAgdmFsdWVzOiBhbnlbXTtcclxufVxyXG4iXX0= | ||
if (false) { | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.command; | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.values; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1jb21tYW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSw2Q0FHQzs7O0lBRkMsMENBQWdCOztJQUNoQix5Q0FBYyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUdvb2dsZUFuYWx5dGljc0NvbW1hbmQge1xyXG4gIGNvbW1hbmQ6IHN0cmluZztcclxuICB2YWx1ZXM6IGFueVtdO1xyXG59XHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -9,9 +9,10 @@ /** | ||
export function IGoogleAnalyticsSettings() { } | ||
/** @type {?} */ | ||
IGoogleAnalyticsSettings.prototype.trackingCode; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.initCommands; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.uri; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLXNldHRpbmdzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9pLWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElHb29nbGVBbmFseXRpY3NDb21tYW5kIH0gZnJvbSAnLi9pLWdvb2dsZS1hbmFseXRpY3MtY29tbWFudCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElHb29nbGVBbmFseXRpY3NTZXR0aW5ncyB7XHJcbiAgdHJhY2tpbmdDb2RlOiBzdHJpbmc7XHJcbiAgaW5pdENvbW1hbmRzPzogQXJyYXk8SUdvb2dsZUFuYWx5dGljc0NvbW1hbmQ+O1xyXG4gIHVyaT86IHN0cmluZztcclxufVxyXG4iXX0= | ||
if (false) { | ||
/** @type {?} */ | ||
IGoogleAnalyticsSettings.prototype.trackingCode; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.initCommands; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.uri; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLXNldHRpbmdzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9pLWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUVBLDhDQUlDOzs7SUFIQyxnREFBcUI7O0lBQ3JCLGdEQUE4Qzs7SUFDOUMsdUNBQWEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZCB9IGZyb20gJy4vaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJR29vZ2xlQW5hbHl0aWNzU2V0dGluZ3Mge1xyXG4gIHRyYWNraW5nQ29kZTogc3RyaW5nO1xyXG4gIGluaXRDb21tYW5kcz86IEFycmF5PElHb29nbGVBbmFseXRpY3NDb21tYW5kPjtcclxuICB1cmk/OiBzdHJpbmc7XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -23,3 +23,2 @@ import { NgModule } from '@angular/core'; | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3Mtcm91dGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsibGliL25neC1nb29nbGUtYW5hbHl0aWNzLXJvdXRlci9uZ3gtZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFvQixNQUFNLGVBQWUsQ0FBQztBQUMzRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdEQUFnRCxFQUFFLE1BQU0scURBQXFELENBQUM7QUFDdkgsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFZMUUsTUFBTTs7O1lBVkwsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRTtvQkFDUCxZQUFZO29CQUNaLHdCQUF3QjtpQkFDekI7Z0JBQ0QsU0FBUyxFQUFFO29CQUNULGdEQUFnRDtpQkFDakQ7Z0JBQ0QsWUFBWSxFQUFFLEVBQUU7YUFDakIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSwgT3B0aW9uYWwsIEluamVjdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlI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checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -42,3 +42,2 @@ import { NgModule } from '@angular/core'; | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvbmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUF1QixNQUFNLGVBQWUsQ0FBQztBQUU5RCxPQUFPLEVBQUUseUNBQXlDLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUN4RyxPQUFPLEVBQUUsbUNBQW1DLEVBQUUsTUFBTSw4Q0FBOEMsQ0FBQztBQUNuRyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNuRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUNwRixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQVF2RixNQUFNOzs7Ozs7O0lBQ0osTUFBTSxDQUFDLE9BQU8sQ0FBQyxZQUFvQixFQUFFLFdBQXNDLEVBQUUsRUFBRSxHQUFZO1FBQ3pGLE9BQU87WUFDTCxRQUFRLEVBQUUsd0JBQXdCO1lBQ2xDLFNBQVMsRUFBRTtnQkFDVDtvQkFDRSxPQUFPLEVBQUUsbUNBQW1DO29CQUM1QyxRQUFRLEVBQUU7d0JBQ1IsWUFBWSxFQUFFLFlBQVk7d0JBQzFCLFFBQVEsRUFBRSxRQUFRO3dCQUNsQixHQUF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ZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtcclxuICBdLFxyXG4gIGRlY2xhcmF0aW9uczogW0dhRXZlbnREaXJlY3RpdmUsIEdhRXZlbnRDYXRlZ29yeURpcmVjdGl2ZSwgR2FFdmVudEZvcm1JbnB1dERpcmVjdGl2ZV0sXHJcbiAgZXhwb3J0czogW0dhRXZlbnREaXJlY3RpdmUsIEdhRXZlbnRDYXRlZ29yeURpcmVjdGl2ZSwgR2FFdmVudEZvcm1JbnB1dERpcmVjdGl2ZV1cclxufSlcclxuZXhwb3J0IGNsYXNzIE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSB7XHJcbiAgc3RhdGljIGZvclJvb3QodHJhY2tpbmdDb2RlOiBzdHJpbmcsIGNvbW1hbmRzOiBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZFtdID0gW10sIHVyaT86IHN0cmluZyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSxcclxuICAgICAgcHJvdmlkZXJzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogTkdYX0dPT0dMRV9BTkFMWVRJQ1NfU0VUVElOR1NfVE9LRU4sXHJcbiAgICAgICAgICB1c2VWYWx1ZToge1xyXG4gICAgICAgICAgICB0cmFja2luZ0NvZGU6IHRyYWNraW5nQ29kZSxcclxuICAgICAgICAgICAgY29tbWFuZHM6IGNvbW1hbmRzLFxyXG4gICAgICAgICAgICB1cmk6IHVyaVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfSU5JVElBTElaRVJfUFJPVklERVIsXHJcbiAgICAgIF1cclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -17,2 +17,3 @@ import { Injectable, Inject } from '@angular/core'; | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -75,3 +76,3 @@ * @return {?} | ||
} | ||
this.gtag('event', /** @type {?} */ (action), opt); | ||
this.gtag('event', (/** @type {?} */ (action)), opt); | ||
} | ||
@@ -212,8 +213,10 @@ } | ||
]; | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.inject(i1.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.ɵɵinject(i1.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
if (false) { | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GoogleAnalyticsService.prototype.$trackingId; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsbUNBQW1DLEVBQUUsTUFBTSwr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G4gICAgICAgIH1cclxuICAgICAgICBpZiAodGl0bGUpIHtcclxuICAgICAgICAgIG9wdFsncGFnZV90aXRsZSddID0gdGl0bGU7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGlmIChsb2NhdGlvbikge1xyXG4gICAgICAgICAgb3B0WydwYWdlX2xvY2F0aW9uJ10gPSBsb2NhdGlvbjtcclxuICAgICAgICB9XHJcbiAgICAgICAgaWYgKG9wdGlvbnMpIHtcclxuICAgICAgICAgIE9iamVjdC5hc3NpZ24ob3B0LCBvcHRpb25zKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5ndGFnKCdjb25maWcnLCB0aGlzLiR0cmFja2luZ0lkLnRyYWNraW5nQ29kZSwgb3B0KTtcclxuICAgICAgfVxyXG4gICAgfSBjYXRjaCAoZXJyb3IpIHtcclxuICAgICAgdGhpcy50aHJvdyhlcnJvcik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvKipcclxuICAgKiBTZW5kIGFuIGV2ZW50byB0byByZXBvcnQgYSBBcHAgUGFnZSBWaWV3LiBJdCBpcyB0aGUgc2FtZSBhc1xyXG4gICAqXHJcbiAgICogYGBganNcclxuICAgKiBndGFnKCdldmVudCcsICdzY3JlZW5fdmlldycsIHtcclxuICAgKiAgICdhcHBfbmFtZSc6ICdteUFwcE5hbWUnLFxyXG4gICAqICAgJ3NjcmVlbl9uYW1lJyA6ICdIb21lJ1xyXG4gICAqIH0pO1xyXG4gICAqXHJcbiAgICogYGBgXHJcbiAgICpcclxuICAgKiBAcGFyYW0gc2NyZWVuICdzY3JlZW5fbmFtZSdcclxuICAgKiBAcGFyYW0gbmFtZSAnYXBwX25hbWUnXHJcbiAgICogQHBhcmFtIGFwcElkICdhcHBfaWQnXHJcbiAgICogQHBhcmFtIGFwcFZlcnNpb24gJ2FwcF92ZXJzaW9uJ1xyXG4gICAqIEBwYXJhbSBpbnN0YWxsZXJJZCAnYXBwX2luc3RhbGxlcl9pZCdcclxuICAgKi9ccl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iBndGFnKCdldmVudCcsICdleGNlcHRpb24nLCB7XHJcbiAgICogICAnZGVzY3JpcHRpb24nOiAnZXJyb3JfZGVzY3JpcHRpb24nLFxyXG4gICAqICAgJ2ZhdGFsJzogZmFsc2UgICAvLyBzZXQgdG8gdHJ1ZSBpZiB0aGUgZXJyb3IgaXMgZmF0YWxcclxuICAgKiB9KTtcclxuICAgKiBgYGBcclxuICAgKlxyXG4gICAqIEBwYXJhbSBkZXNjcmlwdGlvbiAnZXJyb3JfZGVzY3JpcHRpb24nXHJcbiAgICogQHBhcmFtIGZhdGFsIHNldCB0byB0cnVlIGlmIHRoZSBlcnJvciBpcyBmYXRhbFxyXG4gICAqL1xyXG4gIGV4Y2VwdGlvbihkZXNjcmlwdGlvbj86IHN0cmluZywgZmF0YWw/OiBib29sZWFuKSB7XHJcbiAgICB0cnkge1xyXG4gICAgICBpZiAod2luZG93WydndGFnJ10pIHtcclxuICAgICAgICBjb25zdCBvcHQgPSB7fTtcclxuICAgICAgICBpZiAoZGVzY3JpcHRpb24pIHtcclxuICAgICAgICAgIG9wdFsnZGVzY3JpcHRpb24nXSA9IGRlc2NyaXB0aW9uO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAoZmF0YWwpIHtcclxuICAgICAgICAgIG9wdFsnZmF0YWwnXSA9IGZhdGFsO1xyXG4gICAgICAgIH1cclxuICAgICAgICB0aGlzLmd0YWcoJ2V2ZW50JywgJ2V4Y2VwdGlvbicsIG9wdCk7XHJcbiAgICAgIH1cclxuICAgIH0gY2F0Y2ggKGVycm9yKSB7XHJcbiAgICAgIHRoaXMudGhyb3coZXJyb3IpO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNl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lcHRpb24nLCBvcHQpO1xyXG4gICAgICB9XHJcbiAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICB0aGlzLnRocm93KGVycm9yKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -8,5 +8,7 @@ import { InjectionToken } from '@angular/core'; | ||
export const NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = new InjectionToken('ngx-hotjar-settings', { | ||
factory: () => ({ trackingCode: '' }) | ||
factory: (/** | ||
* @return {?} | ||
*/ | ||
() => ({ trackingCode: '' })) | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MtdG9rZW4uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi90b2tlbnMvbmd4LWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MtdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRy9DLGFBQWEsbUNBQW1DLEdBQUcsSUFBSSxjQUFjLENBQTJCLHFCQUFxQixFQUFFO0lBQ3JILE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDLEVBQUUsWUFBWSxFQUFFLEVBQUUsRUFBRSxDQUFDO0NBQ3RDLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IElHb29nb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5dGljcy1zZXR0aW5ncyc7XHJcblxyXG5leHBvcnQgY29uc3QgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfU0VUVElOR1NfVE9LRU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48SUdvb2dsZUFuYWx5dGljc1NldHRpbmdzPignbmd4LWhvdGphci1zZXR0aW5ncycsIHtcclxuICBmYWN0b3J5OiAoKSA9PiAoeyB0cmFja2luZ0NvZGU6ICcnIH0pXHJcbn0pO1xyXG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @typedef {?} */ | ||
var GaAction; | ||
export { GaAction }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtYWN0aW9uLnR5cGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi90eXBlcy9nYS1hY3Rpb24udHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgR2FBY3Rpb24gPSAndmlld19zZWFyY2hfcmVzdWx0cydcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnYWRkX3BheW1lbnRfaW5mbydcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnYWRkX3RvX2NhcnQnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ2FkZF90b193aXNobGlzdCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnYmVnaW5fY2hlY2tvdXQnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ2NoZWNrb3V0X3Byb2dyZXNzJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICdnZW5lcmF0ZV9sZWFkJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICdsb2dpbidcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAncHVyY2hhc2UnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3JlZnVuZCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAncmVtb3ZlX2Zyb21fY2FydCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnc2VhcmNoJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICdzZWxlY3RfY29udGVudCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnc2V0X2NoZWNrb3V0X29wdGlvbidcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnc2hhcmUnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3NpZ25fdXAnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3ZpZXdfaXRlbSdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAndmlld19pdGVtX2xpc3QnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3ZpZXdfcHJvbW90aW9uJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICd2aWV3X3NlYXJjaF9yZXN1bHRzJztcclxuXHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @typedef {?} */ | ||
var GaBind; | ||
export { GaBind }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtYmluZC50eXBlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvdHlwZXMvZ2EtYmluZC50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBHYUJpbmQgPSAnY2xpY2snfCdmb2N1cyd8J2JsdXInO1xyXG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -9,3 +9,2 @@ /** | ||
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbIm5neC1nb29nbGUtYW5hbHl0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3V0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -10,3 +10,7 @@ /* | ||
export { GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER } from './lib/initializers/google-analytics-router.initializer'; | ||
export {} from './lib/interfaces/i-google-analytics-commant'; | ||
export {} from './lib/interfaces/i-google-analytics-settings'; | ||
export { NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN } from './lib/tokens/ngx-google-analytics-settings-token'; | ||
export {} from './lib/types/ga-action.type'; | ||
export {} from './lib/types/ga-bind.type'; | ||
export { GoogleAnalyticsService } from './lib/services/google-analytics.service'; | ||
@@ -18,3 +22,2 @@ export { GaEventCategoryDirective } from './lib/directives/ga-event-category.directive'; | ||
export { NgxGoogleAnalyticsRouterModule } from './lib/ngx-google-analytics-router/ngx-google-analytics-router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0ZBQWMsaURBQWlELENBQUM7QUFDaEUsbUdBQWMsd0RBQXdELENBQUM7QUFHdkUsb0RBQWMsa0RBQWtELENBQUM7QUFHakUsdUNBQWMseUNBQXlDLENBQUM7QUFDeEQseUNBQWMsOENBQThDLENBQUM7QUFDN0QsaUNBQWMscUNBQXFDLENBQUM7QUFDcEQsMENBQWMsZ0RBQWdELENBQUM7QUFDL0QseUNBQWMsbUNBQW1DLENBQUM7QUFDbEQsK0NBQWMsc0VBQXNFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmd4LWdvb2dsZS1hbmFseXRpY3NcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbml0aWFsaXplcnMvZ29vZ2xlLWFuYWx5dGljcy5pbml0aWFsaXplcic7XHJcbmV4cG9ydCAqIGZ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W5zL25neC1nb29nbGUtYW5hbHl0aWNzLXNldHRpbmdzLXRva2VuJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMvZ2EtYWN0aW9uLnR5cGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi90eXBlcy9nYS1iaW5kLnR5cGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcy9nb29nbGUtYW5hbHl0aWNzLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LWNhdGVnb3J5LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvZ2EtZXZlbnQuZGlyZWN0aXZlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9nYS1ldmVudC1mb3JtLWlucHV0LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1nb29nbGUtYW5hbHl0aWNzLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1nb29nbGUtYW5hbHl0aWNzLXJvdXRlci9uZ3gtZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIubW9kdWxlJztcclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -27,3 +27,2 @@ import { Directive, Input } from '@angular/core'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQtY2F0ZWdvcnkuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvZGlyZWN0aXZlcy9nYS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sQ0FBQzs7Z0JBUGxCLFNBQVMsU0FBQztvQkFDVCxRQUFRLEVBQUUsbURBQ2M7b0JBQ3hCLFFBQVEsRUFBRSxZQUFZO2lCQUN2Qjs7Ozs7NkJBS0UsS0FBSzs7SUFFUiwrQkFBQztDQUFBLEFBWEQsSUFXQztTQU5ZLHdCQUF3Qjs7O0lBSW5DLDhDQUE0QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiBgW2dhRXZlbnRdW2dhQ2F0ZWdvcnldLFxuICAgICAgICAgICAgIFtnYUNhdGVnb3J5XWAsXG4gIGV4cG9ydEFzOiAnZ2FDYXRlZ29yeSdcbn0pXG5leHBvcnQgY2xhc3MgR2FFdmVudENhdGVnb3J5RGlyZWN0aXZlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIEBJbnB1dCgpIGdhQ2F0ZWdvcnk6IHN0cmluZztcblxufVxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -42,6 +42,8 @@ import { Directive, Host, Optional, Input } from '@angular/core'; | ||
GaEventFormInputDirective.prototype.gaBind; | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GaEventFormInputDirective.prototype.$gaEvent; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQtZm9ybS1pbnB1dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9kaXJlY3RpdmVzL2dhLWV2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29uc3RydWN0b3IoXG4gICAgQEhvc3QoKSBAT3B0aW9uYWwoKSBwcm90ZWN0ZWQgJGdhRXZlbnQ6IEdhRXZlbnREaXJlY3RpdmVcbiAgKSB7IH1cblxuICBASW5wdXQoKSBnYUJpbmQ6IEdhQmluZDtcblxuICBuZ09uSW5pdCgpIHtcbiAgICBpZiAodGhpcy4kZ2FFdmVudCkge1xuICAgICAgdGhpcy4kZ2FFdmVudC5nYUJpbmQgPSAodGhpcy5nYUJpbmQpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA/IHRoaXMuJGdhRXZlbnQuZ2FCaW5kXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6ICdmb2N1cyc7XG4gICAgfVxuICB9XG5cbn1cbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -56,5 +56,7 @@ import { Directive, Optional, Input, HostListener } from '@angular/core'; | ||
/** | ||
* @protected | ||
* @return {?} | ||
*/ | ||
GaEventDirective.prototype.trigger = /** | ||
* @protected | ||
* @return {?} | ||
@@ -78,2 +80,3 @@ */ | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -83,2 +86,3 @@ * @return {?} | ||
GaEventDirective.prototype.throw = /** | ||
* @protected | ||
* @param {?} err | ||
@@ -130,8 +134,13 @@ * @return {?} | ||
GaEventDirective.prototype.gaBind; | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GaEventDirective.prototype.$gaCategoryDirective; | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GaEventDirective.prototype.$gaService; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtZXZlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm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mdhQ2F0ZWdvcnksXHJcbiAgICAgICAgICAgIHRoaXMuZ2FMYWJlbCB8fCB0aGlzLmxhYmVsLFxyXG4gICAgICAgICAgICB0aGlzLmdhVmFsdWUsXHJcbiAgICAgICAgICAgIHRoaXMuZ2FJbnRlcmFjdGlvblxyXG4gICAgICAgICAgKTtcclxuICAgIH0gY2F0Y2ggKGVycikge1xyXG4gICAgICB0aGlzLnRocm93KGVycik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwcm90ZWN0ZWQgdGhyb3coZXJyOiBFcnJvcikge1xyXG4gICAgaWYgKGNvbnNvbGUgJiYgY29uc29sZS53YXJuKSB7XHJcbiAgICAgIGNvbnNvbGUud2FybihlcnIpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -26,16 +26,23 @@ import * as tslib_1 from "tslib"; | ||
var _this = this; | ||
return function (c) { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
return (/** | ||
* @param {?} c | ||
* @return {?} | ||
*/ | ||
function (c) { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_a) { | ||
$router | ||
.events | ||
.subscribe(function (event) { | ||
.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
if (event instanceof NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects, undefined, document.location.href); | ||
} | ||
}); | ||
})); | ||
return [2 /*return*/]; | ||
}); | ||
}); }; | ||
}); }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIuaW5pdGlhbGl6ZXIuanMiLCJzb3VyY2VSb290Ijoibmc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50c1xyXG4gICAgICAuc3Vic2NyaWJlKGV2ZW50ID0+IHtcclxuICAgICAgICBpZiAoZXZlbnQgaW5zdGFuY2VvZiBOYXZpZ2F0aW9uRW5kKSB7XHJcbiAgICAgICAgICAkZ2FTZXJ2aWNlLnBhZ2VWaWV3KGV2ZW50LnVybEFmdGVyUmVkaXJlY3RzLCB1bmRlZmluZWQsIGRvY3VtZW50LmxvY2F0aW9uLmhyZWYpO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJcbiAgfTtcclxufVxyXG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -23,3 +23,6 @@ import * as tslib_1 from "tslib"; | ||
var _this = this; | ||
return function () { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
return (/** | ||
* @return {?} | ||
*/ | ||
function () { return tslib_1.__awaiter(_this, void 0, void 0, function () { | ||
var e_1, _a, initialCommands, _b, _c, command, s, head; | ||
@@ -35,2 +38,3 @@ return tslib_1.__generator(this, function (_d) { | ||
$settings.uri = $settings.uri || "https://www.googletagmanager.com/gtag/js?id=" + $settings.trackingCode; | ||
// these commands should run first! | ||
initialCommands = [ | ||
@@ -42,5 +46,8 @@ { command: 'js', values: [new Date()] }, | ||
window['dataLayer'] = window['dataLayer'] || []; | ||
window['gtag'] = window['gtag'] || function () { | ||
window['gtag'] = window['gtag'] || (/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
window['dataLayer'].push(arguments); | ||
}; | ||
}); | ||
try { | ||
@@ -66,5 +73,4 @@ for (_b = tslib_1.__values($settings.initCommands), _c = _b.next(); !_c.done; _c = _b.next()) { | ||
}); | ||
}); }; | ||
}); }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljc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LFxyXG4gICAgICB7IGNvbW1hbmQ6ICdjb25maWcnLCB2YWx1ZXM6IFsgJHNldHRpbmdzLnRyYWNraW5nQ29kZSBdIH1cclxuICAgIF07XHJcblxyXG4gICAgJHNldHRpbmdzLmluaXRDb21tYW5kcyA9IFsgLi4uaW5pdGlhbENvbW1hbmRzLCAuLi4oJHNldHRpbmdzLmluaXRDb21tYW5kcyB8fCBbXSkgXTtcclxuXHJcbiAgICB3aW5kb3dbJ2RhdGFMYXllciddID0gd2luZG93WydkYXRhTGF5ZXInXSB8fCBbXTtcclxuICAgIHdpbmRvd1snZ3RhZyddID0gd2luZG93WydndGFnJ10gfHwgZnVuY3Rpb24gKCkge1xyXG4gICAgICB3aW5kb3dbJ2RhdGFMYXllciddLnB1c2goYXJndW1lbnRzKTtcclxuICAgIH07XHJcblxyXG4gICAgZm9yIChjb25zdCBjb21tYW5kIG9mICRzZXR0aW5ncy5pbml0Q29tbWFuZHMpIHtcclxuICAgICAgd2luZG93WydndGFnJ10oY29tbWFuZC5jb21tYW5kLCAuLi5jb21tYW5kLnZhbHVlcyk7XHJcbiAgICB9XHJcblxyXG4gICAgY29uc3QgczogSFRNTFNjcmlwdEVsZW1lbnQgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKTtcclxuICAgIHMuYXN5bmMgPSB0cnVlO1xyXG4gICAgcy5zcmMgPSAkc2V0dGluZ3MudXJpO1xyXG5cclxuICAgIGNvbnN0IGhlYWQ6IEhUTUxIZWFkRWxlbWVudCA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCdoZWFkJylbMF07XHJcbiAgICBoZWFkLmFwcGVuZENoaWxkKHMpO1xyXG4gIH07XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -9,7 +9,8 @@ /** | ||
export function IGoogleAnalyticsCommand() { } | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.command; | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.values; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1jb21tYW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElHb29nbGVBbmFseXRpY3NDb21tYW5kIHtcclxuICBjb21tYW5kOiBzdHJpbmc7XHJcbiAgdmFsdWVzOiBhbnlbXTtcclxufVxyXG4iXX0= | ||
if (false) { | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.command; | ||
/** @type {?} */ | ||
IGoogleAnalyticsCommand.prototype.values; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1jb21tYW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQSw2Q0FHQzs7O0lBRkMsMENBQWdCOztJQUNoQix5Q0FBYyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUdvb2dsZUFuYWx5dGljc0NvbW1hbmQge1xyXG4gIGNvbW1hbmQ6IHN0cmluZztcclxuICB2YWx1ZXM6IGFueVtdO1xyXG59XHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -9,9 +9,10 @@ /** | ||
export function IGoogleAnalyticsSettings() { } | ||
/** @type {?} */ | ||
IGoogleAnalyticsSettings.prototype.trackingCode; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.initCommands; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.uri; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLXNldHRpbmdzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9pLWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElHb29nbGVBbmFseXRpY3NDb21tYW5kIH0gZnJvbSAnLi9pLWdvb2dsZS1hbmFseXRpY3MtY29tbWFudCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElHb29nbGVBbmFseXRpY3NTZXR0aW5ncyB7XHJcbiAgdHJhY2tpbmdDb2RlOiBzdHJpbmc7XHJcbiAgaW5pdENvbW1hbmRzPzogQXJyYXk8SUdvb2dsZUFuYWx5dGljc0NvbW1hbmQ+O1xyXG4gIHVyaT86IHN0cmluZztcclxufVxyXG4iXX0= | ||
if (false) { | ||
/** @type {?} */ | ||
IGoogleAnalyticsSettings.prototype.trackingCode; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.initCommands; | ||
/** @type {?|undefined} */ | ||
IGoogleAnalyticsSettings.prototype.uri; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1nb29nbGUtYW5hbHl0aWNzLXNldHRpbmdzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvaW50ZXJmYWNlcy9pLWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUVBLDhDQUlDOzs7SUFIQyxnREFBcUI7O0lBQ3JCLGdEQUE4Qzs7SUFDOUMsdUNBQWEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZCB9IGZyb20gJy4vaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJR29vZ2xlQW5hbHl0aWNzU2V0dGluZ3Mge1xyXG4gIHRyYWNraW5nQ29kZTogc3RyaW5nO1xyXG4gIGluaXRDb21tYW5kcz86IEFycmF5PElHb29nbGVBbmFseXRpY3NDb21tYW5kPjtcclxuICB1cmk/OiBzdHJpbmc7XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -27,3 +27,2 @@ import { NgModule } from '@angular/core'; | ||
export { NgxGoogleAnalyticsRouterModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3Mtcm91dGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsibGliL25neC1nb29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250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlLCBPcHRpb25hbCwgSW5qZWN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfUk9VVEVSX0lOSVRJQUxJWkVSX1BST1ZJREVSIH0gZnJvbSAnLi4vaW5pdGlhbGl6ZXJzL2dvb2dsZS1hbmFseXRpY3Mtcm91dGVyLmluaXRpYWxpemVyJztcbmltcG9ydCB7IE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSB9IGZyb20gJy4uL25neC1nb29nbGUtYW5hbHl0aWNzLm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTmd4R29vZ2xlQW5hbHl0aWNzTW9kdWxlXG4gIF0sXG4gIHByb3ZpZGVyczogW1xuICAgIE5HWF9HT09HTEVfQU5BTFlUSUNTX1JPVVRFUl9JTklUSUFMSVpFUl9QUk9WSURFUlxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIE5neEdvb2dsZUFuYWx5dGljc1JvdXRlck1vZHVsZSB7IH1cbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -53,3 +53,2 @@ import { NgModule } from '@angular/core'; | ||
export { NgxGoogleAnalyticsModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIi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pcmVjdGl2ZV0sXHJcbiAgZXhwb3J0czogW0dhRXZlbnREaXJlY3RpdmUsIEdhRXZlbnRDYXRlZ29yeURpcmVjdGl2ZSwgR2FFdmVudEZvcm1JbnB1dERpcmVjdGl2ZV1cclxufSlcclxuZXhwb3J0IGNsYXNzIE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSB7XHJcbiAgc3RhdGljIGZvclJvb3QodHJhY2tpbmdDb2RlOiBzdHJpbmcsIGNvbW1hbmRzOiBJR29vZ2xlQW5hbHl0aWNzQ29tbWFuZFtdID0gW10sIHVyaT86IHN0cmluZyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xyXG4gICAgcmV0dXJuIHtcclxuICAgICAgbmdNb2R1bGU6IE5neEdvb2dsZUFuYWx5dGljc01vZHVsZSxcclxuICAgICAgcHJvdmlkZXJzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgcHJvdmlkZTogTkdYX0dPT0dMRV9BTkFMWVRJQ1NfU0VUVElOR1NfVE9LRU4sXHJcbiAgICAgICAgICB1c2VWYWx1ZToge1xyXG4gICAgICAgICAgICB0cmFja2luZ0NvZGU6IHRyYWNraW5nQ29kZSxcclxuICAgICAgICAgICAgY29tbWFuZHM6IGNvbW1hbmRzLFxyXG4gICAgICAgICAgICB1cmk6IHVyaVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfSU5JVElBTElaRVJfUFJPVklERVIsXHJcbiAgICAgIF1cclxuICAgIH07XHJcbiAgfVxyXG59XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvbmd4LWdvb2dsZS1hbmFseXRpY3MubW9kdWxl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ZlLCBHYUV2ZW50Rm9ybUlucHV0RGlyZWN0aXZlXSxcclxuICBleHBvcnRzOiBbR2FFdmVudERpcmVjdGl2ZSwgR2FFdmVudENhdGVnb3J5RGlyZWN0aXZlLCBHYUV2ZW50Rm9ybUlucHV0RGlyZWN0aXZlXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTmd4R29vZ2xlQW5hbHl0aWNzTW9kdWxlIHtcclxuICBzdGF0aWMgZm9yUm9vdCh0cmFja2luZ0NvZGU6IHN0cmluZywgY29tbWFuZHM6IElHb29nbGVBbmFseXRpY3NDb21tYW5kW10gPSBbXSwgdXJpPzogc3RyaW5nKTogTW9kdWxlV2l0aFByb3ZpZGVycyB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBuZ01vZHVsZTogTmd4R29vZ2xlQW5hbHl0aWNzTW9kdWxlLFxyXG4gICAgICBwcm92aWRlcnM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm92aWRlOiBOR1hfR09PR0xFX0FOQUxZVElDU19TRVRUSU5HU19UT0tFTixcclxuICAgICAgICAgIHVzZVZhbHVlOiB7XHJcbiAgICAgICAgICAgIHRyYWNraW5nQ29kZTogdHJhY2tpbmdDb2RlLFxyXG4gICAgICAgICAgICBjb21tYW5kczogY29tbWFuZHMsXHJcbiAgICAgICAgICAgIHVyaTogdXJpXHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSxcclxuICAgICAgICBOR1hfR09PR0xFX0FOQUxZVElDU19JTklUSUFMSVpFUl9QUk9WSURFUixcclxuICAgICAgXVxyXG4gICAgfTtcclxuICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -15,2 +15,3 @@ import * as tslib_1 from "tslib"; | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -20,2 +21,3 @@ * @return {?} | ||
GoogleAnalyticsService.prototype.throw = /** | ||
* @protected | ||
* @param {?} err | ||
@@ -127,3 +129,3 @@ * @return {?} | ||
} | ||
this.gtag('event', /** @type {?} */ (action), opt); | ||
this.gtag('event', (/** @type {?} */ (action)), opt); | ||
} | ||
@@ -360,3 +362,3 @@ } | ||
]; }; | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.inject(i1.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.ɵɵinject(i1.NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
return GoogleAnalyticsService; | ||
@@ -366,6 +368,8 @@ }()); | ||
if (false) { | ||
/** @type {?} */ | ||
/** | ||
* @type {?} | ||
* @protected | ||
*/ | ||
GoogleAnalyticsService.prototype.$trackingId; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMvZ29vZ2xlLWFuYWx5dGljcy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1DQUFtQyxFQUFFLE1BQU0sK0NBQStDLENBQUM7Ozs7SUFRbEcsZ0NBQ3lELFdBQXFDO1F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hcHBsaWNhdGlvbiBlcnJvci4gSXQgaXMgdGhlIHNhbWUgYXNcclxuICAgKlxyXG4gICAqIGBgYGpzXHJcbiAgICogZ3RhZygnZXZlbnQnLCAnZXhjZXB0aW9uJywge1xyXG4gICAqICAgJ2Rlc2NyaXB0aW9uJzogJ2Vycm9yX2Rlc2NyaXB0aW9uJyxcclxuICAgKiAgICdmYXRhbCc6IGZhbHNlICAgLy8gc2V0IHRvIHRydWUgaWYgdGhlIGVycm9yIGlzIGZhdGFsXHJcbiAgICogfSk7XHJcbiAgICogYGBgXHJcbiAgICpcclxuICAgKiBAcGFyYW0gZGVzY3JpcHRpb24gJ2Vycm9yX2Rlc2NyaXB0aW9uJ1xyXG4gICAqIEBwYXJhbSBmYXRhbCBzZXQgdG8gdHJ1ZSBpZiB0aGUgZXJyb3IgaXMgZmF0YWxcclxuICAgKi9cclxuICBleGNlcHRpb24oZGVzY3JpcHRpb24/OiBzdHJpbmcsIGZhdGFsPzogYm9vbGVhbikge1xyXG4gICAgdHJ5IHtcclxuICAgICAgaWYgKHdpbmRvd1snZ3RhZyddKSB7XHJcbiAgICAgICAgY29uc3Qgb3B0ID0ge307XHJcbiAgICAgICAgaWYgKGRlc2NyaXB0aW9uKSB7XHJcbiAgICAgICAgICBvcHRbJ2Rlc2NyaXB0aW9uJ10gPSBkZXNjcmlwdGlvbjtcclxuICAgICAgICB9XHJcbiAgICAgICAgaWYgKGZhdGFsKSB7XHJcbiAgICAgICAgICBvcHRbJ2ZhdGFsJ10gPSBmYXRhbDtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5ndGFnKCdldmVudCcsICdleGNlcHRpb24nLCBvcHQpO1xyXG4gICAgICB9XHJcbiAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICB0aGlzLnRocm93KGVycm9yKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -8,5 +8,7 @@ import { InjectionToken } from '@angular/core'; | ||
export var NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = new InjectionToken('ngx-hotjar-settings', { | ||
factory: function () { return ({ trackingCode: '' }); } | ||
factory: (/** | ||
* @return {?} | ||
*/ | ||
function () { return ({ trackingCode: '' }); }) | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MtdG9rZW4uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi90b2tlbnMvbmd4LWdvb2dsZS1hbmFseXRpY3Mtc2V0dGluZ3MtdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRy9DLFdBQWEsbUNBQW1DLEdBQUcsSUFBSSxjQUFjLENBQTJCLHFCQUFxQixFQUFFO0lBQ3JILE9BQU8sRUFBRSxjQUFNLE9BQUEsQ0FBQyxFQUFFLFlBQVksRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUF0QixDQUFzQjtDQUN0QyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBJR29vZ2xlQW5hbHl0aWNzU2V0dGluZ3MgfSBmcm9tICcuLi9pbnRlcmZhY2VzL2ktZ29vZ2xlLWFuYWx5dGljcy1zZXR0aW5ncyc7XHJcblxyXG5leHBvcnQgY29uc3QgTkdYX0dPT0dMRV9BTkFMWVRJQ1NfU0VUVElOR1NfV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25neC1ob3RqYXItc2V0dGluZ3MnLCB7XHJcbiAgZmFjdG9yeTogKCkgPT4gKHsgdHJhY2tpbmdDb2RlOiAnJyB9KVxyXG59KTtcclxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @typedef {?} */ | ||
var GaAction; | ||
export { GaAction }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtYWN0aW9uLnR5cGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbImxpYi90eXBlcy9nYS1hY3Rpb24udHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgR2FBY3Rpb24gPSAndmlld19zZWFyY2hfcmVzdWx0cydcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnYWRkX3BheW1lbnRfaW5mbydcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnYWRkX3RvX2NhcnQnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ2FkZF90b193aXNobGlzdCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnYmVnaW5fY2hlY2tvdXQnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ2NoZWNrb3V0X3Byb2dyZXNzJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICdnZW5lcmF0ZV9sZWFkJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICdsb2dpbidcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAncHVyY2hhc2UnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3JlZnVuZCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAncmVtb3ZlX2Zyb21fY2FydCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnc2VhcmNoJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICdzZWxlY3RfY29udGVudCdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnc2V0X2NoZWNrb3V0X29wdGlvbidcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAnc2hhcmUnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3NpZ25fdXAnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3ZpZXdfaXRlbSdcclxuICAgICAgICAgICAgICAgICAgICAgICAgfCAndmlld19pdGVtX2xpc3QnXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHwgJ3ZpZXdfcHJvbW90aW9uJ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB8ICd2aWV3X3NlYXJjaF9yZXN1bHRzJztcclxuXHJcbiJdfQ== |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @typedef {?} */ | ||
var GaBind; | ||
export { GaBind }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2EtYmluZC50eXBlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWdvb2dsZS1hbmFseXRpY3MvIiwic291cmNlcyI6WyJsaWIvdHlwZXMvZ2EtYmluZC50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBHYUJpbmQgPSAnY2xpY2snfCdmb2N1cyd8J2JsdXInO1xyXG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -9,3 +9,2 @@ /** | ||
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdvb2dsZS1hbmFseXRpY3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZ29vZ2xlLWFuYWx5dGljcy8iLCJzb3VyY2VzIjpbIm5neC1nb29nbGUtYW5hbHl0aWNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3V0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -10,3 +10,7 @@ /* | ||
export { GoogleAnalyticsRouterInitializer, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER } from './lib/initializers/google-analytics-router.initializer'; | ||
export {} from './lib/interfaces/i-google-analytics-commant'; | ||
export {} from './lib/interfaces/i-google-analytics-settings'; | ||
export { NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN } from './lib/tokens/ngx-google-analytics-settings-token'; | ||
export {} from './lib/types/ga-action.type'; | ||
export {} from './lib/types/ga-bind.type'; | ||
export { GoogleAnalyticsService } from './lib/services/google-analytics.service'; | ||
@@ -18,3 +22,2 @@ export { GaEventCategoryDirective } from './lib/directives/ga-event-category.directive'; | ||
export { NgxGoogleAnalyticsRouterModule } from './lib/ngx-google-analytics-router/ngx-google-analytics-router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1nb29nbGUtYW5hbHl0aWNzLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsc0ZBQWMsaURBQWlELENBQUM7QUFDaEUsbUdBQWMsd0RBQXdELENBQUM7QUFHdkUsb0RBQWMsa0RBQWtELENBQUM7QUFHakUsdUNBQWMseUNBQXlDLENBQUM7QUFDeEQseUNBQWMsOENBQThDLENBQUM7QUFDN0QsaUNBQWMscUNBQXFDLENBQUM7QUFDcEQsMENBQWMsZ0RBQWdELENBQUM7QUFDL0QseUNBQWMsbUNBQW1DLENBQUM7QUFDbEQsK0NBQWMsc0VBQXNFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygbmd4LWdvb2dsZS1hbmFseXRpY3NcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbml0aWFsaXplcnMvZ29vZ2xlLWFuYWx5dGljcy5pbml0aWFsaXplcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2luaXRpYWxpemVycy9nb29nbGUtYW5hbHl0aWNzLXJvdXRlci5pbml0aWFsaXplcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2ludGVyZmFjZXMvaS1nb29nbGUtYW5hbHl0aWNzLWNvbW1hbnQnO1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W5kLnR5cGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcy9nb29nbGUtYW5hbHl0aWNzLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9kaXJlY3RpdmVzL2dhLWV2ZW50LWNhdGVnb3J5LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvZ2EtZXZlbnQuZGlyZWN0aXZlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9nYS1ldmVudC1mb3JtLWlucHV0LmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1nb29nbGUtYW5hbHl0aWNzLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1nb29nbGUtYW5hbHl0aWNzLXJvdXRlci9uZ3gtZ29vZ2xlLWFuYWx5dGljcy1yb3V0ZXIubW9kdWxlJztcclxuIl19 |
import { __awaiter } from 'tslib'; | ||
import { InjectionToken, APP_INITIALIZER, isDevMode, Injectable, Inject, ɵɵdefineInjectable, ɵɵinject, APP_BOOTSTRAP_LISTENER, Directive, Input, Optional, HostListener, Host, NgModule } 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'; | ||
@@ -8,7 +8,10 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
const NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = new InjectionToken('ngx-hotjar-settings', { | ||
factory: () => ({ trackingCode: '' }) | ||
factory: (/** | ||
* @return {?} | ||
*/ | ||
() => ({ trackingCode: '' })) | ||
}); | ||
@@ -18,3 +21,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -35,3 +38,6 @@ /** @type {?} */ | ||
function GoogleAnalyticsInitializer($settings) { | ||
return () => __awaiter(this, void 0, void 0, function* () { | ||
return (/** | ||
* @return {?} | ||
*/ | ||
() => __awaiter(this, void 0, void 0, function* () { | ||
if (!$settings.trackingCode) { | ||
@@ -45,2 +51,3 @@ if (!isDevMode()) { | ||
$settings.uri = $settings.uri || `https://www.googletagmanager.com/gtag/js?id=${$settings.trackingCode}`; | ||
// these commands should run first! | ||
/** @type {?} */ | ||
@@ -53,5 +60,8 @@ const initialCommands = [ | ||
window['dataLayer'] = window['dataLayer'] || []; | ||
window['gtag'] = window['gtag'] || function () { | ||
window['gtag'] = window['gtag'] || (/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
window['dataLayer'].push(arguments); | ||
}; | ||
}); | ||
for (const command of $settings.initCommands) { | ||
@@ -67,3 +77,3 @@ window['gtag'](command.command, ...command.values); | ||
head.appendChild(s); | ||
}); | ||
})); | ||
} | ||
@@ -73,3 +83,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -84,2 +94,3 @@ class GoogleAnalyticsService { | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -142,3 +153,3 @@ * @return {?} | ||
} | ||
this.gtag('event', /** @type {?} */ (action), opt); | ||
this.gtag('event', (/** @type {?} */ (action)), opt); | ||
} | ||
@@ -279,7 +290,7 @@ } | ||
]; | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(inject(NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(ɵɵinject(NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -302,11 +313,19 @@ /** @type {?} */ | ||
function GoogleAnalyticsRouterInitializer($gaService, $router) { | ||
return (c) => __awaiter(this, void 0, void 0, function* () { | ||
return (/** | ||
* @param {?} c | ||
* @return {?} | ||
*/ | ||
(c) => __awaiter(this, void 0, void 0, function* () { | ||
$router | ||
.events | ||
.subscribe(event => { | ||
.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
event => { | ||
if (event instanceof NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects, undefined, document.location.href); | ||
} | ||
}); | ||
}); | ||
})); | ||
})); | ||
} | ||
@@ -316,3 +335,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -337,3 +356,3 @@ class GaEventCategoryDirective { | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -380,2 +399,3 @@ class GaEventDirective { | ||
/** | ||
* @protected | ||
* @return {?} | ||
@@ -399,2 +419,3 @@ */ | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -434,3 +455,3 @@ * @return {?} | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -472,3 +493,3 @@ class GaEventFormInputDirective { | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -509,3 +530,3 @@ class NgxGoogleAnalyticsModule { | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -527,14 +548,3 @@ class NgxGoogleAnalyticsRouterModule { | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @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 | ||
export { GaEventCategoryDirective, GaEventDirective, GaEventFormInputDirective, GoogleAnalyticsInitializer, GoogleAnalyticsRouterInitializer, GoogleAnalyticsService, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule }; | ||
//# sourceMappingURL=ngx-google-analytics.js.map |
@@ -0,4 +1,4 @@ | ||
import { __awaiter, __generator, __spread, __values } from 'tslib'; | ||
import { InjectionToken, APP_INITIALIZER, isDevMode, Injectable, Inject, ɵɵdefineInjectable, ɵɵinject, APP_BOOTSTRAP_LISTENER, Directive, Input, Optional, HostListener, Host, NgModule } from '@angular/core'; | ||
import { Router, NavigationEnd } from '@angular/router'; | ||
import { __awaiter, __generator, __spread, __values } from 'tslib'; | ||
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'; | ||
@@ -8,7 +8,10 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
var NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN = new InjectionToken('ngx-hotjar-settings', { | ||
factory: function () { return ({ trackingCode: '' }); } | ||
factory: (/** | ||
* @return {?} | ||
*/ | ||
function () { return ({ trackingCode: '' }); }) | ||
}); | ||
@@ -18,3 +21,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -36,3 +39,6 @@ /** @type {?} */ | ||
var _this = this; | ||
return function () { return __awaiter(_this, void 0, void 0, function () { | ||
return (/** | ||
* @return {?} | ||
*/ | ||
function () { return __awaiter(_this, void 0, void 0, function () { | ||
var e_1, _a, initialCommands, _b, _c, command, s, head; | ||
@@ -48,2 +54,3 @@ return __generator(this, function (_d) { | ||
$settings.uri = $settings.uri || "https://www.googletagmanager.com/gtag/js?id=" + $settings.trackingCode; | ||
// these commands should run first! | ||
initialCommands = [ | ||
@@ -55,5 +62,8 @@ { command: 'js', values: [new Date()] }, | ||
window['dataLayer'] = window['dataLayer'] || []; | ||
window['gtag'] = window['gtag'] || function () { | ||
window['gtag'] = window['gtag'] || (/** | ||
* @return {?} | ||
*/ | ||
function () { | ||
window['dataLayer'].push(arguments); | ||
}; | ||
}); | ||
try { | ||
@@ -79,3 +89,3 @@ for (_b = __values($settings.initCommands), _c = _b.next(); !_c.done; _c = _b.next()) { | ||
}); | ||
}); }; | ||
}); }); | ||
} | ||
@@ -85,3 +95,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -93,2 +103,3 @@ var GoogleAnalyticsService = /** @class */ (function () { | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -98,2 +109,3 @@ * @return {?} | ||
GoogleAnalyticsService.prototype.throw = /** | ||
* @protected | ||
* @param {?} err | ||
@@ -205,3 +217,3 @@ * @return {?} | ||
} | ||
this.gtag('event', /** @type {?} */ (action), opt); | ||
this.gtag('event', (/** @type {?} */ (action)), opt); | ||
} | ||
@@ -438,3 +450,3 @@ } | ||
]; }; | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(inject(NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(ɵɵinject(NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN)); }, token: GoogleAnalyticsService, providedIn: "root" }); | ||
return GoogleAnalyticsService; | ||
@@ -445,3 +457,3 @@ }()); | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -465,14 +477,22 @@ /** @type {?} */ | ||
var _this = this; | ||
return function (c) { return __awaiter(_this, void 0, void 0, function () { | ||
return (/** | ||
* @param {?} c | ||
* @return {?} | ||
*/ | ||
function (c) { return __awaiter(_this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
$router | ||
.events | ||
.subscribe(function (event) { | ||
.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
if (event instanceof NavigationEnd) { | ||
$gaService.pageView(event.urlAfterRedirects, undefined, document.location.href); | ||
} | ||
}); | ||
})); | ||
return [2 /*return*/]; | ||
}); | ||
}); }; | ||
}); }); | ||
} | ||
@@ -482,3 +502,3 @@ | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -504,3 +524,3 @@ var GaEventCategoryDirective = /** @class */ (function () { | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -555,5 +575,7 @@ var GaEventDirective = /** @class */ (function () { | ||
/** | ||
* @protected | ||
* @return {?} | ||
*/ | ||
GaEventDirective.prototype.trigger = /** | ||
* @protected | ||
* @return {?} | ||
@@ -577,2 +599,3 @@ */ | ||
/** | ||
* @protected | ||
* @param {?} err | ||
@@ -582,2 +605,3 @@ * @return {?} | ||
GaEventDirective.prototype.throw = /** | ||
* @protected | ||
* @param {?} err | ||
@@ -618,3 +642,3 @@ * @return {?} | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -655,3 +679,3 @@ var GaEventFormInputDirective = /** @class */ (function () { | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -702,3 +726,3 @@ var NgxGoogleAnalyticsModule = /** @class */ (function () { | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
@@ -723,14 +747,3 @@ var NgxGoogleAnalyticsRouterModule = /** @class */ (function () { | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @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 | ||
export { GaEventCategoryDirective, GaEventDirective, GaEventFormInputDirective, GoogleAnalyticsInitializer, GoogleAnalyticsRouterInitializer, GoogleAnalyticsService, NGX_GOOGLE_ANALYTICS_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER, NGX_GOOGLE_ANALYTICS_SETTINGS_TOKEN, NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule }; | ||
//# sourceMappingURL=ngx-google-analytics.js.map |
@@ -1,6 +0,5 @@ | ||
import { Provider } from '@angular/core'; | ||
import { Provider, ComponentRef } from '@angular/core'; | ||
import { Router } from '@angular/router'; | ||
import { GoogleAnalyticsService } from '../services/google-analytics.service'; | ||
import { ComponentRef } from '@angular/core/src/render3'; | ||
export declare const NGX_GOOGLE_ANALYTICS_ROUTER_INITIALIZER_PROVIDER: Provider; | ||
export declare function GoogleAnalyticsRouterInitializer($gaService: GoogleAnalyticsService, $router: Router): (c: ComponentRef<any>) => Promise<void>; |
@@ -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"}},"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"} | ||
{"__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":5,"character":11},"multi":true,"useFactory":{"__symbolic":"reference","name":"GoogleAnalyticsRouterInitializer"},"deps":[{"__symbolic":"reference","name":"GoogleAnalyticsService"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":10,"character":4}]},"GoogleAnalyticsRouterInitializer":{"__symbolic":"function","parameters":["$gaService","$router"],"value":{"__symbolic":"error","message":"Lambda not supported","line":18,"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.8", | ||
"version": "8.0.0", | ||
"description": "A simple ng-6 wrapper to load Google Analytics dependency by angular way", | ||
@@ -19,4 +19,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": "^6.0.0-rc.0 || ^6.0.0", | ||
"@angular/core": "^6.0.0-rc.0 || ^6.0.0" | ||
"@angular/common": "^8.0.2", | ||
"@angular/core": "^8.0.2" | ||
}, | ||
@@ -23,0 +23,0 @@ "main": "bundles/ngx-google-analytics.umd.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
338422
3759
0
1
1