Modified Google Analytics code implementation

Wix has an easy way to implement Google Analytics on the website. However if someone wants to use Google Optimize the Google Analytics code is modified and cannot be added the normal way. Wix support said that Wixcode will allow me to do this and I should ask on the forum how to do it.

Can anyone explain how the modified Google Analytics code can be added to a Wix website?

Hi Ron,

Wix Code allows you to modify your site using code however directly controlling your site files and scripts is not possible.

Unfortunately at the moment it is not possible to directly modify the Google Analytics script to support Google Optimise

Ok. Thanks Ido. Let me know when it is possible please.

I also need to modify the code in order to use this tool https://www.owox.com/products/bi/pipeline/google-analytics-to-google-bigquery-streaming/. How did you progress?