This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch refacto-control-group-usage
in repository https://gitbox.apache.org/repos/asf/unomi-tracker.git
The following commit(s) were added to refs/heads/refacto-control-group-usage by
this push:
new e420957 UNOMI-713: update control group usage by using new
personalizationResults
e420957 is described below
commit e4209570a29675462ec5a47a467114a7f93c0529
Author: Kevan <[email protected]>
AuthorDate: Thu Nov 10 17:05:45 2022 +0100
UNOMI-713: update control group usage by using new personalizationResults
---
dist/apache-unomi-tracker.cjs.js | 2 +-
dist/apache-unomi-tracker.cjs.js.map | 2 +-
dist/apache-unomi-tracker.esm.js | 2 +-
dist/apache-unomi-tracker.esm.js.map | 2 +-
dist/apache-unomi-tracker.umd.js | 2 +-
dist/apache-unomi-tracker.umd.js.map | 2 +-
src/apache-unomi-tracker.js | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dist/apache-unomi-tracker.cjs.js b/dist/apache-unomi-tracker.cjs.js
index 6518064..3cc1855 100644
--- a/dist/apache-unomi-tracker.cjs.js
+++ b/dist/apache-unomi-tracker.cjs.js
@@ -1279,7 +1279,7 @@ var newTracker = function newTracker() {
for (var j = 0; j < wem.digitalData.personalizationCallback.length;
j++) {
if (wem.cxs.personalizationResults) {
// Since Unomi 2.1.0 personalization results are available with
more infos
- var personalizationResult =
wem.cxs.personalizations[wem.digitalData.personalizationCallback[j].personalization.id];
+ var personalizationResult =
wem.cxs.personalizationResults[wem.digitalData.personalizationCallback[j].personalization.id];
wem.digitalData.personalizationCallback[j].callback(personalizationResult.contentIds,
personalizationResult.additionalResultInfos);
} else {
// probably a version older than Unomi 2.1.0, fallback to old
personalization results
diff --git a/dist/apache-unomi-tracker.cjs.js.map
b/dist/apache-unomi-tracker.cjs.js.map
index 9c1c4d4..7e7b459 100644
--- a/dist/apache-unomi-tracker.cjs.js.map
+++ b/dist/apache-unomi-tracker.cjs.js.map
@@ -1 +1 @@
-{"version":3,"file":"apache-unomi-tracker.cjs.js","sources":["../src/apache-unomi-tracker.js","../src/index.js"],"sourcesContent":["/*\n
* Licensed to the Apache Software Foundation (ASF) under one or more\n *
contributor license agreements. See the NOTICE file distributed with\n * this
work for additional information regarding copyright ownership.\n * The ASF
licenses this file to You under the Apache License, Version 2.0\n * (the
\"License\"); you may not use this file except in compl [...]
\ No newline at end of file
+{"version":3,"file":"apache-unomi-tracker.cjs.js","sources":["../src/apache-unomi-tracker.js","../src/index.js"],"sourcesContent":["/*\n
* Licensed to the Apache Software Foundation (ASF) under one or more\n *
contributor license agreements. See the NOTICE file distributed with\n * this
work for additional information regarding copyright ownership.\n * The ASF
licenses this file to You under the Apache License, Version 2.0\n * (the
\"License\"); you may not use this file except in compl [...]
\ No newline at end of file
diff --git a/dist/apache-unomi-tracker.esm.js b/dist/apache-unomi-tracker.esm.js
index f8ae5a3..626a767 100644
--- a/dist/apache-unomi-tracker.esm.js
+++ b/dist/apache-unomi-tracker.esm.js
@@ -1271,7 +1271,7 @@ var newTracker = function newTracker() {
for (var j = 0; j < wem.digitalData.personalizationCallback.length;
j++) {
if (wem.cxs.personalizationResults) {
// Since Unomi 2.1.0 personalization results are available with
more infos
- var personalizationResult =
wem.cxs.personalizations[wem.digitalData.personalizationCallback[j].personalization.id];
+ var personalizationResult =
wem.cxs.personalizationResults[wem.digitalData.personalizationCallback[j].personalization.id];
wem.digitalData.personalizationCallback[j].callback(personalizationResult.contentIds,
personalizationResult.additionalResultInfos);
} else {
// probably a version older than Unomi 2.1.0, fallback to old
personalization results
diff --git a/dist/apache-unomi-tracker.esm.js.map
b/dist/apache-unomi-tracker.esm.js.map
index ee8a89c..d55132d 100644
--- a/dist/apache-unomi-tracker.esm.js.map
+++ b/dist/apache-unomi-tracker.esm.js.map
@@ -1 +1 @@
-{"version":3,"file":"apache-unomi-tracker.esm.js","sources":["../src/apache-unomi-tracker.js","../src/index.js"],"sourcesContent":["/*\n
* Licensed to the Apache Software Foundation (ASF) under one or more\n *
contributor license agreements. See the NOTICE file distributed with\n * this
work for additional information regarding copyright ownership.\n * The ASF
licenses this file to You under the Apache License, Version 2.0\n * (the
\"License\"); you may not use this file except in compl [...]
\ No newline at end of file
+{"version":3,"file":"apache-unomi-tracker.esm.js","sources":["../src/apache-unomi-tracker.js","../src/index.js"],"sourcesContent":["/*\n
* Licensed to the Apache Software Foundation (ASF) under one or more\n *
contributor license agreements. See the NOTICE file distributed with\n * this
work for additional information regarding copyright ownership.\n * The ASF
licenses this file to You under the Apache License, Version 2.0\n * (the
\"License\"); you may not use this file except in compl [...]
\ No newline at end of file
diff --git a/dist/apache-unomi-tracker.umd.js b/dist/apache-unomi-tracker.umd.js
index ddb457f..e601cdd 100644
--- a/dist/apache-unomi-tracker.umd.js
+++ b/dist/apache-unomi-tracker.umd.js
@@ -2926,7 +2926,7 @@
for (var j = 0; j <
wem.digitalData.personalizationCallback.length; j++) {
if (wem.cxs.personalizationResults) {
// Since Unomi 2.1.0 personalization results are available
with more infos
- var personalizationResult =
wem.cxs.personalizations[wem.digitalData.personalizationCallback[j].personalization.id];
+ var personalizationResult =
wem.cxs.personalizationResults[wem.digitalData.personalizationCallback[j].personalization.id];
wem.digitalData.personalizationCallback[j].callback(personalizationResult.contentIds,
personalizationResult.additionalResultInfos);
} else {
// probably a version older than Unomi 2.1.0, fallback to old
personalization results
diff --git a/dist/apache-unomi-tracker.umd.js.map
b/dist/apache-unomi-tracker.umd.js.map
index 7b99cc0..3005aa3 100644
--- a/dist/apache-unomi-tracker.umd.js.map
+++ b/dist/apache-unomi-tracker.umd.js.map
@@ -1 +1 @@
-{"version":3,"file":"apache-unomi-tracker.umd.js","sources":["../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/es6-crawler-detect/src/lib/crawler/provider.js","../node_modules/es6-crawler-detect/src/lib/crawler/crawlers.js","../node_modules/es6-crawler-detect/src/lib/crawler/exclusions.js","../node_modules/es6-crawler-detect/src/lib/crawler/headers.js","../node_modules/es6-crawler-detect/src/lib/crawler.js","../node_modules/es6-crawler-detect/src/index.js","../src/a
[...]
\ No newline at end of file
+{"version":3,"file":"apache-unomi-tracker.umd.js","sources":["../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/es6-crawler-detect/src/lib/crawler/provider.js","../node_modules/es6-crawler-detect/src/lib/crawler/crawlers.js","../node_modules/es6-crawler-detect/src/lib/crawler/exclusions.js","../node_modules/es6-crawler-detect/src/lib/crawler/headers.js","../node_modules/es6-crawler-detect/src/lib/crawler.js","../node_modules/es6-crawler-detect/src/index.js","../src/a
[...]
\ No newline at end of file
diff --git a/src/apache-unomi-tracker.js b/src/apache-unomi-tracker.js
index 2515fcf..95f1513 100644
--- a/src/apache-unomi-tracker.js
+++ b/src/apache-unomi-tracker.js
@@ -1143,7 +1143,7 @@ export const newTracker = () => {
for (var j = 0; j <
wem.digitalData.personalizationCallback.length; j++) {
if (wem.cxs.personalizationResults) {
// Since Unomi 2.1.0 personalization results are
available with more infos
- var personalizationResult =
wem.cxs.personalizations[wem.digitalData.personalizationCallback[j].personalization.id];
+ var personalizationResult =
wem.cxs.personalizationResults[wem.digitalData.personalizationCallback[j].personalization.id];
wem.digitalData.personalizationCallback[j].callback(personalizationResult.contentIds,
personalizationResult.additionalResultInfos);
} else {
// probably a version older than Unomi 2.1.0,
fallback to old personalization results