You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [1.19.0] - 2026-02-11
9
+
10
+
### Added
11
+
12
+
- Added support for redirecting all network calls through a custom proxy URL. This feature allows users to route all SDK network requests (settings, tracking, etc.) through their own proxy server.
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ To customize the SDK further, additional parameters can be passed to the `init()
64
64
|`accountId`| VWO Account ID for authentication. | Yes | string |`'123456'`|
65
65
|`pollInterval`| Time interval for fetching updates from VWO servers (in milliseconds). | No | integer |`60000`|
66
66
|`gatewayService`| An object representing configuration for integrating VWO Gateway Service. | No | array | see [Gateway](#gateway) section |
67
+
|`proxy`| An object representing configuration for routing all SDK network requests through a custom proxy server. | No | array | See [Proxy](#proxy) section |
67
68
|`storage`| Custom storage connector for persisting user decisions and campaign data. | No | array | See [Storage](#storage) section |
68
69
|`logger`| Toggle log levels for more insights or for debugging purposes. You can also customize your own transport in order to have better control over log messages. | No | array | See [Logger](#logger) section |
69
70
|`Integrations`| Callback function for integrating with third-party analytics services. | No | object | See [Integrations](#integrations) section |
@@ -236,6 +237,28 @@ $vwoClient = VWO::init([
236
237
237
238
Refer to the [Gateway Documentation](https://developers.vwo.com/v2/docs/gateway-service) for further details.
238
239
240
+
### Proxy
241
+
242
+
The `proxy` parameter allows you to redirect all SDK network calls through a custom proxy URL. This feature enables you to route all SDK network requests (settings, tracking, etc.) through your own proxy server, providing better control over network traffic and security.
243
+
244
+
```php
245
+
$vwoClient = VWO::init([
246
+
'sdkKey' => '32-alpha-numeric-sdk-key',
247
+
'accountId' => 123456,
248
+
'proxy' => [
249
+
'url' => 'http://custom.proxy.com',
250
+
'isUrlNotSecure' => false // be default, it should be true
251
+
],
252
+
]);
253
+
```
254
+
255
+
The `proxy` object accepts the following parameters:
|`url`| The proxy server URL to route all SDK network requests through | Yes | string |`'http://localhost:8000'`|
260
+
|`isUrlNotSecure`| Set to `true` if the proxy URL uses HTTP (not HTTPS). Defaults to `false` (HTTPS) | No | boolean |`true`|
261
+
239
262
### Synchronous network calls
240
263
241
264
Synchronous network calls differ from the default (asynchronous or fire-and-forget) tracking behavior by waiting for the tracking request to return a response from the VWO server before proceeding with the rest of your application code. By default, the SDK sends tracking network calls in a way that does not block your application, providing maximum throughput and lowest latency for user actions.
0 commit comments