Pushes a custom dimension for a particular user to the VWO server. It is used for post-segmenting the data in the campaign reports.
The API method:
- Validates the parameters passed
- Sends a call to the VWO server for associating custom dimensions for the user to the same users that are part of the FullStack campaign.
The API method accepts a custom dimension key - custom_dimension_key, custom dimension value - custom_dimension_value, and user-id - user_id.
custom_dimension_key is the unique key associated with a particular custom dimension made in VWO application.
custom_dimension_value is the value you want to tag a custom dimension with.
userId is the unique id associated with the user for identification.
The custom dimension key to uniquely identify a custom dimension.
The custom dimension value for a custom dimension.
User ID, which uniquely identifies each user.
Important: This User ID must match the User ID provided to activate or getVariation API.
A boolean value based on whether the call was made to the VWO server.
If call is successfully being made to the VWO server for post-segmentation
If validation fails or call is not made
vwo_client_instance.push(custom_dimension_key, custom_dimension_value, user_id)
Updated 4 months ago