Integrating LogRocket with Optimizely

If you are using Optimizely to run A/B tests, you can leverage the power of LogRocket to gain deeper insights into the differences between your experiment groups.

Set up your experiment and variations within Optimizely as normal. After the experiments are set up, take note of the experiment and variation IDs.

To locate the IDs, see here for more information.

Within your LogRocket.track() block, add the desired IDs as custom traits:

LogRocket.track(EXPERIMENT_NAME, {
  variantName: VARIANT_NAME,

Then, within LogRocket, you can search for custom user events and save filters to create buckets of sessions within a particular group based on experiment and variation: