public function getVisitorIds($customerId)
    {
        $connection = $this->getConnection();

        $select = $connection->select()
            ->from($this->getMainTable(), ['visitor_id'])
            ->where($connection->quoteInto('customer_id = ?', $customerId));

        return array_unique($connection->fetchCol($select));
    }