Log in
Model

Code

Magento\GoogleOptimizer\Model\Code

What it does

This model manages Google Optimizer experiment code scripts that can be attached to products, categories, or CMS pages in Magento.

Developers use this class to save, load, and associate Google Analytics experiment tracking codes with specific store entities for A/B testing purposes.

Public Methods

  • loadByEntityIdAndType()