Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions integrations/visual-website-optimizer/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ var integrationContext = {
VWO.prototype.initialize = function() {
if (this.options.useAsyncSmartCode) {
/* eslint-disable */
var options = this.options;
window._vwo_code || (function() {
var account_id=this.options.accountId,
var account_id=options.accountId,
version=2.1,
settings_tolerance=this.options.settingsTolerance,
settings_tolerance=options.settingsTolerance,
hide_element='body',
/* 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. */
hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;',
Expand Down
2 changes: 1 addition & 1 deletion integrations/visual-website-optimizer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@segment/analytics.js-integration-visual-website-optimizer",
"description": "The Visual Website Optimizer analytics.js integration.",
"version": "2.4.10",
"version": "2.4.11",
"keywords": [
"analytics.js",
"analytics.js-integration",
Expand Down