Skip to content

Instantly share code, notes, and snippets.

@andreas-optimizely
Created September 27, 2017 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreas-optimizely/9b3cd14ff204a5e773ee0f42eb26d3c3 to your computer and use it in GitHub Desktop.
Save andreas-optimizely/9b3cd14ff204a5e773ee0f42eb26d3c3 to your computer and use it in GitHub Desktop.
let OPTLY_URL = `https://cdn.optimizely.com/json/${process.env.PROJECT_ID}.json`,
optimizelyClientOb;
optimizely.initializeClient(OPTLY_URL).then((client)=>{
console.log('Intialize promise resolve');
optimizelyClient = client;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment