Follow

JavaScript snippet details

About this page

This page describes the features and specifications of the JavaScript snippet that will be copied into all pages that are part of Experiments.

Measuring visits and conversions

Insert the JavaScript snippet and start measuring visits and conversions following the Experiment goal. This works the same as analytics tools like Google Analytics, by using a web beacon(a transparent GIF image the size of 1 pixel, placed on a page to monitor visitor behavior).

To see the JS Script Connection Status, open an Experiment and select Edit Experiment. Next, select the Check List-tab and scroll down to find a table with details about the status of the JavaScript connection.

Information Kaizen Platform collects

To measure the visitor numbers and conversions, the following data is send to Kaizen Platform via the JavaScript snippet:

  • Time stamp (date and time)
  • Unique ID
    • The unique ID is a random string to identify the visitor
    • The ID has no connection with any personal information
  • Whether it is a first visit
  • Whether there is any A/B testing being done on the page
  • Implementation status of the Experiment
  • ID of the applied design Variation

The following Cookie information is stored in the browser:

  • Unique ID
  • Implementation status of the Experiment
  • ID of the applied design Variation

This Cookie is a first-party Cookie.
It has no connection outside the domain.

Working order of the JS snippet

In the Experiment process, the Kaizen Platform JavaScript snippet works in the following order.

Measuring the number of conversions

You can check if the URL you are visiting is the one set for the goal (CV.) If the URL is the one set for the goal, the goal log will be sent. At the same time, the system will check the same with information stored in Cookie and confirm if that needs to be counted as a part of CV.

More information about URLs in Experiments can be found in Including and excluding URLs.

Identifying a Goal page URL

The page the visitor is on determines whether it is part of the Experiment or not. If that page has an Experiment URL, a design Variation can be applied.

Applying a design Variation

Only when a round is active, design Variations will be shown to visitors. If it is not a first visit, the same design as the previous visit(s) will be shown.

Measuring the visits

Each visit appears in the test results. Gathered data includes the round that runs, the Variation applied, whether it is a repeating visitor, and more.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.