app/code/Magento/GoogleOptimizer/README.md
This module implements functionality of Google Experiment tool that is the part of Google Analytics functionality.
Before installing this module, note that this module is dependent on the following modules:
Magento_GoogleAnalyticsMagento_CatalogMagento_CmsMagento_UiFor information about a module installation, see Enable or disable modules.
Extension developers can interact with this module. For more information about the extension mechanism, see Plugins.
The dependency injection mechanism enables you to override the functionality of this module.
This module introduces the following layouts in the view/frontend/layout and view/adminhtml/layout directories:
view/adminhtml/layout:
catalog_product_newcms_page_editview/frontend/layout:
catalog_category_viewcatalog_product_viewcms_page_viewFor more information about a layout, see the Layout documentation.
This module extends following ui components located in the view/adminhtml/ui_component directory:
category_formcms_page_formnew_category_formFor information about a UI component, see Overview of UI components.
Google Experiment (on Google side) allows to make two variants of the same page and compare their popularity. From Magento side, code generated by Google should be saved and displayed on a particular page. Google Experiment functionality is available on pages of products, categories and cms pages. This allows to save different codes for products and categories on different store views.
This functionality can be switched on and off on the configuration page (Stores -> Configuration -> General -> Google Api -> Google Analytics).
Also this functionality depends on Google Analytics module and configuration options.