Skip to content

Commit 1a90b8c

Browse files
authored
Update VWO version (#817)
* update VWO version * branch vwointegration:update/vwo-smartcode-v2.1
1 parent 4278700 commit 1a90b8c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ var integrationContext = {
4747
VWO.prototype.initialize = function() {
4848
if (this.options.useAsyncSmartCode) {
4949
/* eslint-disable */
50+
var options = this.options;
5051
window._vwo_code || (function() {
51-
var account_id=this.options.accountId,
52+
var account_id=options.accountId,
5253
version=2.1,
53-
settings_tolerance=this.options.settingsTolerance,
54+
settings_tolerance=options.settingsTolerance,
5455
hide_element='body',
5556
/* The VWO SmartCode v2.1 script when it gets executed auto-detects (detecting first-contentful-paint Ref: [PerformancePaintTiming - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/PerformancePaintTiming)) if the page is already loaded then it prevents the page (body) from hiding from it. */
5657
hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;',

integrations/visual-website-optimizer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@segment/analytics.js-integration-visual-website-optimizer",
33
"description": "The Visual Website Optimizer analytics.js integration.",
4-
"version": "2.4.10",
4+
"version": "2.4.11",
55
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",

0 commit comments

Comments
 (0)