Yii2 DataLayer helper ¶
This extension is managed to help you fulfill dataLayer variable with initial data on fly. Some Google enhanced e-commerce features are also available.
Installation ¶
Using composer ¶
Add following line in your require section:
`
"dekar91/yii2-datalayer": "@stable"
Then, register the component in your application config:
'dataLayer' => [
'class' => 'dekar91\datalayer\DataLayer',
],
##Configuration
## Usage
### Basic usage
### Enhanced e-commerce
### User-defined senders