I utilized the following link https://github.com/revolunet/angular-google-analytics to incorporate Google Analytics into my AngularJS 1.5 project. However, I'm having trouble setting the siteSpeedSampleRate. I injected the AnalyticsProvider and attempted to set the value using
AnalyticsProvider.setAccount({ tracker: UA-XXXX-12, siteSpeedSampleRate: 100 });
but it didn't work. Is there another method to achieve this?
Appreciate any help in advance.