public function track(array $queries)
    {
        if (count($queries) == 0)
            return null;

        $data = [
            'query'     => $this->prepareQuery($queries),
            'arguments' => $this->prepareArguments($queries),
        ];

        return $this->getModel()
            ->newQuery()
            ->firstOrCreate(Arr::only($data, ['query']), $data)
            ->getKey();
    }