def METHOD_NAME(self):
    assert PageView.objects.all().count() == 0
    url = (
        reverse("analytics_api")
        + f"?project={self.project.slug}&version={self.version.slug}"
        f"&absolute_uri=https://docs.example.com"
    )
    self.client.get(url, headers={"host": self.host})
    assert PageView.objects.all().count() == 0