Skip to content

unplatform-io/kontent-custom-element-sample-optimizely

Repository files navigation

Optimizely audiences selector for Kentico Kontent

Stack Overflow

This repository contains the source code for the Optimizely audiences selector custom element for Kentico Kontent.

Setup

  1. Deploy the code to a secure public host
  2. Follow the instructions in the Kentico Kontent documentation to add the element to a content model.
    • The Hosted code URL is where you deployed to in step 1
    • No JSON parameters are necessary

JSON Parameters

Our documentation provides instructions for getting the values needed below.

{
  "projectId": "<OPTIMIZELY PROJECT ID>",
  "apiToken": "<OPTIMIZELY API TOKEN>"
}

Deploying

Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your GitHub account as well.

Deploy to Netlify

Developing

This is built as a React SPA. As such, the normal React development processes apply.

After cloning the repo locally, you can get started with:

yarn install
yarn run start

When you're ready to deploy, run the yarn build command and deploy the contents of the build folder.

Contributors

Originally contributed by @kenticomartinh

Analytics

About

Optimizely audiences selector for Kentico Kontent

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •