Jacob Pretorius
Apr 29, 2025
  2135
(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
Hide built in scheduled job from the admin UI

Ok so this probably goes into the not so useful section but late last night I got a veery strong feeling that all projects I am  involved with have...

Per Nergård (MVP) | May 6, 2026

Optimizely SaaS CMS Developer Certification Exam

The Optimizely SaaS CMS Developer Certification is an industry-recognized credential for developers and architects who build scalable, composable...

Megha Rathore | May 5, 2026

Piwik PRO Connector for Optimizely CMS — Now on NuGet (and Yes, It Speaks Both 12 and 13)

Analytics has spent the last decade living in another tab — and what's in that tab usually isn't the full story. Between consent requirements,...

Allan Thraen | May 4, 2026 |

A First Look at Optimizely Remote MCP Server for Experimentation

Optimizely just released a Remote MCP Server for Experimentation and I've been trying it out to see what it can do. If you don't know, MCP (Model...

Jacob Pretorius | May 1, 2026