Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Send events using Optimizely Web Experimentation

This topic describes how to send data to Optimizely using Optimizely Web Experimentation.

Optimizely Web Experimentation is a platform that lets you experiment through A/B or multi-variant testing on your web pages. Implementation is as simple as pasting the Optimizely Web Experimentation snippet on the pages where you want to send your event data to Optimizely.

First, implement the Optimizely Web Experimentation snippet on your web page. Then, you can create the following events:

  • Click events – Capture visitor clicks on elements like buttons or offers.
  • Pageview events – Capture visitor web page views. Pageview events are automatically captured for any page where you set up the snippet.
  • Custom events – With the help of the Optimizely Web JavaScript API, you can track any additional information about visitor behaviors like video views, scroll-dept,h or form-fills.

The instructions in the end-user documentation, Set up events in Optimizely Web Experimentation, provide step-by-step instructions on how to set up events mentioned earlier.

When you have implemented events in Optimizely Web Experimentation, they are always on. An event will begin sending data when it is set up, even if you do not have any active running experiments. You can view the results of your events on the Results page.