Take the community feedback survey now.

Jacob Pretorius
Apr 29, 2025
  1714
(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
Automating Cleanup Tasks with Optimizely Scheduled Jobs

Scheduled jobs in Optimizely CMS are a powerful way to automate any background tasks like content cleanup, indexing, or reporting. I created a simp...

Madhu | Nov 29, 2025 |

Implementing Custom Line Item Pricing in Optimizely Commerce 14

In many enterprise commerce implementations, business users often need the flexibility to override product pricing at the cart level - especially...

Sunil | Nov 28, 2025

Using Okta and OpenID Connect with Optimizely CMS 12

Modern CMS solutions rarely live in isolation. Your editors already log into other systems with SSO, and they expect the same from Optimizely CMS. ...

Sanjay Kumar | Nov 28, 2025

Optimizely Opal — working notes from me

A short, practical orientation I use when introducing Opal. Lately I’ve been helping customers and developers understand Opal, and I kept finding...

Pär Wissmark | Nov 26, 2025 |