Magento Open Source 2.2.x
Google Content Experiments

The following example shows how to set up an A/B test of products, categories, or content pages using Google Analytics Content Experiments. We recommend that you keep two browser tabs open while working through the instructions, because you will need to bounce back and forth between the Magento AdminThe password-protected back office of your store where orders, catalog, content, and configurations are managed. and your Google Analytics account.

Google Content Experiments has been deprecated, and will eventually be replaced by Google Optimize.