HTTP Requests

List of all HTTP requests that are made to VWO server for various purposes.

Purpose

Endpoint

Required params

Description

Response

Get settingsFile

//dev.visualwebsiteoptimizer.com/server-side/settings

accountId
sdkKey

This is required for fetching the settingsFile required for instantiating the VWO SDK.

Status Code: 200
Response: JSON - settingsFile

If sdkKey is not valid, then

Status Code: 400
Response: JSON - {"message":"Invalid api key"}

Track visitor

//dev.visualwebsiteoptimizer.com/server-side/track-user

VWO sends the essential params like accountId, campaignId, variation assigned, current time, user ID, UUID of user, along with meta information like sdk-name, sdk-version, etc.

To send an event to VWO server to track a visitor.

Status Code: 200
Empty response

Track Conversion

//dev.visualwebsiteoptimizer.com/server-side/track-goal

VWO sends the essential params like accountId, campaignId, variation assigned, current time, user ID, UUID of user, goalId and revenue(if revenue goal), along with meta information like sdk-name, sdk-version, etc.

To send an event to VWO server to track a conversion. Various metrics are calculated and shown in campaign reports based on count of visitors and conversions.

Status Code: 200
Empty response

Custom Dimension

//dev.visualwebsiteoptimizer.com/server-side/push

VWO sends the essential params like accountId, current time, user ID, UUID of user, custom-dimension-key, custom-dimension-value, along with meta information like sdk-name, sdk-version, etc.

To categorize and differentiate user. Post-segmentation can be applied on this cutom-dimension to view segmented report data.

Batch Events

/dev.visualwebsiteoptimizer.com/server-side/batch-events

VWO SDK batches different events like track-user, track-goal, and push and sends to VWO.

VWO SDK batches different events and sends them in a single POST call.

If you enable the DEBUG or INFO logs, all such information can be seen there. Read more on how to set log level and customize the logger.


What’s Next
Did this page help you?