Skip to main content
menu_icon.png

Everything you need to learn Optimizely X in one place: See our resource pages for Web Experimentation and Personalization.

x
Optimizely Knowledge Base

Datafile versioning for Optimizely X Mobile and OTT projects

This article is about datafile versioning. If you're looking for details about how to access the datafile, try this article.
 
relevant products:
  • Optimizely X Mobile
  • Optimizely X OTT

THIS ARTICLE WILL HELP YOU:
  • Understand datafile versioning
  • Debug and troubleshoot an Optimizely X Mobile or OTT experiment 

To maintain backwards compatiblity with older SDK versions, Optimizely maintains multiple versions of the datafile. Datafile versioning ensures that apps that haven't been upgraded to the latest version of the SDK are still able to run experiments. For each SDK project, Optimizley uploads the datafile once per datafile version.

For example, for project ID "123," if we have 3 versions of the datafile, we will upload the following three files to the CDN:

The Optimizely X Dashboard will always show the path to the latest datafile version. In this case, that would be https://cdn.optimizely.com/public/12...tafile_v3.json.  The latest version would also be accessible at https://cdn.optimizely.com/json/123.json.

If you’re using Optimizely’s Mobile or OTT SDKs to manage synchronizing the datafile from Optimizely, you don’t need to interface with different datafile versions directly. The SDK will make sure to use older versions of the datafile for older versions of the SDK.

See additional resources
Here are all our articles about the Optimizely dashboard, which you'll use to create projects, add collaborators, manage privacy settings, and more: 

Here's our developer documentation, where you'll find code samples, full references for our SDKs, and getting started guides.