@capillarytech/cap-ui-utils 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GA/index.js +1 -4
- package/package.json +1 -1
package/GA/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const loadPerformanceTracking = module =>{
|
|
|
67
67
|
// Time to Interactive metric is essentially how long it takes for a user to be able to interact with your site.
|
|
68
68
|
// Time to Interactive is defined as the point at which the layout has stabilized, key webfonts are visible,
|
|
69
69
|
// and the main thread is available enough to handle user input.
|
|
70
|
-
ttiPolyfill.getFirstConsistentlyInteractive().then((tti) => {
|
|
70
|
+
ttiPolyfill.getFirstConsistentlyInteractive().then((tti = 0) => {
|
|
71
71
|
ReactGA.timing({
|
|
72
72
|
category: "Time to Interactive",
|
|
73
73
|
variable: module,
|
|
@@ -111,9 +111,6 @@ const errorTracks = () => {
|
|
|
111
111
|
const message = [
|
|
112
112
|
'Message: ' + msg,
|
|
113
113
|
'URL: ' + url,
|
|
114
|
-
'LineNo: ' + lineNo,
|
|
115
|
-
'ColumnNo: ' + columnNo,
|
|
116
|
-
'Error object: ' + JSON.stringify(error),
|
|
117
114
|
].join(' - ');
|
|
118
115
|
tracker.trackException({
|
|
119
116
|
description: message,
|