During the evolution of the COVID-19 pandemic, each country has adopted different control measures to contrast the epidemic’s diffusion. Restrictions to mobility, public transport, and social life in general have been actuated to contain the spread of the pandemic. In this paper, we consider the deterministic SIRD model with delays proposed by Calleri et al., which is improved by adding the vaccinated compartment V (SIRDV model) and considering a time-dependent contact frequency. The three delays take into account the incubation time of the disease, the healing time, and the death time. The aim of this work is to study the effect of the vaccination campaigns in Great Britain (GBR) and Israel (ISR) during the pandemic period. The different restriction periods are included by fitting the contact frequency on real datasets as a piecewise constant function. As expected, the vaccination campaign reduces the amount of deaths and infected people. Furthermore, for the different levels of restriction policy, we find specific values of the contact frequency that can be used to predict the trend of the pandemic.