Changed functions / properties
This topic describes the functions that will need to be updated in Optimizely when updating from Optimizely Classic to Optimizely Web Experimentation (fka Optimizely X).
All of these functions require your attention when you are migrating from Optimizely Classic to Optimizely Web Experimentation:
optimizely.data.*
optimizely.data.state
optimizely.data.visitor
window["optimizely"].getAccountId();
window["optimizely"].getProjectId();
window["optimizely"].push(["activate"]);
window["optimizely"].push(["activate", experimentId]);
window["optimizely"].push(["customTag", tagKey, tagValue]);
window["optimizely"].push(["skipPageTracking"]);
window["optimizely"].push(['addToAudience', audienceId]);
window["optimizely"].push(['removeFromAudience', audienceId]);
window["optimizely"].push(['removeFromAllAudiences']);
window["optimizely"].push(['addToSegment', 'apiIdentifier', 'optionalSegmentValue']);
window["optimizely"].push(['removeFromSegment', 'apiIdentifier']);
window["optimizely"].push(['removeFromAllSegments']);
If yo are using a function in this list, please look at the function-specific section below to get more information.
Updated 4 months ago