Reducing weight of Project Code
Solved! Go to Solution.
Just make sure you have the right snippets included on the correct pages.
I've just found out that it's far from it now though - so I won't have to do it yet!
If you are already loading jQuery on your page, then there is no need to load it in the Optimizely snippet. If you remove jQuery from the snippet, it will reduce the snippet size by a significant amount. Find more info here: https://help.optimizely.com/hc/en-us/articles/202480860#jquery_settings
Another suggestion is to archive all of the experiments that you are no longer using so the experiment logic is removed from the snippet.
You typically only want to separate your experiements into different projects if they experiements belong to very different properties - ie a QA site vs production. Otherwise, it will be confusing and difficult to run experiments across your site due to different snippets.