A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Jacob Pretorius
Apr 29, 2025
  1740
(6 votes)

Notes on Optimizely Self-Optimizing Block

While the free A/B Testing might be dead, the Self-Optimizing Block is still alive and kicking. Here's some notes for those debugging it.

 

Installation

You can install the self-optimising block with the non-obvious package name `EPiServer.Cms.AddOns.Blocks` from https://nuget.optimizely.com/package/?id=EPiServer.Cms.AddOns.Blocks 

Ensure you have `app.UseSessions()` in your `Startup.cs` (thanks Arjan!)

You will then be able to create instances of "Self Optimizing Block" using the CMS.

 

Missing renderer

If for some reason you have a block called "OptimizingBlock" in your CMS it likely means the "Self Optimizing Block" package is no longer installed. You can verify this by going to the CMS admin > Content Types and searching for it to see if it is From code: No

If you install the package it should spring back to action and restore itself as "Self Optimizing Block".

 

Apr 29, 2025

Comments

Please login to comment.
Latest blogs
CMS Audiences - check all usage

Sometimes you want to check if an Audience from your CMS (former Visitor Group) has been used by which page(and which version of that page) Then yo...

Tuan Anh Hoang | Dec 12, 2025

Data Imports in Optimizely: Part 2 - Query data efficiently

One of the more time consuming parts of an import is looking up data to update. Naively, it is possible to use the PageCriteriaQueryService to quer...

Matt FitzGerald-Chamberlain | Dec 11, 2025 |

Beginner's Guide for Optimizely Backend Developers

Developing with Optimizely (formerly Episerver) requires more than just technical know‑how. It’s about respecting the editor’s perspective, ensurin...

MilosR | Dec 10, 2025

Optimizely PaaS Administrator Certification : Free for Everyone

Optimizely has recently launched a free PaaS Administrator Certification. https://academy.optimizely.com/student/activity/2958208-paas-cms-administ...

Madhu | Dec 9, 2025 |