@firestitch/analytics
Advanced tools
Comparing version 12.2.1 to 12.2.2
@@ -408,6 +408,6 @@ (function (global, factory) { | ||
KlaviyoProvider.prototype.trackPage = function (path) { | ||
this.trackEvent('PageView', { path: path }); | ||
this.trackEvent('Page View', { path: path }); | ||
}; | ||
KlaviyoProvider.prototype.trackEvent = function (action, value) { | ||
window._learnq.push([action, value]); | ||
window._learnq.push(['track', action, value]); | ||
}; | ||
@@ -414,0 +414,0 @@ Object.defineProperty(KlaviyoProvider.prototype, "publicApiKey", { |
@@ -25,2 +25,2 @@ import { NgModule } from '@angular/core'; | ||
}] }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnMtYW5hbHl0aWNzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvZnMtYW5hbHl0aWNzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUF1QixNQUFNLGVBQWUsQ0FBQztBQUU5RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFlOUQsTUFBTSxPQUFPLGlCQUFpQjtJQUM1QixNQUFNLENBQUMsT0FBTyxDQUFDLFNBQTRCLEVBQUU7UUFDM0MsT0FBTztZQUNMLFFBQVEsRUFBRSxpQkFBaUI7U0FDNUIsQ0FBQztJQUNKLENBQUM7OytHQUxVLGlCQUFpQjtnSEFBakIsaUJBQWlCLGlCQU4xQixvQkFBb0IsYUFHcEIsb0JBQW9CO2dIQUdYLGlCQUFpQjs0RkFBakIsaUJBQWlCO2tCQVI3QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixvQkFBb0I7cUJBQ3JCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxvQkFBb0I7cUJBQ3JCO2lCQUNGIiwic291cmNlc0NvbnRlbn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gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBGc0FuYWx5dGljc01vZHVsZSxcbiAgICB9O1xuICB9XG59XG4iXX0= |
@@ -10,6 +10,6 @@ import { Provider } from "./provider"; | ||
trackPage(path) { | ||
this.trackEvent('PageView', { path }); | ||
this.trackEvent('Page View', { path }); | ||
} | ||
trackEvent(action, value) { | ||
window._learnq.push([action, value]); | ||
window._learnq.push(['track', action, value]); | ||
} | ||
@@ -21,2 +21,2 @@ get publicApiKey() { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2xhdml5by5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvcHJvdmlkZXJzL2tsYXZpeW8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUd0QyxNQUFNLE9BQU8sZUFBZ0IsU0FBUSxRQUFRO0lBRXBDLElBQUk7UUFDUixNQUFjLENBQUMsT0FBTyxHQUFJLE1BQWMsQ0FBQyxPQUFPLElBQUksRUFBRSxDQUFDO1FBRXhELElBQUcsSUFBSSxDQUFDLFlBQVksRUFBRTtZQUNwQixJQUFJLENBQUMsU0FBUyxDQUFDLDhEQUE4RCxJQUFJLENBQUMsWUFBWSxFQUFFLENBQUMsQ0FBQztTQUNuRztJQUNILENBQUM7SUFFTSxTQUFTLENBQUMsSUFBWTtRQUMzQixJQUFJLENBQUMsVUFBVSxDQUFDLFVBQVUsRUFBRSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7SUFDeEMsQ0FBQztJQUVNLFVBQVUsQ0FBQyxNQUFXLEVBQUUsS0FBVztRQUN2QyxNQUFjLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFFLE1BQU0sRUFBRSxLQUFLLENBQUUsQ0FBQyxDQUFDO0lBQ2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W5kb3cgYXMgYW55KS5fbGVhcm5xIHx8IFtdO1xuXG4gICAgaWYodGhpcy5wdWJsaWNBcGlLZXkpIHtcbiAgICAgIHRoaXMuYWRkU2NyaXB0KGBodHRwczovL3N0YXRpYy5rbGF2aXlvLmNvbS9vbnNpdGUvanMva2xhdml5by5qcz9jb21wYW55X2lkPSR7dGhpcy5wdWJsaWNBcGlLZXl9YCk7XG4gICAgfVxuICB9XG5cbiAgcHVibGljIHRyYWNrUGFnZShwYXRoOiBzdHJpbmcpOiB2b2lkIHtcbiAgICB0aGlzLnRyYWNrRXZlbnQoJ1BhZ2UgVmlldycsIHsgcGF0aCB9KTtcbiAgfVxuXG4gIHB1YmxpYyB0cmFja0V2ZW50KGFjdGlvbjogYW55LCB2YWx1ZT86IGFueSk6IHZvaWQge1xuICAgICh3aW5kb3cgYXMgYW55KS5fbGVhcm5xLnB1c2goWyd0cmFjaycsIGFjdGlvbiwgdmFsdWUgXSk7XG4gIH1cbiAgXG4gIHB1YmxpYyBnZXQgcHVibGljQXBpS2V5KCkge1xuICAgIHJldHVybiB0aGlzLl9jb25maWcua2xhdml5bz8ucHVibGljQXBpS2V5O1xuICB9XG59Il19 |
@@ -50,6 +50,6 @@ import * as i0 from '@angular/core'; | ||
trackPage(path) { | ||
this.trackEvent('PageView', { path }); | ||
this.trackEvent('Page View', { path }); | ||
} | ||
trackEvent(action, value) { | ||
window._learnq.push([action, value]); | ||
window._learnq.push(['track', action, value]); | ||
} | ||
@@ -56,0 +56,0 @@ get publicApiKey() { |
{ | ||
"name": "@firestitch/analytics", | ||
"version": "12.2.1", | ||
"version": "12.2.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163426