When I’m working on setting up Google Analytics experiments on my page, I found that the experiment code and the Google Analytics code are needed on the Original Page and Change Page page.
During setup, I found that for the experiments, we need the Google Analytics code and the Google Experiment code on the page. As below:

Here is the question:
My Google Analytics is configured through Google Tag Manager (Google Tag Manager has a nice user interface that allows me to set up my entire GA account and Custome Dimension). Therefore, I do not need to write GA code on the test page. And I know that Google Experiments cannot run in Google Tag Manager.
There is no GA code on my test page since GTM already does this.
How to set up experiments if my GA is configured in GTM?
or
Can Google experiments only work on a page with GA code inside?
source
share