In order to run Optimize experiments, you need to add the Optimize snippet to your website. The Optimize snippet is a line of code that’s added to your existing Google Analytics tracking code. This line of code loads the specified Optimize experiment container as a Google Analytics plugin.
I didn't find the right solution from the internet.