Skip to content

Instantly share code, notes, and snippets.

Avatar

Nik Blanchet nikolasblanchet-optimizely

View GitHub Profile
@nikolasblanchet-optimizely
nikolasblanchet-optimizely / AppDelegate.swift
Created Feb 1, 2018 — forked from mauerbac/AppDelegate.swift
Full code snippet for iOS getting started (Swift)
View AppDelegate.swift
// AppDelegate.swift
// iOS Getting Started Guide (Objective C)
//
import UIKit
import OptimizelySDKiOS
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
View Optimizely X Event API Dev Docs sample file.json
{
"account_id":"xxxx",
"project_id":"yyyy",
"visitors":[
{
"Session_id":"",
"visitor_id":"visitor_id_1",
"snapshots":[
{
"decisions":[
@nikolasblanchet-optimizely
nikolasblanchet-optimizely / Optiverse KB example datafile for account 9367106729.json
Last active Sep 18, 2017
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.
View Optiverse KB example datafile for account 9367106729.json
{
"version": "2",
"projectId": "9352942545",
"experiments": [
{
"status": "Not started",
"audienceIds": [],
"variations": [
{
"id": "6404851286",