Title: Visual Website Optimizer
Author: VWO
Published: <strong>March 18, 2010</strong>
Last modified: April 1, 2026

---

Search plugins

![](https://ps.w.org/visual-web-optimizer/assets/icon.svg?rev=2079674)

# Visual Website Optimizer

 By [VWO](https://profiles.wordpress.org/vwointegrations/)

[Download](https://downloads.wordpress.org/plugin/visual-web-optimizer.4.13.zip)

 * [Details](https://twd.wordpress.org/plugins/visual-web-optimizer/#description)
 * [Reviews](https://twd.wordpress.org/plugins/visual-web-optimizer/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/visual-web-optimizer/#installation)
 * [Development](https://twd.wordpress.org/plugins/visual-web-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/visual-web-optimizer/)

## Description

This plugin simplifies the process of adding the VWO SmartCode to your WordPress
site and enables automatic tracking of WooCommerce events like product views, add-
to-cart actions, and completed purchases. It also offers optional server-side tracking
to bypass client-side blockers and improve event reliability.

### Key Features

 * Easy VWO SmartCode integration
 * Automatic WooCommerce event tracking
 * Event-level data passed to VWO for advanced reporting
 * Support for asynchronous and synchronous SmartCode types
 * Optional server-side tracking for more accurate analytics
 * Works seamlessly with WooCommerce

### Configuration and Setup

### Configuring General Settings

 1. Go to **Settings > VWO**.
 2. Enter your VWO Account ID.
 3. Choose your preferred code type:
 4.  * **Asynchronous (Recommended)**: Loads faster, doesn’t block elements.
     * **Synchronous**: Not recommended for performance reasons.
 5. Click **Save Changes**.

### Configuring WooCommerce Settings

 1. Open the **WooCommerce** tab in the VWO settings.
 2. Enable WooCommerce Event Tracking.
 3. Enable the specific events you want to track:
 4.  * Product Viewed
     * Add to Cart
     * Product Removed From Cart
     * Purchase Order
 5. Click **Save Changes**.

### Configuring Server-Side Tracking (Optional)

 1. Enable **Server-Side Tracking** from the WooCommerce tab.
 2. Click **Save Changes**.

### Verifying Event Tracking in VWO

 1. Log in to your VWO account.
 2. Go to **Data360 > Events**.
 3. Perform sample actions on your WooCommerce store.
 4. Check the events list in Data360.
 5. Register any events listed under “Unregistered Events”.

### WooCommerce Events Imported Into VWO

### Product Viewed

 * **Event API Name**: `woocommerce.productViewed`
 * Payload:
    - price, currency, productId, productTitle, productUrl, productCategory, productSku,
      quantity, variantId

### Add To Cart

 * **Event API Name**: `woocommerce.addToCart`
 * Payload:
    - price, currency, productId, productTitle, productUrl, productCategory, productSku,
      quantity, variantId

### Remove from Cart

 * **Event API Name**: `woocommerce.removeFromCart`
 * Payload:
    - price, currency, productId, productTitle, productUrl, productCategory, productSku,
      quantity, variantId

### Purchase

 * **Event API Name**: `woocommerce.purchase`
 * Payload:
    - orderId, productId, productSku, productPrice, productQuantity, discount, shippingPrice,
      totalTax, totalPrice, currencyCode

## Screenshots

 * [[
 * General Settings
 * [[
 * Advanced Settings
 * [[
 * WooCommerce Settings

## Installation

 1. Log in to your WordPress dashboard.
 2. Navigate to Plugins > Add New.
 3. Click “Upload Plugin” and select the plugin ZIP file.
 4. Click “Install Now”, then “Activate”.
 5. Go to **Settings > VWO** to configure your plugin.

## FAQ

### What is my VWO Account ID?

You can find your VWO Account ID in your VWO dashboard under Account Settings.

### Does this plugin support server-side tracking?

Yes, server-side tracking is available and can be enabled in the WooCommerce tab
of the plugin settings.

### What WooCommerce events are tracked automatically?

 * Product Viewed
 * Add to Cart
 * Remove from Cart
 * Purchase (Order Completed)= I can’t see any code added to my header or footer
   when I view my page source =
    Your theme needs to have the header and footer 
   actions in place before the `</head>` and before the `</body>`

### If I use this plugin, do I need to enter any other code on my website?

No, this plugin is sufficient by itself

## Reviews

![](https://secure.gravatar.com/avatar/8fcae53420938bbee9014264de0408af9257b538c42191420134570caf2803bf?
s=60&d=retro&r=g)

### 󠀁[Great Experience](https://wordpress.org/support/topic/great-experience-41/)󠁿

 [ameeykumar](https://profiles.wordpress.org/ameeykumar/) May 3, 2019

Great Experience working with the latest version of the plugin. Thanks!

![](https://secure.gravatar.com/avatar/19c1a1fa01710afcce4cf56433a4c8b12a3c183287e1ffdd1e06bef008a8be04?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work with WP 4.9.10](https://wordpress.org/support/topic/doesnt-work-with-wp-4-9-10/)󠁿

 [Nikola Dimitrijević](https://profiles.wordpress.org/bukizvanipera/) March 28, 
2019 1 reply

After activation there is no “Settings” link

 [ Read all 6 reviews ](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/)

## Contributors & Developers

“Visual Website Optimizer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ VWO ](https://profiles.wordpress.org/vwointegrations/)

[Translate “Visual Website Optimizer” into your language.](https://translate.wordpress.org/projects/wp-plugins/visual-web-optimizer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/visual-web-optimizer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/visual-web-optimizer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/visual-web-optimizer/)
by [RSS](https://plugins.trac.wordpress.org/log/visual-web-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 4.13

 * Version upgrade

#### 4.12

 * Fixed the synchronous script tag attribute to support the preview debugger.

#### 4.11

 * Fixed the synchronous script tag attribute to support the preview debugger.

#### 4.10

 * VWO scripts are now always excluded from Jetpack Boost’s script deferral.

#### 4.9

 * VWO SmartCode 2.2 updated
 * Improved SmartCode performance and reliability

#### 4.8

Major update: New settings UI, WooCommerce support added, and multiple bug fixes.
Upgrade recommended for improved tracking and compatibility.

#### 4.7

 * Minor bug fix

#### 4.6

 * Revamped plugin settings UI for improved usability.
 * Added support for WooCommerce event tracking (Product Viewed, Add to Cart, Purchase,
   etc.).
 * Optional server-side tracking for WooCommerce events added.
 * Multiple bug fixes and performance improvements.

#### 4.5

 * Tested with latest version
 * VWO SmartCode 2.1 updated

#### 4.4

 * Tested with latest version
 * Minor bug fix

#### 4.3

 * Minor bug fix

#### 4.2

 * Tested with latest version
 * VWO SmartCode 2.1 updated

#### 4.1

 * Tested with latest version
 * PHPCS Errors resolved
 * WP Rocket support added

#### 4.0

 * Tested with latest version
 * VWO SmartCode updated

#### 3.9

 * Tested with latest version
 * Code improvement and add Rocket loader handling

#### 3.8

 * Tested with latest version
 * Fix WP Rocket Issue

#### 3.7

 * Tested with latest version
 * Fix Divi Frontend Editor Issue

#### 3.6

 * Tested with latest version

#### 3.5

 * Tested with latest version
 * Rename label “Handle Rocket Loader Issue” to “Skip Deferred Execution”
 * Set field default value of “Skip Deferred Execution” to “yes”

#### 3.4

 * Tested with latest version
 * Code improvement and add Rocket loader handling

#### 3.3

 * Tested with latest version
 * Add new options in settings

#### 3.2

 * Tested with latest version

#### 3.1

 * Add Setting link in plugin listing page

#### 3.0

 * Update Logo and links

#### 2.9

 * Tested with latest version

#### 2.8

 * Tested with latest version

#### 2.7

 * Update Plugin Name, Author and Description

#### 2.6

 * Remove Conflict Errors

#### 2.5

 * Update tested upto version

#### 2.4

 * Update links

#### 2.3

 * Minor bug fix

#### 2.2

 * Bug fix to have default tolerance values when plugin is updated

#### 2.1

 * Better documentation

#### 2.0

 * Option to choose between asynchronous or synchronous code
 * Updated code snippet
 * Faster website loading

#### 1.3

 * code snippet updated

#### 1.0.1

 * use Website instead of Web in name of functions and readme (branding)

#### 1.0

 * First Version

## Meta

 *  Version **4.13**
 *  Last updated **2 days ago**
 *  Active installations **5,000+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **6.9.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/visual-web-optimizer/)
 * Tags
 * [a b testing](https://twd.wordpress.org/plugins/tags/a-b-testing/)[split testing](https://twd.wordpress.org/plugins/tags/split-testing/)
   [vwo](https://twd.wordpress.org/plugins/tags/vwo/)[WooCommerce Tracking](https://twd.wordpress.org/plugins/tags/woocommerce-tracking/)
   [wordpress optimization](https://twd.wordpress.org/plugins/tags/wordpress-optimization/)
 *  [Advanced View](https://twd.wordpress.org/plugins/visual-web-optimizer/advanced/)

## Ratings

 3 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/visual-web-optimizer/reviews/)

## Contributors

 *   [ VWO ](https://profiles.wordpress.org/vwointegrations/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/visual-web-optimizer/)