Skip to content

Update VWO version #817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 3, 2025
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