| 1 |
=== Visual Website Optimizer === |
| 2 |
Contributors: vwointegrations |
| 3 |
Plugin Name: VWO |
| 4 |
Plugin URI: https://vwo.com/ |
| 5 |
Tags: vwo, a/b testing, wordpress optimization, woocommerce tracking, split testing |
| 6 |
Requires at least: 2.7 |
| 7 |
Tested up to: 6.9 |
| 8 |
Stable tag: 4.10 |
| 9 |
License: GPLv2 or later |
| 10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 |
|
| 12 |
VWO is the all-in-one platform that helps you conduct visitor research, build an optimization roadmap, and run continuous experimentation. |
| 13 |
|
| 14 |
== Description == |
| 15 |
|
| 16 |
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. |
| 17 |
|
| 18 |
=== Key Features === |
| 19 |
* Easy VWO SmartCode integration |
| 20 |
* Automatic WooCommerce event tracking |
| 21 |
* Event-level data passed to VWO for advanced reporting |
| 22 |
* Support for asynchronous and synchronous SmartCode types |
| 23 |
* Optional server-side tracking for more accurate analytics |
| 24 |
* Works seamlessly with WooCommerce |
| 25 |
|
| 26 |
== Installation == |
| 27 |
|
| 28 |
1. Log in to your WordPress dashboard. |
| 29 |
2. Navigate to Plugins > Add New. |
| 30 |
3. Click "Upload Plugin" and select the plugin ZIP file. |
| 31 |
4. Click "Install Now", then "Activate". |
| 32 |
5. Go to **Settings > VWO** to configure your plugin. |
| 33 |
|
| 34 |
== Frequently Asked Questions == |
| 35 |
|
| 36 |
= What is my VWO Account ID? = |
| 37 |
You can find your VWO Account ID in your VWO dashboard under Account Settings. |
| 38 |
|
| 39 |
= Does this plugin support server-side tracking? = |
| 40 |
Yes, server-side tracking is available and can be enabled in the WooCommerce tab of the plugin settings. |
| 41 |
|
| 42 |
= What WooCommerce events are tracked automatically? = |
| 43 |
- Product Viewed |
| 44 |
- Add to Cart |
| 45 |
- Remove from Cart |
| 46 |
- Purchase (Order Completed) |
| 47 |
|
| 48 |
== Frequently Asked Questions == |
| 49 |
= I can't see any code added to my header or footer when I view my page source = |
| 50 |
Your theme needs to have the header and footer actions in place before the `</head>` and before the `</body>` |
| 51 |
|
| 52 |
= If I use this plugin, do I need to enter any other code on my website? = |
| 53 |
No, this plugin is sufficient by itself |
| 54 |
|
| 55 |
== Screenshots == |
| 56 |
1. General Settings |
| 57 |
2. Advanced Settings |
| 58 |
3. WooCommerce Settings |
| 59 |
|
| 60 |
== Configuration and Setup == |
| 61 |
|
| 62 |
=== Configuring General Settings === |
| 63 |
1. Go to **Settings > VWO**. |
| 64 |
2. Enter your VWO Account ID. |
| 65 |
3. Choose your preferred code type: |
| 66 |
- **Asynchronous (Recommended)**: Loads faster, doesn't block elements. |
| 67 |
- **Synchronous**: Not recommended for performance reasons. |
| 68 |
4. Click **Save Changes**. |
| 69 |
|
| 70 |
=== Configuring WooCommerce Settings === |
| 71 |
1. Open the **WooCommerce** tab in the VWO settings. |
| 72 |
2. Enable WooCommerce Event Tracking. |
| 73 |
3. Enable the specific events you want to track: |
| 74 |
- Product Viewed |
| 75 |
- Add to Cart |
| 76 |
- Product Removed From Cart |
| 77 |
- Purchase Order |
| 78 |
4. Click **Save Changes**. |
| 79 |
|
| 80 |
=== Configuring Server-Side Tracking (Optional) === |
| 81 |
1. Enable **Server-Side Tracking** from the WooCommerce tab. |
| 82 |
2. Click **Save Changes**. |
| 83 |
|
| 84 |
=== Verifying Event Tracking in VWO === |
| 85 |
1. Log in to your VWO account. |
| 86 |
2. Go to **Data360 > Events**. |
| 87 |
3. Perform sample actions on your WooCommerce store. |
| 88 |
4. Check the events list in Data360. |
| 89 |
5. Register any events listed under “Unregistered Events”. |
| 90 |
|
| 91 |
== WooCommerce Events Imported Into VWO == |
| 92 |
|
| 93 |
=== Product Viewed === |
| 94 |
- **Event API Name**: `woocommerce.productViewed` |
| 95 |
- Payload: |
| 96 |
- price, currency, productId, productTitle, productUrl, productCategory, productSku, quantity, variantId |
| 97 |
|
| 98 |
=== Add To Cart === |
| 99 |
- **Event API Name**: `woocommerce.addToCart` |
| 100 |
- Payload: |
| 101 |
- price, currency, productId, productTitle, productUrl, productCategory, productSku, quantity, variantId |
| 102 |
|
| 103 |
=== Remove from Cart === |
| 104 |
- **Event API Name**: `woocommerce.removeFromCart` |
| 105 |
- Payload: |
| 106 |
- price, currency, productId, productTitle, productUrl, productCategory, productSku, quantity, variantId |
| 107 |
|
| 108 |
=== Purchase === |
| 109 |
- **Event API Name**: `woocommerce.purchase` |
| 110 |
- Payload: |
| 111 |
- orderId, productId, productSku, productPrice, productQuantity, discount, shippingPrice, totalTax, totalPrice, currencyCode |
| 112 |
|
| 113 |
== Upgrade Notice == |
| 114 |
= 4.10 = |
| 115 |
VWO scripts are now always excluded from Jetpack Boost’s script deferral. |
| 116 |
|
| 117 |
= 4.9 = |
| 118 |
VWO SmartCode 2.2 updated with improved performance and reliability. |
| 119 |
|
| 120 |
= 4.8 = |
| 121 |
Major update: New settings UI, WooCommerce support added, and multiple bug fixes. Upgrade recommended for improved tracking and compatibility. |
| 122 |
|
| 123 |
== Changelog == |
| 124 |
= 4.10 = |
| 125 |
* VWO scripts are now always excluded from Jetpack Boost’s script deferral. |
| 126 |
|
| 127 |
= 4.9 = |
| 128 |
* VWO SmartCode 2.2 updated |
| 129 |
* Improved SmartCode performance and reliability |
| 130 |
|
| 131 |
= 4.8 = |
| 132 |
Major update: New settings UI, WooCommerce support added, and multiple bug fixes. Upgrade recommended for improved tracking and compatibility. |
| 133 |
|
| 134 |
= 4.7 = |
| 135 |
* Minor bug fix |
| 136 |
|
| 137 |
= 4.6 = |
| 138 |
* Revamped plugin settings UI for improved usability. |
| 139 |
* Added support for WooCommerce event tracking (Product Viewed, Add to Cart, Purchase, etc.). |
| 140 |
* Optional server-side tracking for WooCommerce events added. |
| 141 |
* Multiple bug fixes and performance improvements. |
| 142 |
|
| 143 |
= 4.5 = |
| 144 |
* Tested with latest version |
| 145 |
* VWO SmartCode 2.1 updated |
| 146 |
|
| 147 |
= 4.4 = |
| 148 |
* Tested with latest version |
| 149 |
* Minor bug fix |
| 150 |
|
| 151 |
= 4.3 = |
| 152 |
* Minor bug fix |
| 153 |
|
| 154 |
= 4.2 = |
| 155 |
* Tested with latest version |
| 156 |
* VWO SmartCode 2.1 updated |
| 157 |
|
| 158 |
= 4.1 = |
| 159 |
* Tested with latest version |
| 160 |
* PHPCS Errors resolved |
| 161 |
* WP Rocket support added |
| 162 |
|
| 163 |
= 4.0 = |
| 164 |
* Tested with latest version |
| 165 |
* VWO SmartCode updated |
| 166 |
|
| 167 |
= 3.9 = |
| 168 |
* Tested with latest version |
| 169 |
* Code improvement and add Rocket loader handling |
| 170 |
|
| 171 |
= 3.8 = |
| 172 |
* Tested with latest version |
| 173 |
* Fix WP Rocket Issue |
| 174 |
|
| 175 |
= 3.7 = |
| 176 |
* Tested with latest version |
| 177 |
* Fix Divi Frontend Editor Issue |
| 178 |
|
| 179 |
= 3.6 = |
| 180 |
* Tested with latest version |
| 181 |
|
| 182 |
= 3.5 = |
| 183 |
* Tested with latest version |
| 184 |
* Rename label "Handle Rocket Loader Issue" to "Skip Deferred Execution" |
| 185 |
* Set field default value of "Skip Deferred Execution" to "yes" |
| 186 |
|
| 187 |
= 3.4 = |
| 188 |
* Tested with latest version |
| 189 |
* Code improvement and add Rocket loader handling |
| 190 |
|
| 191 |
= 3.3 = |
| 192 |
* Tested with latest version |
| 193 |
* Add new options in settings |
| 194 |
|
| 195 |
= 3.2 = |
| 196 |
* Tested with latest version |
| 197 |
|
| 198 |
= 3.1 = |
| 199 |
* Add Setting link in plugin listing page |
| 200 |
|
| 201 |
= 3.0 = |
| 202 |
* Update Logo and links |
| 203 |
|
| 204 |
= 2.9 = |
| 205 |
* Tested with latest version |
| 206 |
|
| 207 |
= 2.8 = |
| 208 |
* Tested with latest version |
| 209 |
|
| 210 |
= 2.7 = |
| 211 |
* Update Plugin Name, Author and Description |
| 212 |
|
| 213 |
= 2.6 = |
| 214 |
* Remove Conflict Errors |
| 215 |
|
| 216 |
= 2.5 = |
| 217 |
* Update tested upto version |
| 218 |
|
| 219 |
= 2.4 = |
| 220 |
* Update links |
| 221 |
|
| 222 |
= 2.3 = |
| 223 |
* Minor bug fix |
| 224 |
|
| 225 |
= 2.2 = |
| 226 |
* Bug fix to have default tolerance values when plugin is updated |
| 227 |
|
| 228 |
= 2.1 = |
| 229 |
* Better documentation |
| 230 |
|
| 231 |
= 2.0 = |
| 232 |
* Option to choose between asynchronous or synchronous code |
| 233 |
* Updated code snippet |
| 234 |
* Faster website loading |
| 235 |
|
| 236 |
= 1.3 = |
| 237 |
* code snippet updated |
| 238 |
|
| 239 |
= 1.0.1 = |
| 240 |
* use Website instead of Web in name of functions and readme (branding) |
| 241 |
|
| 242 |
= 1.0 = |
| 243 |
* First Version |
| 244 |
|
| 245 |
|