Custom Scripts For Google Optimize

New Member
1 0 0


I want to use Google Optimize to split test pages.


To do that I need to insert the anti flicker snippet script above the Google Analytics script that has been modified to include a Google Optimize container.


All in the head.


Is there any way to do this without having to edit a theme.liquid or should we just jump in and do that?


I attempted to do this in as per the image below but that didn't work.


Can anyone help me sort this out?



2019-11-20_15-28-41.pngPossible way to install GA code