Thank you for posting your question. I've never used Liferay but may be able to help. Please correct me if I'm wrong, it appears that they provide software to create an enterprise portal.
Do you know if you are able to implement the Optimizely snippet onto the pages you would like to run experiments on?
Click Here for our guide on how to find and implement the snippet.