analytics-angular
analytics-angular copied to clipboard
The hassle-free way to integrate analytics into your Angular application.
When running ng test I get the following error on all of my spec tests: `Property 'analytics' does not exist on type 'Window & typeof globalThis'.` This is strange as...
We have implemented the Segment Snippet by importing the Segment Snippet via angular.json. ``` (!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t
The following is a screenshot from some performance analysis from an Angular app with analytics.js loaded. It appears that analytics.js is a loading a timer which triggers Angular change detection...
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade rxjs from 6.3.3 to 6.6.7. :information_source: Keep your dependencies up-to-date....
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade zone.js from 0.8.29 to 0.13.0. :information_source: Keep your dependencies up-to-date....