how many visitors has view my posts and how many visitors view my site

31 views
Skip to first unread message

Xristos Xristoou

unread,
Jan 22, 2016, 10:02:46 AM1/22/16
to Django users
hello,


i want to know  how many people view my site and how many view one to one my posts specific.
my site is simple i have two templates one with all my post and one with post details.
but i dont know how to do that i am new in django.


the start is to add a new field in my class

view = models.IntegerField(default=0)

any idea ?any documentation to help me ?

Lucas Magnum

unread,
Jan 22, 2016, 11:09:34 AM1/22/16
to django...@googlegroups.com
Thought about using Google Analytics for that?

[]'s

Lucas Magnum.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/50bcbc55-107b-4fec-b67b-9217aec5082d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Chimeno

unread,
Jan 22, 2016, 11:33:28 AM1/22/16
to Django users
I would say the same, use Google Analytics or another platform like Piwik

Xristos Xristoou

unread,
Jan 22, 2016, 12:10:33 PM1/22/16
to Django users
but i can the show how many people to view in my html template ?
Reply all
Reply to author
Forward
0 new messages