The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Fields

This topic describes the various fields in the Extension Builder that will need to be filled out for a new extension.

Once you create the extension, the Extension Builder will open. In the left sidebar, you can add optional fields. Each field defines a property that can be customized on the extension. For example, on a popup, you could provide fields to customize the message, the call to action, the width and height, and the timing of when it should appear.

Each field requires an API name, which you can use to reference the field in HTML. For example, if you create a field with the API name "height", you can reference it in HTML as {{ extension.height }} or in JS as extension.height. The Label is a human-readable name like "Popup Height", and you can add an optional Default Value like 400.

You can use the extension fields and define their behavior by using the top code boxes.


Next