Skip to content

feat: add experiment name to VWO tracking data #829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vwointegration
Copy link

@vwointegration vwointegration commented Aug 18, 2025

What does this PR do?
This PR updates to also send the experiment name along with the existing experiment ID, variation name, and user ID.

Are there breaking changes in this PR?
No, this is a non-breaking change. Existing functionality remains the same; we are only adding an additional property (experimentName).

Testing
Testing completed successfully

  • Verified locally by running the integration and confirming that the experimentName is included in the payload sent to Segment.
  • Confirmed no regressions in the existing properties (experimentId, variationName, vwoUserId).

Any background context you want to provide?
Previously, only experiment ID, variation name, and VWO user ID were sent to Segment. Some customers requested the experiment name for easier reporting and debugging, so this enhancement adds that field.

Is there parity with the server-side/android/iOS integration components (if applicable)?
No change needed — this update is for the JavaScript integration only. (Parity can be considered for other SDKs later if required.)

Does this require a new integration setting? If so, please explain how the new setting works
No, no new settings are required. The additional property (experimentName) is included automatically in the payload.

@joe-ayoub-segment
Copy link

Hi @vwointegration thanks for the PR. This change is on our classic Integration platform, which we usually do not support.
However this seems like a minor change so we might be able to make an exception.
Can you please let me know how customers who have not asked for this change will be affected, if at all?

@vwointegration
Copy link
Author

Hi @joe-ayoub-segment,

This change will not impact any other customers. We’ve only added an extra property to the current event, and it does not affect other data. All existing customer data will continue to work as it is, with no impact on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants