Optimizely Edge Delivery extension
Optimizely enables teams to manage and optimize their digital content using experimentation features.
# How it works
After you install the Optimizely Edge Delivery extension for your team and enable it on your Netlify site, the extension automatically injects edge functions into your site during the build process. The edge function is named optimizely-edge-delivery_run-experiment
.
The edge function leverages the Optimizely Edge Delivery SDK, which allows you to run experiments at the edge without relying on a client-side script.
The Optimizely Edge Delivery SDK is in beta
Please note the Optimizely Edge Delivery SDK is currently in beta and may be subject to change.
# Before you begin
To integrate Optimizely with your Netlify site, make sure you have the following:
- an Optimizely account
- a deployed site on Netlify
# Get started with Optimizely Edge Delivery
As a Team Owner, you can install the Optimizely Edge Delivery extension for your team to use:
- Navigate to the details page.
- On the details page, select Install.
- From your team’s Sites list, select the site you plan to use with Optimizely, and navigate to .
- Select Enable and follow the prompts to configure and enable Optimizely.
- Select Save.
- Select Redeploy
The extension automatically creates site environment variables for the configuration values you provide:
NETLIFY_OPTIMIZELY_EDGE_DELIVERY_DEV_URL
NETLIFY_OPTIMIZELY_EDGE_DELIVERY_ENABLED
NETLIFY_OPTIMIZELY_EDGE_DELIVERY_SNIPPET_ID
You can review these variables at any time by navigating to
.# Modify your configuration
To update the Optimizely Edge Delivery configuration settings for your site:
- In the Netlify UI, navigate to for the site you want to edit.
- Update your configuration.
- Select Save.
- Select Redeploy
Alternatively, you can update the environment variables directly and then redeploy.
# Disable the extension on your site
To disable the Optimizely Edge Delivery extension for your site:
- In the Netlify UI, navigate to for the site you want to disable the Optimizely Edge Delivery extension.
- Select Disable.
- Redeploy your site, navigate to select Trigger deploy with the clear cache option.
Alternatively, you can remove the environment variables directly and then redeploy.
# Uninstall the extension
As a Team Owner, to uninstall the Optimizely Edge Delivery extension:
- Navigate to the details page.
- On the details page, navigate to the Danger zone section, and then select Uninstall this extension.
Did you find this doc useful?
Your feedback helps us improve our docs.