Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Repository for the tutorial about A/B testing with Storyblok, Optimizely and Nuxt.

License

Notifications You must be signed in to change notification settings

GerritPlehn/optimizely-nuxt-example

Repository files navigation

This repo has moved!

You can now find the repo here: https://github.com/storyblok/optimizely-nuxt-example

Storyblok Logo

Storyblok Optimizely Nuxt Tutorial

Repository for the tutorial about A/B testing with Storyblok, Optimizely and Nuxt.

Follow @Storyblok
Follow @Storyblok

🚀 Usage

Prerequisites

This repo is making use of the structure described in our A/B Test Tutorial. Please make sure to read it carefully. The project itself is modeled after our 5 Minute Nuxt Tutorial, where we describe getting content from Storyblok, the Storyblok Bridge and dynamic components in detail. Definitely worth a read!

How to use

For evaluation, set the tokens for Storyblok and Optimizely in ./nuxt.config.js and ./components/AbTest.vue respectively. Please use environment variables for a real deployment 😉. Install the dependencies and start the dev environment

npm i
npm run dev

🔗 Related Links

  • What is A/B testing?: A fantastic article on what A/B testing is, what the process is like and how to deal with SEO.
  • Storyblok Technologies Hub: we prepared technology hubs so that you can find selected beginner tutorials, videos, boilerplates, and even cheatsheets all in one place.

Support

Contributing

Please see our contributing guidelines and our code of conduct.

License

This repository is published under the MIT license.