Description
Note
- You need a VWO account
Adding tracking code to test pages
Add the following code snippet on all website pages. The snippet works with both Synchronous and Asynchronous code of VWO.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
! function(v, w, o) { var e = [], t = [], z = function(n, a) { a.e === n[0] && a.c.apply(this, [n]) }, u = function(n, a) { a.e && a.e !== n[1] || a.v && a.v !== n[2] || a.c.apply(this, [n]) }, c = function(n) { for (var a = 0; a < t.length; a++) z(n, t[a]); if ("rH" === n[0] || "vS" === n[0]) for (a = 0; a < e.length; a++) u(n, e[a]) }, r = w.push; w.push = function() { var n = arguments[0]; c(n), r.apply(w, [].slice.call(arguments)) }, v.onVariationApplied = function(n, t, s) { "function" == typeof n && (s = n, n = null, t = null), s = s || o; var c = { e: n, v: t, c: s }; e.push(c); for (var r = 0; r < w.length; r++)("rH" === w[r][0] || "vS" === w[r][0]) && u(w[r], c) }, v.onEventReceive = function(n, e) { e = e || o; var s = { e: n, c: e }; t.push(s); for (var c = 0; c -1) { tag.mvTesting.set({ test: '[VWO_Test_ID_' + expId + ']', creation: '[' + _vwo_exp[expId].comb_n[variationId] + ']' }); tag.dispatch(); } }]); }; window.ATInternet.Utils = window.ATInternet.Utils || { dispatchCallbackEvent: function() {} }; window.ATInternet.Utils.dispatchCallbackEvent('VWO'); })(); |
Viewing the results in the Analytics Suite 2
After adding the tracking code, check the TEST (MVTESTING) and CREATIONS (MVTESTING) dimensions. The TEST(MVTESTING) dimension will have VWO_Test_ID_# (where # is the test Id). Under the CREATIONS (MVTESTING) dimension, you will find the variation names displayed for the visitors inside the test. For example, VWO_Test_ID_24 has two variation names corresponding to it.
Locate your VWO test ID
Follow these steps to view the Test ID in the VWO dashboard:
- Select the test for which you want to view the Test Id.
- On the test details page, select Settings > Summary.
3. To view Campaign ID, go to the Other Information section of the page.
Reviews
There are no reviews yet.