Skip to content

Commit 8ea51e1

Browse files
vwointegrationRohit Tyagi
andauthored
feat: add experiment name to VWO tracking data (#829)
Co-authored-by: Rohit Tyagi <rohittyagi@WINDELLAP-1217.local>
1 parent 2470fd9 commit 8ea51e1

File tree

1 file changed

+2
-0
lines changed
  • integrations/visual-website-optimizer/lib

1 file changed

+2
-0
lines changed

integrations/visual-website-optimizer/lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,11 @@ VWO.prototype.roots = function() {
124124
rootExperiments(function(err, data) {
125125
each(data, function(experimentId, variationName) {
126126
var uuid = window.VWO.data.vin.uuid;
127+
var experimentName = window._vwo_exp[experimentId].name;
127128
var props = {
128129
experimentId: experimentId,
129130
variationName: variationName,
131+
experimentName: experimentName,
130132
vwoUserId: uuid
131133
};
132134

0 commit comments

Comments
 (0)