Skip to content

Instantly share code, notes, and snippets.

View nikolasblanchet-optimizely's full-sized avatar

Nik Blanchet nikolasblanchet-optimizely

View GitHub Profile
@nikolasblanchet-optimizely
nikolasblanchet-optimizely / Optiverse KB example datafile for account 9367106729.json
Last active September 18, 2017 12:44
This JSON file is a sample used to demonstrate mapping the various IDs in a product's datafile to the IDs needed for the Optimizely X API. This Gist goes with KB article: https://help.optimizely.com/Integrate_Other_Platforms/How_to_locate_IDs_for_the_Optimizely_X_Event_API.
{
"version": "2",
"projectId": "9352942545",
"experiments": [
{
"status": "Not started",
"audienceIds": [],
"variations": [
{
"id": "6404851286",
{
"account_id":"xxxx",
"project_id":"yyyy",
"visitors":[
{
"Session_id":"",
"visitor_id":"visitor_id_1",
"snapshots":[
{
"decisions":[
@nikolasblanchet-optimizely
nikolasblanchet-optimizely / AppDelegate.swift
Created February 1, 2018 01:39 — forked from mauerbac/AppDelegate.swift
Full code snippet for iOS getting started (Swift)
// AppDelegate.swift
// iOS Getting Started Guide (Objective C)
//
import UIKit
import OptimizelySDKiOS
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {