public function push($key, $value = null)
    {
        $pushItem = new DataLayer();
        $pushItem->set($key, $value);
        $this->pushDataLayer->push($pushItem);
    }
public function push($key, $value = null)
    {
        $pushItem = new DataLayer();
        $pushItem->set($key, $value);
        $this->pushDataLayer->push($pushItem);
    }
public function push ( $ key , $ value = null ) { $ pushItem = new DataLayer ( ) ; $ pushItem -> set ( $ key , $ value ) ; $ this -> pushDataLayer -> push ( $ pushItem ) ; }
Add data to be pushed to the data layer.

@param array|string $key
@param mixed        $value
Add data to be pushed to the data layer .