This is an automated email from the ASF dual-hosted git repository.
poorejc pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git
The following commit(s) were added to refs/heads/test by this push:
new 1c6d30a [flagon-userale 58] add LogType=Raw and Type=load to PageLoad
Custom Log
1c6d30a is described below
commit 1c6d30a6f0fe5b85ca002c5367cceeded45babe9
Author: poorejc <[email protected]>
AuthorDate: Fri Mar 12 22:47:16 2021 -0500
[flagon-userale 58] add LogType=Raw and Type=load to PageLoad Custom Log
---
build/UserALEWebExtension/content.js | 6 +++++-
build/userale-2.1.1.js | 6 +++++-
build/userale-2.1.1.min.js | 2 +-
src/main.js | 6 +++++-
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/build/UserALEWebExtension/content.js
b/build/UserALEWebExtension/content.js
index 4d81fe6..0c6e317 100644
--- a/build/UserALEWebExtension/content.js
+++ b/build/UserALEWebExtension/content.js
@@ -1046,7 +1046,11 @@ function setup(config) {
attachHandlers(config);
initSender(logs, config);
started = config.on = true;
- packageCustomLog({pageLoadTime: endLoadTimestamp -
startLoadTimestamp}, () => {},false);
+ packageCustomLog({
+ type: 'load',
+ logType: 'raw',
+ pageLoadTime: endLoadTimestamp - startLoadTimestamp
+ }, () => {},false);
} else {
setup(config);
}
diff --git a/build/userale-2.1.1.js b/build/userale-2.1.1.js
index 9bf3ef3..ea5de7d 100644
--- a/build/userale-2.1.1.js
+++ b/build/userale-2.1.1.js
@@ -1061,7 +1061,11 @@
attachHandlers(config);
initSender(logs, config);
exports.started = config.on = true;
- packageCustomLog({pageLoadTime: endLoadTimestamp -
startLoadTimestamp}, () => {},false);
+ packageCustomLog({
+ type: 'load',
+ logType: 'raw',
+ pageLoadTime: endLoadTimestamp - startLoadTimestamp
+ }, () => {},false);
} else {
setup(config);
}
diff --git a/build/userale-2.1.1.min.js b/build/userale-2.1.1.min.js
index 3d2ad3d..9b6cd5b 100644
--- a/build/userale-2.1.1.min.js
+++ b/build/userale-2.1.1.min.js
@@ -15,4 +15,4 @@
* limitations under the License.
* @preserved
*/
-!function(e,n){"object"==typeof exports&&"undefined"!=typeof
module?n(exports):"function"==typeof
define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof
globalThis?globalThis:e||self).userale={})}(this,function(t){"use strict";var
e="2.1.1",r=null;function n(t,o){Object.keys(o).forEach(function(e){var
n;"userFromParams"!==e||(n=function(e){e=new
RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),e=window.location.href.match(e);return
e&&e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):null} [...]
\ No newline at end of file
+!function(e,n){"object"==typeof exports&&"undefined"!=typeof
module?n(exports):"function"==typeof
define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof
globalThis?globalThis:e||self).userale={})}(this,function(t){"use strict";var
e="2.1.1",r=null;function n(t,o){Object.keys(o).forEach(function(e){var
n;"userFromParams"!==e||(n=function(e){e=new
RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),e=window.location.href.match(e);return
e&&e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):null} [...]
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index 4cc7f37..7bd2094 100644
--- a/src/main.js
+++ b/src/main.js
@@ -67,7 +67,11 @@ function setup(config) {
attachHandlers(config);
initSender(logs, config);
started = config.on = true;
- packageCustomLog({pageLoadTime: endLoadTimestamp -
startLoadTimestamp}, () => {},false)
+ packageCustomLog({
+ type: 'load',
+ logType: 'raw',
+ pageLoadTime: endLoadTimestamp - startLoadTimestamp
+ }, () => {},false)
} else {
setup(config);
}